Klasse TypeDeclarationLocator

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.matching.PatternLocator
org.aspectj.org.eclipse.jdt.internal.core.search.matching.TypeDeclarationLocator
Alle implementierten Schnittstellen:
IQualifiedTypeResolutionListener, IIndexConstants

public class TypeDeclarationLocator extends PatternLocator
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • match

      public int match(TypeDeclaration node, MatchingNodeSet nodeSet)
      Setzt außer Kraft:
      match in Klasse PatternLocator
    • resolveLevel

      public int resolveLevel(ASTNode node)
      Beschreibung aus Klasse kopiert: PatternLocator
      Finds out whether the given ast node matches this search pattern. Returns IMPOSSIBLE_MATCH if it doesn't. Returns INACCURATE_MATCH if it potentially matches this search pattern (i.e. it has already been resolved but resolving failed.) Returns ACCURATE_MATCH if it matches exactly this search pattern (i.e. it doesn't need to be resolved or it has already been resolved.)
      Setzt außer Kraft:
      resolveLevel in Klasse PatternLocator
    • resolveLevel

      public int resolveLevel(Binding binding)
      Beschreibung aus Klasse kopiert: PatternLocator
      Finds out whether the given binding matches this search pattern. Returns ACCURATE_MATCH if it does. Returns INACCURATE_MATCH if resolve failed but match is still possible. Returns IMPOSSIBLE_MATCH otherwise. Default is to return INACCURATE_MATCH.
      Setzt außer Kraft:
      resolveLevel in Klasse PatternLocator
    • resolveLevelForType

      protected int resolveLevelForType(char[] simpleNamePattern, char[] qualificationPattern, char[] enclosingNamePattern, TypeBinding type)
      Returns whether the given type binding matches the given simple name pattern qualification pattern and enclosing type name pattern.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse PatternLocator