Class RedundantCondition

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.RedundantCondition
All Implemented Interfaces:
BugChecker.AssignmentTreeMatcher, BugChecker.ConditionalExpressionTreeMatcher, BugChecker.IfTreeMatcher, BugChecker.VariableTreeMatcher, Suppressible, Serializable

public class RedundantCondition
extends BugChecker
implements BugChecker.IfTreeMatcher, BugChecker.AssignmentTreeMatcher, BugChecker.ConditionalExpressionTreeMatcher, BugChecker.VariableTreeMatcher
Checks if condition or assignment is always true.
Author:
abhatiya@google.com (Ankush Bhatiya)
See Also:
Serialized Form