java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.matching.MatchingNodeSet

public class MatchingNodeSet extends Object
A set of matches and possible matches, which need to be resolved.
  • Field Details

    • mustResolve

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

    • MatchingNodeSet

      public MatchingNodeSet​(boolean mustResolvePattern)
  • Method Details

    • 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 Object removePossibleMatch​(ASTNode node)
    • removeTrustedMatch

      public Object removeTrustedMatch​(ASTNode node)
    • toString

      public String toString()
      Overrides:
      toString in class Object