org.aspectj.org.eclipse.jdt.internal.core.search.matching
Class MatchingNodeSet
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.matching.MatchingNodeSet
public class MatchingNodeSet
- extends java.lang.Object
A set of matches and possible matches, which need to be resolved.
|
Field Summary |
boolean |
mustResolve
Tell whether locators need to resolve or not for current matching node set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mustResolve
public boolean mustResolve
- Tell whether locators need to resolve or not for current matching node set.
MatchingNodeSet
public MatchingNodeSet(boolean mustResolvePattern)
addMatch
public int addMatch(ASTNode node,
int matchLevel)
addPossibleMatch
public void addPossibleMatch(ASTNode node)
addTrustedMatch
public void addTrustedMatch(ASTNode node,
boolean isExact)
hasPossibleNodes
protected boolean hasPossibleNodes(int start,
int end)
matchingNodes
protected ASTNode[] matchingNodes(int start,
int end)
- Returns the matching nodes that are in the given range in the source order.
removePossibleMatch
public java.lang.Object removePossibleMatch(ASTNode node)
removeTrustedMatch
public java.lang.Object removeTrustedMatch(ASTNode node)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object