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 by System.identityHashCode(Object). Fields that are compared by identity are implicitly null-safe.