Class 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: (Liam Miller-Cushon)
See Also:
Serialized Form
  • Constructor Details

    • AbstractReferenceEquality

      public AbstractReferenceEquality()
  • Method Details