@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 |
includeSyntheticFields
Determines if synthetic fields should be included in the hash code and equality contract.
|
HashCodeAndEqualsPlugin.Enhance.InvokeSuper |
invokeSuper
Determines the base value of any added method, i.e.
|
boolean |
permitSubclassEquality
Determines if instances subclasses of the instrumented type are accepted upon an equality check.
|
public abstract HashCodeAndEqualsPlugin.Enhance.InvokeSuper invokeSuper
Copyright © 2014–2018. All rights reserved.