Package net.bytebuddy.build
Annotation Type HashCodeAndEqualsPlugin.Sorted
-
@Documented @Target(FIELD) @Retention(RUNTIME) public static @interface HashCodeAndEqualsPlugin.SortedDetermines the sort order of fields for the equality check when implementing theObject.equals(Object)method. Any field that is not annotated is considered with a value ofDEFAULTwhere fields with a higher value are checked for equality first. This sort order is applied first after which the type order is considered ifHashCodeAndEqualsPlugin.Enhance.simpleComparisonsFirst()is considered as additional sort criteria.