Package net.bytebuddy.build
Annotation Type HashCodeAndEqualsPlugin.Identity
- Enclosing class:
HashCodeAndEqualsPlugin
@Documented
@Target(FIELD)
@Retention(RUNTIME)
public static @interface HashCodeAndEqualsPlugin.Identity
Indicates that a field should be compared by identity. Hash codes are then determined by
System.identityHashCode(Object)
. Fields that are compared by identity are implicitly null-safe.