Class EqualsBrokenForNull

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.nullness.EqualsBrokenForNull
All Implemented Interfaces:
BugChecker.MethodTreeMatcher, Suppressible, Serializable

public class EqualsBrokenForNull
extends BugChecker
implements BugChecker.MethodTreeMatcher
BugChecker adds a null check to equals() method implementations which don't satisfy the null contract of Object.equals(java.lang.Object) i.e. equals(null) should return false.
Author:
bhagwani@google.com (Sumit Bhagwani)
See Also:
Serialized Form