Class RegionBasedHierarchyBuilder
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.RegionBasedHierarchyBuilder
-
Field Summary
Fields inherited from class HierarchyBuilder
focusQualifiedName, hierarchy, hierarchyResolver, infoToHandle, nameLookupModifier and TypeFieldDescriptionprotected Stringprotected TypeHierarchyThe hierarchy being built.protected HierarchyResolverThe resolver used to resolve type hierarchiesprotected Map<IGenericType, IJavaElement> 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 -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HierarchyBuilder
buildSupertypes, connect, createCompilationUnitFromPath, createInfoFromClassFile, createInfoFromClassFileInJar, getHandle, getType, lookupBinaryHandle, workedModifier and TypeMethodDescriptionprotected 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 and 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)
-
Constructor Details
-
RegionBasedHierarchyBuilder
- Throws:
JavaModelException
-
-
Method Details
-
build
public void build(boolean computeSubtypes) - Specified by:
buildin classHierarchyBuilder
-