org.aspectj.org.eclipse.jdt.internal.core.search.matching
Class SuperTypeNamesCollector
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.matching.SuperTypeNamesCollector
public class SuperTypeNamesCollector
- extends java.lang.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuperTypeNamesCollector
public SuperTypeNamesCollector(SearchPattern pattern,
char[] typeSimpleName,
char[] typeQualification,
MatchLocator locator,
IType type,
IProgressMonitor progressMonitor)
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)
- Collects the names of all the supertypes of the given type.
getPathsOfDeclaringType
protected java.lang.String[] getPathsOfDeclaringType()
matches
protected boolean matches(char[][] compoundName)
matches
protected boolean matches(ReferenceBinding binding)