Class HashCodeAndEqualsPlugin.WithNonNullableFields

    • Constructor Detail

      • WithNonNullableFields

        public WithNonNullableFields()
        Creates a new hash code equals plugin where fields are assumed nullable by default.
      • WithNonNullableFields

        public WithNonNullableFields​(@MaybeNull
                                     java.lang.String annotationType)
        Creates a new hash code equals plugin where fields are assumed nullable by default.
        Parameters:
        annotationType - Defines the binary name of a runtime-visible annotation type that should be added to the parameter of the Object.equals(Object) method, or null if no such name should be defined.