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