@Documented @Target(value=TYPE) @Retention(value=RUNTIME) public static @interface HashCodeAndEqualsPlugin.Enhance
HashCodeAndEqualsPlugin to generate Object.hashCode() and Object.equals(Object) for the annotated
 class unless these methods are already declared explicitly.| Modifier and Type | Optional Element and Description | 
|---|---|
| boolean | includeSyntheticFieldsDetermines if synthetic fields should be included in the hash code and equality contract. | 
| HashCodeAndEqualsPlugin.Enhance.InvokeSuper | invokeSuperDetermines the base value of any added method, i.e. | 
| boolean | permitSubclassEqualityDetermines if instances subclasses of the instrumented type are accepted upon an equality check. | 
| boolean | simpleComparisonsFirstDetermines if fields with primitive types, then enumeration types, then primtive wrapper types and then  Stringtypes
 should be compared for equality before fields with other types. | 
public abstract HashCodeAndEqualsPlugin.Enhance.InvokeSuper invokeSuper
public abstract boolean simpleComparisonsFirst
String types
 should be compared for equality before fields with other types. Before determining such a field order,
 the HashCodeAndEqualsPlugin.Sorted property is always considered first if it is defined.true if fields with simple comparison methods should be compared first.Copyright © 2014–2019. All rights reserved.