Class SuperTypeNamesCollector

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

public class SuperTypeNamesCollector extends Object
Collects the super type names of a given declaring type. Returns NOT_FOUND_DECLARING_TYPE if the declaring type was not found. Returns null if the declaring type pattern doesn't require an exact match.
  • Constructor Details

    • SuperTypeNamesCollector

      public SuperTypeNamesCollector​(SearchPattern pattern, char[] typeSimpleName, char[] typeQualification, MatchLocator locator, IType type, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
  • Method Details

    • addToResult

      protected void addToResult​(char[][] compoundName)
    • buildBindings

      protected CompilationUnitDeclaration buildBindings​(ICompilationUnit compilationUnit, boolean isTopLevelOrMember) throws JavaModelException
      Throws:
      JavaModelException
    • collect

      public char[][][] collect() throws JavaModelException
      Throws:
      JavaModelException
    • collectSuperTypeNames

      protected void collectSuperTypeNames​(ReferenceBinding binding, char[][] path)
      Collects the names of all the supertypes of the given type.
    • getPathsOfDeclaringType

      protected String[] getPathsOfDeclaringType()
    • getSamePackageSuperTypeNames

      public char[][][] getSamePackageSuperTypeNames()
    • matches

      protected boolean matches​(char[][] compoundName)
    • matches

      protected boolean matches​(ReferenceBinding binding)