public abstract static class MultiMatcher.MultiMatchResult<N extends com.sun.source.tree.Tree> extends Object
MultiMatcher.multiMatchResult(Tree, VisitorState)
, containing
information about whether it matched, and if so, what nodes matched.Modifier and Type | Method and Description |
---|---|
abstract boolean |
matches()
True if the MultiMatcher matched the nodes expected.
|
abstract List<N> |
matchingNodes()
The list of nodes which matched the MultiMatcher's expectations (could be empty if the match
type was ALL and there were no child nodes).
|
N |
onlyMatchingNode() |
public abstract boolean matches()
public abstract List<N> matchingNodes()
matches()
is true.public final N onlyMatchingNode()
Copyright © 2017. All rights reserved.