Klasse RegionBasedTypeHierarchy
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy
org.aspectj.org.eclipse.jdt.internal.core.hierarchy.RegionBasedTypeHierarchy
- Alle implementierten Schnittstellen:
IElementChangedListener
,ITypeHierarchy
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected IRegion
The region of types for which to build the hierarchyVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy
changeCollector, changeListeners, classToSuperclass, computeSubtypes, DEBUG, files, focusType, interfaces, missingTypes, needsRefresh, NO_TYPE, packageRegion, progressMonitor, project, projectRegion, rootClasses, typeFlags, typeToSubtypes, typeToSuperInterfaces, workingCopies
-
Konstruktorübersicht
KonstruktorBeschreibungRegionBasedTypeHierarchy
(IRegion region, ICompilationUnit[] workingCopies, IType type, boolean computeSubtypes) Creates a TypeHierarchy on the types in the specified region, considering first the given working copies, using the projects in the given region for a name lookup context. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
compute()
Compute this type hierarchy.protected void
Initializes the file, package and project regionsprotected boolean
isAffectedByOpenable
(IJavaElementDelta delta, IJavaElement element, int eventType) Returns true if the given type delta (a compilation unit delta or a class file delta) could affect this type hierarchy.Returns the java project this hierarchy was created in.void
protected void
removeType
(IType type) Removes all the subtypes of the given type from the type hierarchy, removes its superclass entry and removes the references from its super types.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy
addInterface, addRootClass, addSubtype, addTypeHierarchyChangedListener, cacheFlags, cacheSuperclass, cacheSuperInterfaces, checkCanceled, contains, elementChanged, exists, fireChange, getAllClasses, getAllInterfaces, getAllSubtypes, getAllSuperclasses, getAllSuperInterfaces, getAllSupertypes, getAllTypes, getCachedFlags, getExtendingInterfaces, getImplementingClasses, getRootClasses, getRootInterfaces, getSubclasses, getSubtypes, getSuperclass, getSuperInterfaces, getSupertypes, getType, growAndAddToArray, growAndAddToArray, hasFineGrainChanges, initialize, isAffected, load, packageRegionContainsSamePackageFragment, readUntil, readUntil, refresh, removeTypeHierarchyChangedListener, store, toString, worked
-
Felddetails
-
region
The region of types for which to build the hierarchy
-
-
Konstruktordetails
-
RegionBasedTypeHierarchy
public RegionBasedTypeHierarchy(IRegion region, ICompilationUnit[] workingCopies, IType type, boolean computeSubtypes) Creates a TypeHierarchy on the types in the specified region, considering first the given working copies, using the projects in the given region for a name lookup context. If a specific type is also specified, the type hierarchy is pruned to only contain the branch including the specified type.
-
-
Methodendetails
-
initializeRegions
protected void initializeRegions()Beschreibung aus Klasse kopiert:TypeHierarchy
Initializes the file, package and project regions- Setzt außer Kraft:
initializeRegions
in KlasseTypeHierarchy
-
compute
Compute this type hierarchy.- Setzt außer Kraft:
compute
in KlasseTypeHierarchy
- Löst aus:
JavaModelException
org.eclipse.core.runtime.CoreException
-
isAffectedByOpenable
protected boolean isAffectedByOpenable(IJavaElementDelta delta, IJavaElement element, int eventType) Beschreibung aus Klasse kopiert:TypeHierarchy
Returns true if the given type delta (a compilation unit delta or a class file delta) could affect this type hierarchy.- Setzt außer Kraft:
isAffectedByOpenable
in KlasseTypeHierarchy
- Parameter:
eventType
- TODO
-
javaProject
Returns the java project this hierarchy was created in.- Setzt außer Kraft:
javaProject
in KlasseTypeHierarchy
-
pruneDeadBranches
public void pruneDeadBranches() -
removeType
Removes all the subtypes of the given type from the type hierarchy, removes its superclass entry and removes the references from its super types.
-