Class HierarchyResolver
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver
- All Implemented Interfaces:
ITypeRequestor
-
Constructor Summary
ConstructorDescriptionHierarchyResolver(INameEnvironment nameEnvironment, Map settings, HierarchyBuilder builder, IProblemFactory problemFactory)
HierarchyResolver(LookupEnvironment lookupEnvironment, HierarchyBuilder builder)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction)
Add an additional binary typevoid
accept(ICompilationUnit sourceUnit, AccessRestriction accessRestriction)
Add an additional compilation unit.void
accept(ISourceType[] sourceTypes, PackageBinding packageBinding, AccessRestriction accessRestriction)
Add additional source typesvoid
resolve(IGenericType suppliedType)
Resolve the supertypes for the supplied source type.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).setFocusType(char[][] compoundName)
boolean
subOrSuperOfFocus(ReferenceBinding typeBinding)
protected void
worked(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, wait
Methods 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:
accept
in interfaceITypeRequestor
- Parameters:
binaryType
-packageBinding
-
-
accept
Add an additional compilation unit.- Specified by:
accept
in interfaceITypeRequestor
- Parameters:
sourceUnit
-
-
accept
public void accept(ISourceType[] sourceTypes, PackageBinding packageBinding, AccessRestriction accessRestriction)Add additional source types- Specified by:
accept
in interfaceITypeRequestor
- Parameters:
sourceTypes
-packageBinding
-
-
resolve
Resolve the supertypes for the supplied source type. Inform the requestor of the resolved supertypes using: connect(ISourceType suppliedType, IGenericType superclass, IGenericType[] superinterfaces)- Parameters:
suppliedType
-
-
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.- Parameters:
openables
-localTypes
-monitor
-
-
setFocusType
-
subOrSuperOfFocus
-
worked
protected void worked(org.eclipse.core.runtime.IProgressMonitor monitor, int work)
-