Class UnnecessaryMethodInvocationMatcher

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

public class UnnecessaryMethodInvocationMatcher
extends BugChecker
implements BugChecker.MethodInvocationTreeMatcher
Matchers.methodInvocation(Matcher) is not exactly deprecated, but it is legacy, and in particular is not needed when the argument is a MethodMatcher, since MethodMatcher already does the unwrapping that methodInvocation does.
Author:
amalloy@google.com (Alan Malloy)
See Also:
Serialized Form