| java.lang.Object org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy org.eclipse.jdt.internal.core.hierarchy.RegionBasedTypeHierarchy
Constructor Summary | |
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. |
region | protected IRegion region(Code) | | The region of types for which to build the hierarchy
|
RegionBasedTypeHierarchy | public RegionBasedTypeHierarchy(IRegion region, ICompilationUnit[] workingCopies, IType type, boolean computeSubtypes)(Code) | | 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.
|
initializeRegions | protected void initializeRegions()(Code) | | |
javaProject | public IJavaProject javaProject()(Code) | | Returns the java project this hierarchy was created in.
|
pruneDeadBranches | public void pruneDeadBranches()(Code) | | |
removeType | protected void removeType(IType type)(Code) | | Removes all the subtypes of the given type from the type hierarchy,
removes its superclass entry and removes the references from its super types.
|
Methods inherited from org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy | protected void addInterface(IType type)(Code)(Java Doc) protected void addRootClass(IType type)(Code)(Java Doc) protected void addSubtype(IType type, IType subtype)(Code)(Java Doc) public synchronized void addTypeHierarchyChangedListener(ITypeHierarchyChangedListener listener)(Code)(Java Doc) public void cacheFlags(IType type, int flags)(Code)(Java Doc) protected void cacheSuperInterfaces(IType type, IType[] superinterfaces)(Code)(Java Doc) protected void cacheSuperclass(IType type, IType superclass)(Code)(Java Doc) protected void checkCanceled()(Code)(Java Doc) protected void compute() throws JavaModelException, CoreException(Code)(Java Doc) public boolean contains(IType type)(Code)(Java Doc) public void elementChanged(ElementChangedEvent event)(Code)(Java Doc) public boolean exists()(Code)(Java Doc) public void fireChange()(Code)(Java Doc) public IType[] getAllClasses()(Code)(Java Doc) public IType[] getAllInterfaces()(Code)(Java Doc) public IType[] getAllSubtypes(IType type)(Code)(Java Doc) public IType[] getAllSuperInterfaces(IType type)(Code)(Java Doc) public IType[] getAllSuperclasses(IType type)(Code)(Java Doc) public IType[] getAllSupertypes(IType type)(Code)(Java Doc) public IType[] getAllTypes()(Code)(Java Doc) public int getCachedFlags(IType type)(Code)(Java Doc) public IType[] getExtendingInterfaces(IType type)(Code)(Java Doc) public IType[] getImplementingClasses(IType type)(Code)(Java Doc) public IType[] getRootClasses()(Code)(Java Doc) public IType[] getRootInterfaces()(Code)(Java Doc) public IType[] getSubclasses(IType type)(Code)(Java Doc) public IType[] getSubtypes(IType type)(Code)(Java Doc) public IType[] getSuperInterfaces(IType type)(Code)(Java Doc) public IType getSuperclass(IType type)(Code)(Java Doc) public IType[] getSupertypes(IType type)(Code)(Java Doc) public IType getType()(Code)(Java Doc) protected IType[] growAndAddToArray(IType[] array, IType[] additions)(Code)(Java Doc) protected IType[] growAndAddToArray(IType[] array, IType addition)(Code)(Java Doc) public boolean hasFineGrainChanges()(Code)(Java Doc) boolean hasSupertype(String simpleName)(Code)(Java Doc) boolean includesTypeOrSupertype(IType type)(Code)(Java Doc) protected void initialize(int size)(Code)(Java Doc) protected void initializeRegions()(Code)(Java Doc) public synchronized boolean isAffected(IJavaElementDelta delta)(Code)(Java Doc) protected boolean isAffectedByOpenable(IJavaElementDelta delta, IJavaElement element)(Code)(Java Doc) public IJavaProject javaProject()(Code)(Java Doc) public static ITypeHierarchy load(IType type, InputStream input, WorkingCopyOwner owner) throws JavaModelException(Code)(Java Doc) protected boolean packageRegionContainsSamePackageFragment(PackageFragment element)(Code)(Java Doc) protected static byte[] readUntil(InputStream input, byte separator) throws JavaModelException, IOException(Code)(Java Doc) protected static byte[] readUntil(InputStream input, byte separator, int offset) throws IOException, JavaModelException(Code)(Java Doc) public synchronized void refresh(IProgressMonitor monitor) throws JavaModelException(Code)(Java Doc) public synchronized void removeTypeHierarchyChangedListener(ITypeHierarchyChangedListener listener)(Code)(Java Doc) public void store(OutputStream output, IProgressMonitor monitor) throws JavaModelException(Code)(Java Doc) boolean subtypesIncludeSupertypeOf(IType type)(Code)(Java Doc) public String toString()(Code)(Java Doc) protected void worked(int work)(Code)(Java Doc)
|
|
|