ComponentOption valueFieldType.disableHashCodeMethod

Added in: 4.1.0

Starting from Expanders v4.1.0, ValueFieldType pojo provides a customizable hashCode() function:

  public int hashCode() {
    int hashCode = super.hashCode();
    // anchor:custom-hashCode:start
    // anchor:custom-hashCode:end
    return hashCode;

This can create conflict with custom hashCode() method in custom-methods anchor. Such implementation should be moved to the new custom-hashCode anchor. To postpone the necessary code migration, componentOption valueFieldType.disableHashCodeMethod will disable addition of this method for all ValueFieldTypes in the given component.