@Override
    public boolean equals(Object o) {
        if (o == this) return true;
        if ( ! (o instanceof ValueWithSource)) return false;

        ValueWithSource other = (ValueWithSource)o;
        if ( ! Objects.equals(this.value, other.value)) return false;
        if ( ! Objects.equals(this.isUnoverridable, other.isUnoverridable)) return false;
        if ( ! Objects.equals(this.type, other.type)) return false;
        return true;
    }
Returns the variant having this value, or empty if it's not in a variant
container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java