Klasse HierarchyBuilder
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder
- Bekannte direkte Unterklassen:
IndexBasedHierarchyBuilder
,RegionBasedHierarchyBuilder
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected String
protected TypeHierarchy
The hierarchy being built.protected HierarchyResolver
The resolver used to resolve type hierarchiesprotected Map
A temporary cache of infos to handles to speed info to handle translation - it only contains the entries for the types in the region (in other words, it contains no supertypes outside the region).protected NameLookup
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract void
build
(boolean computeSubtypes) protected void
Configure this type hierarchy by computing the supertypes only.void
connect
(IGenericType type, IType typeHandle, IType superclassHandle, IType[] superinterfaceHandles) Connect the supplied type to its superclass Ungültige Eingabe: "&" superinterfaces.protected ICompilationUnit
createCompilationUnitFromPath
(Openable handle, org.eclipse.core.resources.IFile file, char[] moduleName) Create an ICompilationUnit info from the given compilation unit on disk.protected IBinaryType
createInfoFromClassFile
(Openable handle, org.eclipse.core.resources.IResource file) Creates the type info from the given class file on disk and adds it to the given list of infos.protected IBinaryType
createInfoFromClassFileInJar
(Openable classFile) Create a type info from the given class file in a jar and adds it to the given list of infos.protected IType
getHandle
(IGenericType genericType, ReferenceBinding binding) Returns a handle for the given generic type or null if not found.protected IType
getType()
protected IType
lookupBinaryHandle
(IBinaryType typeInfo) Looks up and returns a handle for the given binary info.protected void
worked
(org.eclipse.core.runtime.IProgressMonitor monitor, int work)
-
Felddetails
-
hierarchy
The hierarchy being built. -
nameLookup
- Siehe auch:
-
hierarchyResolver
The resolver used to resolve type hierarchies- Siehe auch:
-
infoToHandle
A temporary cache of infos to handles to speed info to handle translation - it only contains the entries for the types in the region (in other words, it contains no supertypes outside the region). -
focusQualifiedName
-
-
Konstruktordetails
-
HierarchyBuilder
- Löst aus:
JavaModelException
-
-
Methodendetails
-
build
public abstract void build(boolean computeSubtypes) throws JavaModelException, org.eclipse.core.runtime.CoreException - Löst aus:
JavaModelException
org.eclipse.core.runtime.CoreException
-
buildSupertypes
protected void buildSupertypes()Configure this type hierarchy by computing the supertypes only. -
connect
public void connect(IGenericType type, IType typeHandle, IType superclassHandle, IType[] superinterfaceHandles) Connect the supplied type to its superclass Ungültige Eingabe: "&" superinterfaces. The superclass Ungültige Eingabe: "&" superinterfaces are the identical binary or source types as supplied by the name environment. -
getHandle
Returns a handle for the given generic type or null if not found. -
getType
-
lookupBinaryHandle
Looks up and returns a handle for the given binary info. -
worked
protected void worked(org.eclipse.core.runtime.IProgressMonitor monitor, int work) -
createCompilationUnitFromPath
protected ICompilationUnit createCompilationUnitFromPath(Openable handle, org.eclipse.core.resources.IFile file, char[] moduleName) Create an ICompilationUnit info from the given compilation unit on disk. -
createInfoFromClassFile
protected IBinaryType createInfoFromClassFile(Openable handle, org.eclipse.core.resources.IResource file) Creates the type info from the given class file on disk and adds it to the given list of infos. -
createInfoFromClassFileInJar
Create a type info from the given class file in a jar and adds it to the given list of infos.
-