|
|||||||||
| 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
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder
public class IndexBasedHierarchyBuilder
| Field Summary | |
|---|---|
protected java.util.Map |
binariesFromIndexMatches
Cache used to record binaries recreated from index matches |
protected java.util.Map |
cuToHandle
A temporary cache of compilation units 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). |
static int |
MAXTICKS
|
protected IJavaSearchScope |
scope
The scope this hierarchy builder should restrain results to. |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder |
|---|
focusQualifiedName, hierarchy, hierarchyResolver, infoToHandle, nameLookup |
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants |
|---|
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA |
| Constructor Summary | |
|---|---|
IndexBasedHierarchyBuilder(TypeHierarchy hierarchy,
IJavaSearchScope scope)
|
|
| Method Summary | |
|---|---|
void |
build(boolean computeSubtypes)
|
protected ICompilationUnit |
createCompilationUnitFromPath(Openable handle,
IFile file)
Create an ICompilationUnit info from the given compilation unit on disk. |
protected IBinaryType |
createInfoFromClassFile(Openable classFile,
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. |
static void |
searchAllPossibleSubTypes(IType type,
IJavaSearchScope scope,
java.util.Map binariesFromIndexMatches,
IPathRequestor pathRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor)
Find the set of candidate subtypes of a given type. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder |
|---|
buildSupertypes, connect, getHandle, getType, lookupBinaryHandle, worked |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAXTICKS
protected java.util.Map cuToHandle
protected IJavaSearchScope scope
protected java.util.Map binariesFromIndexMatches
| Constructor Detail |
|---|
public IndexBasedHierarchyBuilder(TypeHierarchy hierarchy,
IJavaSearchScope scope)
throws JavaModelException
JavaModelException| Method Detail |
|---|
public void build(boolean computeSubtypes)
build in class HierarchyBuilder
protected ICompilationUnit createCompilationUnitFromPath(Openable handle,
IFile file)
HierarchyBuilder
createCompilationUnitFromPath in class HierarchyBuilder
protected IBinaryType createInfoFromClassFile(Openable classFile,
IResource file)
HierarchyBuilder
createInfoFromClassFile in class HierarchyBuilderprotected IBinaryType createInfoFromClassFileInJar(Openable classFile)
HierarchyBuilder
createInfoFromClassFileInJar in class HierarchyBuilder
public static void searchAllPossibleSubTypes(IType type,
IJavaSearchScope scope,
java.util.Map binariesFromIndexMatches,
IPathRequestor pathRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor)
type - scope - binariesFromIndexMatches - pathRequestor - waitingPolicy - progressMonitor -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||