org.aspectj.org.eclipse.jdt.internal.core.search.matching
Class MatchingNodeSet

java.lang.Object
  extended by 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.
 
Constructor Summary
MatchingNodeSet(boolean mustResolvePattern)
           
 
Method Summary
 int addMatch(ASTNode node, int matchLevel)
           
 void addPossibleMatch(ASTNode node)
           
 void addTrustedMatch(ASTNode node, boolean isExact)
           
protected  boolean hasPossibleNodes(int start, int end)
           
protected  ASTNode[] matchingNodes(int start, int end)
          Returns the matching nodes that are in the given range in the source order.
 java.lang.Object removePossibleMatch(ASTNode node)
           
 java.lang.Object removeTrustedMatch(ASTNode node)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mustResolve

public boolean mustResolve
Tell whether locators need to resolve or not for current matching node set.

Constructor Detail

MatchingNodeSet

public MatchingNodeSet(boolean mustResolvePattern)
Method Detail

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