Klasse IndexBasedHierarchyBuilder
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder
- Alle implementierten Schnittstellen:
SuffixConstants
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected MapCache used to record binaries recreated from index matchesprotected MapA 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 final intprotected IJavaSearchScopeThe scope this hierarchy builder should restrain results to.Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder
focusQualifiedName, hierarchy, hierarchyResolver, infoToHandle, nameLookupVon Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, EXTENSION_jmod, EXTENSION_JMOD, 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 -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungIndexBasedHierarchyBuilder(TypeHierarchy hierarchy, IJavaSearchScope scope) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidbuild(boolean computeSubtypes) 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 classFile, 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.static voidsearchAllPossibleSubTypes(IType type, IJavaSearchScope scope, Map binariesFromIndexMatches, IPathRequestor pathRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor monitor) Find the set of candidate subtypes of a given type.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder
buildSupertypes, connect, getHandle, getType, lookupBinaryHandle, worked
-
Felddetails
-
MAXTICKS
public static final int MAXTICKS- Siehe auch:
-
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). -
scope
The scope this hierarchy builder should restrain results to. -
binariesFromIndexMatches
Cache used to record binaries recreated from index matches
-
-
Konstruktordetails
-
IndexBasedHierarchyBuilder
public IndexBasedHierarchyBuilder(TypeHierarchy hierarchy, IJavaSearchScope scope) throws JavaModelException - Löst aus:
JavaModelException
-
-
Methodendetails
-
build
public void build(boolean computeSubtypes) - Angegeben von:
buildin KlasseHierarchyBuilder
-
createCompilationUnitFromPath
protected ICompilationUnit createCompilationUnitFromPath(Openable handle, org.eclipse.core.resources.IFile file, char[] moduleName) Beschreibung aus Klasse kopiert:HierarchyBuilderCreate an ICompilationUnit info from the given compilation unit on disk.- Setzt außer Kraft:
createCompilationUnitFromPathin KlasseHierarchyBuilder
-
createInfoFromClassFile
protected IBinaryType createInfoFromClassFile(Openable classFile, org.eclipse.core.resources.IResource file) Beschreibung aus Klasse kopiert:HierarchyBuilderCreates the type info from the given class file on disk and adds it to the given list of infos.- Setzt außer Kraft:
createInfoFromClassFilein KlasseHierarchyBuilder
-
createInfoFromClassFileInJar
Beschreibung aus Klasse kopiert:HierarchyBuilderCreate a type info from the given class file in a jar and adds it to the given list of infos.- Setzt außer Kraft:
createInfoFromClassFileInJarin KlasseHierarchyBuilder
-
searchAllPossibleSubTypes
public static void searchAllPossibleSubTypes(IType type, IJavaSearchScope scope, Map binariesFromIndexMatches, IPathRequestor pathRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor monitor) Find the set of candidate subtypes of a given type. The requestor is notified of super type references (with actual path of its occurrence) for all types which are potentially involved inside a particular hierarchy. The match locator is not used here to narrow down the results, the type hierarchy resolver is rather used to compute the whole hierarchy at once.- Parameter:
type-scope-binariesFromIndexMatches-pathRequestor-waitingPolicy-monitor-
-