public class HasArguments extends ChildMultiMatcher<com.sun.source.tree.MethodInvocationTree,com.sun.source.tree.ExpressionTree>
ChildMultiMatcher.MatchType
MultiMatcher.MultiMatchResult<N extends com.sun.source.tree.Tree>
nodeMatcher
Constructor and Description |
---|
HasArguments(ChildMultiMatcher.MatchType matchType,
Matcher<com.sun.source.tree.ExpressionTree> nodeMatcher) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<? extends com.sun.source.tree.ExpressionTree> |
getChildNodes(com.sun.source.tree.MethodInvocationTree methodInvocationTree,
VisitorState state)
Returns the set of child nodes to match.
|
matches, multiMatchResult
public HasArguments(ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.ExpressionTree> nodeMatcher)
protected Iterable<? extends com.sun.source.tree.ExpressionTree> getChildNodes(com.sun.source.tree.MethodInvocationTree methodInvocationTree, VisitorState state)
ChildMultiMatcher
getChildNodes
in class ChildMultiMatcher<com.sun.source.tree.MethodInvocationTree,com.sun.source.tree.ExpressionTree>
Copyright © 2019. All rights reserved.