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