public class SuperTypeNamesCollector
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
SuperTypeNamesCollector.TypeDeclarationVisitor
An ast visitor that visits type declarations and member type declarations
collecting their super type names.
|
| Constructor and Description |
|---|
SuperTypeNamesCollector(SearchPattern pattern,
char[] typeSimpleName,
char[] typeQualification,
MatchLocator locator,
IType type,
IProgressMonitor progressMonitor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToResult(char[][] compoundName) |
protected CompilationUnitDeclaration |
buildBindings(ICompilationUnit compilationUnit,
boolean isTopLevelOrMember) |
char[][][] |
collect() |
protected void |
collectSuperTypeNames(ReferenceBinding binding,
char[][] path)
Collects the names of all the supertypes of the given type.
|
protected java.lang.String[] |
getPathsOfDeclaringType() |
char[][][] |
getSamePackageSuperTypeNames() |
protected boolean |
matches(char[][] compoundName) |
protected boolean |
matches(ReferenceBinding binding) |
public SuperTypeNamesCollector(SearchPattern pattern, char[] typeSimpleName, char[] typeQualification, MatchLocator locator, IType type, IProgressMonitor progressMonitor)
protected void addToResult(char[][] compoundName)
protected CompilationUnitDeclaration buildBindings(ICompilationUnit compilationUnit, boolean isTopLevelOrMember) throws JavaModelException
JavaModelExceptionpublic char[][][] collect()
throws JavaModelException
JavaModelExceptionprotected void collectSuperTypeNames(ReferenceBinding binding, char[][] path)
protected java.lang.String[] getPathsOfDeclaringType()
public char[][][] getSamePackageSuperTypeNames()
protected boolean matches(char[][] compoundName)
protected boolean matches(ReferenceBinding binding)