@Override
    public boolean equals(Object obj) {
        if (!(obj instanceof SwitchExpression rhs)) return false;
        if (!cases.equals(rhs.cases)) return false;
        if (!Objects.equals(defaultExp, rhs.defaultExp)) return false;
        return true;
    }
The default expression, or null if none
indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/SwitchExpression.java