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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MethodInvocationArgument(int position, Matcher<com.sun.source.tree.ExpressionTree> argumentMatcher)
-
Method Summary
Modifier and Type Method Description boolean
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)
-