Klasse HierarchyBuilder
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder
- Bekannte direkte Unterklassen:
IndexBasedHierarchyBuilder,RegionBasedHierarchyBuilder
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected Stringprotected TypeHierarchyThe hierarchy being built.protected HierarchyResolverThe resolver used to resolve type hierarchiesprotected MapA 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
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract voidbuild(boolean computeSubtypes) protected voidConfigure this type hierarchy by computing the supertypes only.voidconnect(IGenericType type, IType typeHandle, IType superclassHandle, IType[] superinterfaceHandles) Connect the supplied type to its superclass Ungültige Eingabe: "&" superinterfaces.protected ICompilationUnitcreateCompilationUnitFromPath(Openable handle, org.eclipse.core.resources.IFile file, char[] moduleName) Create an ICompilationUnit info from the given compilation unit on disk.protected IBinaryTypecreateInfoFromClassFile(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 IBinaryTypecreateInfoFromClassFileInJar(Openable classFile) Create a type info from the given class file in a jar and adds it to the given list of infos.protected ITypegetHandle(IGenericType genericType, ReferenceBinding binding) Returns a handle for the given generic type or null if not found.protected ITypegetType()protected ITypelookupBinaryHandle(IBinaryType typeInfo) Looks up and returns a handle for the given binary info.protected voidworked(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:
JavaModelExceptionorg.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.
-