@Documented
@Inherited
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface UsesObjectEquals
A class may be annotated @UsesObjectEquals if neither it, nor any of its supertypes or subtypes, overrides equals. Therefore, it cannot be written on Object itself. It is most commonly written on a direct subclass of Object.
This annotation is associated with the InterningChecker
.
InterningChecker