Class BadAnnotationImplementation

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.BadAnnotationImplementation
All Implemented Interfaces:
BugChecker.ClassTreeMatcher, Suppressible, Serializable

public class BadAnnotationImplementation
extends BugChecker
implements BugChecker.ClassTreeMatcher
Checker that ensures implementations of Annotation override equals and hashCode. Otherwise, the implementation inherits equals and hashCode from Object, and those do not meet the contract specified by the Annotation interface.
See Also:
Serialized Form