Class HierarchyResolver
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver
- All Implemented Interfaces:
ITypeRequestor
-
Constructor Summary
ConstructorsConstructorDescriptionHierarchyResolver(INameEnvironment nameEnvironment, Map settings, HierarchyBuilder builder, IProblemFactory problemFactory) HierarchyResolver(LookupEnvironment lookupEnvironment, HierarchyBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction) Add an additional binary typevoidaccept(ICompilationUnit sourceUnit, AccessRestriction accessRestriction) Add an additional compilation unit.voidaccept(ISourceType[] sourceTypes, PackageBinding packageBinding, AccessRestriction accessRestriction) Add additional source typesvoidresolve(IGenericType suppliedType) Resolve the supertypes for the supplied source type.voidresolve(Openable[] openables, HashSet localTypes, org.eclipse.core.runtime.IProgressMonitor monitor) Resolve the supertypes for the types contained in the given openables (ICompilationUnits and/or IClassFiles).setFocusType(char[][] compoundName) booleansubOrSuperOfFocus(ReferenceBinding typeBinding) protected voidworked(org.eclipse.core.runtime.IProgressMonitor monitor, int work) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.impl.ITypeRequestor
accept
-
Constructor Details
-
HierarchyResolver
public HierarchyResolver(INameEnvironment nameEnvironment, Map settings, HierarchyBuilder builder, IProblemFactory problemFactory) -
HierarchyResolver
-
-
Method Details
-
accept
public void accept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction) Add an additional binary type- Specified by:
acceptin interfaceITypeRequestor
-
accept
Add an additional compilation unit.- Specified by:
acceptin interfaceITypeRequestor
-
accept
public void accept(ISourceType[] sourceTypes, PackageBinding packageBinding, AccessRestriction accessRestriction) Add additional source types- Specified by:
acceptin interfaceITypeRequestor
-
resolve
Resolve the supertypes for the supplied source type. Inform the requestor of the resolved supertypes using: connect(ISourceType suppliedType, IGenericType superclass, IGenericType[] superinterfaces) -
resolve
public void resolve(Openable[] openables, HashSet localTypes, org.eclipse.core.runtime.IProgressMonitor monitor) Resolve the supertypes for the types contained in the given openables (ICompilationUnits and/or IClassFiles). Inform the requestor of the resolved supertypes for each supplied source type using: connect(ISourceType suppliedType, IGenericType superclass, IGenericType[] superinterfaces) Also inform the requestor of the supertypes of each additional requested super type which is also a source type instead of a binary type. -
setFocusType
-
subOrSuperOfFocus
-
worked
protected void worked(org.eclipse.core.runtime.IProgressMonitor monitor, int work)
-