Class AbstractReferenceEquality

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.AbstractReferenceEquality
All Implemented Interfaces:
BugChecker.BinaryTreeMatcher, Suppressible, Serializable
Direct Known Subclasses:
BoxedPrimitiveEquality, OptionalEquality, ReferenceEquality

public abstract class AbstractReferenceEquality extends BugChecker implements BugChecker.BinaryTreeMatcher
Abstract implementation of a BugPattern that detects the use of reference equality to compare classes with value semantics.

See e.g. OptionalEquality, ProtoStringFieldReferenceEquality.

Author:
cushon@google.com (Liam Miller-Cushon)
See Also: