Klasse SuperTypeNamesCollector
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.matching.SuperTypeNamesCollector
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.
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungclass
An ast visitor that visits type declarations and member type declarations collecting their super type names. -
Konstruktorübersicht
KonstruktorBeschreibungSuperTypeNamesCollector
(SearchPattern pattern, char[] typeSimpleName, char[] typeQualification, MatchLocator locator, IType type, org.eclipse.core.runtime.IProgressMonitor progressMonitor) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected 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 String[]
char[][][]
protected boolean
matches
(char[][] compoundName) protected boolean
matches
(ReferenceBinding binding)
-
Konstruktordetails
-
SuperTypeNamesCollector
public SuperTypeNamesCollector(SearchPattern pattern, char[] typeSimpleName, char[] typeQualification, MatchLocator locator, IType type, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
-
-
Methodendetails
-
addToResult
protected void addToResult(char[][] compoundName) -
buildBindings
protected CompilationUnitDeclaration buildBindings(ICompilationUnit compilationUnit, boolean isTopLevelOrMember) throws JavaModelException - Löst aus:
JavaModelException
-
collect
- Löst aus:
JavaModelException
-
collectSuperTypeNames
Collects the names of all the supertypes of the given type. -
getPathsOfDeclaringType
-
getSamePackageSuperTypeNames
public char[][][] getSamePackageSuperTypeNames() -
matches
protected boolean matches(char[][] compoundName) -
matches
-