|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder
public abstract class HierarchyBuilder
| Field Summary | |
|---|---|
protected java.lang.String |
focusQualifiedName
|
protected TypeHierarchy |
hierarchy
The hierarchy being built. |
protected HierarchyResolver |
hierarchyResolver
The resolver used to resolve type hierarchies |
protected java.util.Map |
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). |
protected NameLookup |
nameLookup
|
| Constructor Summary | |
|---|---|
HierarchyBuilder(TypeHierarchy hierarchy)
|
|
| Method Summary | |
|---|---|
abstract void |
build(boolean computeSubtypes)
|
protected void |
buildSupertypes()
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 & superinterfaces. |
protected ICompilationUnit |
createCompilationUnitFromPath(Openable handle,
IFile file)
Create an ICompilationUnit info from the given compilation unit on disk. |
protected IBinaryType |
createInfoFromClassFile(Openable handle,
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(IProgressMonitor monitor,
int work)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TypeHierarchy hierarchy
protected NameLookup nameLookup
NameLookupprotected HierarchyResolver hierarchyResolver
HierarchyResolverprotected java.util.Map infoToHandle
protected java.lang.String focusQualifiedName
| Constructor Detail |
|---|
public HierarchyBuilder(TypeHierarchy hierarchy)
throws JavaModelException
JavaModelException| Method Detail |
|---|
public abstract void build(boolean computeSubtypes)
throws JavaModelException,
CoreException
JavaModelException
CoreExceptionprotected void buildSupertypes()
public void connect(IGenericType type,
IType typeHandle,
IType superclassHandle,
IType[] superinterfaceHandles)
protected IType getHandle(IGenericType genericType,
ReferenceBinding binding)
protected IType getType()
protected IType lookupBinaryHandle(IBinaryType typeInfo)
protected void worked(IProgressMonitor monitor,
int work)
protected ICompilationUnit createCompilationUnitFromPath(Openable handle,
IFile file)
protected IBinaryType createInfoFromClassFile(Openable handle,
IResource file)
protected IBinaryType createInfoFromClassFileInJar(Openable classFile)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||