Class MethodInvocation
java.lang.Object
com.google.errorprone.matchers.MethodInvocation
- All Implemented Interfaces:
Matcher<com.sun.source.tree.ExpressionTree>
,Serializable
-
Constructor Summary
ConstructorDescriptionMethodInvocation
(Matcher<com.sun.source.tree.ExpressionTree> methodSelectMatcher, ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.ExpressionTree> methodArgumentMatcher) Creates a new matcher for method invocations based on a method select and an argument matcher. -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(com.sun.source.tree.ExpressionTree expressionTree, VisitorState state)
-
Constructor Details
-
MethodInvocation
public MethodInvocation(Matcher<com.sun.source.tree.ExpressionTree> methodSelectMatcher, ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.ExpressionTree> methodArgumentMatcher) Creates a new matcher for method invocations based on a method select and an argument matcher.- Parameters:
matchType
- how to apply the argument matcher to the method's arguments
-
-
Method Details