@Override
    public int hashCode() {
        // Value is always a value object. Don't include source in identity.
        return Objects.hash(value, isUnoverridable, type);
    }
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