Class ModifiedButNotUsed

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.ModifiedButNotUsed
All Implemented Interfaces:
BugChecker.ExpressionStatementTreeMatcher, BugChecker.VariableTreeMatcher, Suppressible, Serializable

public class ModifiedButNotUsed extends BugChecker implements BugChecker.ExpressionStatementTreeMatcher, BugChecker.VariableTreeMatcher
Matches creation of new collections/proto builders which are modified but never used.
Author:
ghm@google.com (Graeme Morgan)
See Also: