Class CompareToZero

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

public final class CompareToZero
extends BugChecker
implements BugChecker.MethodInvocationTreeMatcher
Suggests comparing the result of compareTo to only 0.
See Also:
Serialized Form