Package com.google.errorprone.matchers
Class MethodInvocationArgument
java.lang.Object
com.google.errorprone.matchers.MethodInvocationArgument
- All Implemented Interfaces:
Matcher<com.sun.source.tree.MethodInvocationTree>
,Serializable
public class MethodInvocationArgument
extends Object
implements Matcher<com.sun.source.tree.MethodInvocationTree>
Applies an Expression matcher to an argument of a MethodInvocation by position.
- Author:
- alexeagle@google.com (Alex Eagle)
- See Also:
-
Constructor Summary
ConstructorDescriptionMethodInvocationArgument
(int position, Matcher<com.sun.source.tree.ExpressionTree> argumentMatcher) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(com.sun.source.tree.MethodInvocationTree methodInvocationTree, VisitorState state)
-
Constructor Details
-
MethodInvocationArgument
public MethodInvocationArgument(int position, Matcher<com.sun.source.tree.ExpressionTree> argumentMatcher)
-
-
Method Details
-
matches
public boolean matches(com.sun.source.tree.MethodInvocationTree methodInvocationTree, VisitorState state)
-