# Uses of Interface
org.eclipse.jdt.core.ITypeHierarchy

Packages that use ITypeHierarchy
Package
Description
org.eclipse.jdt.core
The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program.
org.eclipse.jdt.ui
Application programming interfaces for interaction with the Eclipse Java User Interface.

## Uses of ITypeHierarchy in org.eclipse.jdt.core

Methods in org.eclipse.jdt.core that return ITypeHierarchy
Modifier and Type
Method
Description
`ITypeHierarchy`
IType.`loadTypeHierachy(InputStream input, IProgressMonitor monitor)`
Loads a previously saved ITypeHierarchy from an input stream.
`ITypeHierarchy`
IType.`newSupertypeHierarchy(IProgressMonitor monitor)`
Creates and returns a type hierarchy for this type containing this type and all of its supertypes.
`ITypeHierarchy`
IType.`newSupertypeHierarchy(ICompilationUnit[] workingCopies, IProgressMonitor monitor)`
Creates and returns a type hierarchy for this type containing this type and all of its supertypes, considering types in the given working copies.
`ITypeHierarchy`
IType.`newSupertypeHierarchy(IWorkingCopy[] workingCopies, IProgressMonitor monitor)`
Deprecated.
Use `IType.newSupertypeHierarchy(ICompilationUnit[], IProgressMonitor)` instead
`ITypeHierarchy`
IType.`newSupertypeHierarchy(WorkingCopyOwner owner, IProgressMonitor monitor)`
Creates and returns a type hierarchy for this type containing this type and all of its supertypes, considering types in the working copies with the given owner.
`ITypeHierarchy`
IJavaProject.`newTypeHierarchy(IRegion region, IProgressMonitor monitor)`
Creates and returns a type hierarchy for all types in the given region, considering subtypes within that region.
`ITypeHierarchy`
IJavaProject.`newTypeHierarchy(IRegion region, WorkingCopyOwner owner, IProgressMonitor monitor)`
Creates and returns a type hierarchy for all types in the given region, considering subtypes within that region and considering types in the working copies with the given owner.
`ITypeHierarchy`
IJavaProject.`newTypeHierarchy(IType type, IRegion region, IProgressMonitor monitor)`
Creates and returns a type hierarchy for the given type considering subtypes in the specified region.
`ITypeHierarchy`
IJavaProject.`newTypeHierarchy(IType type, IRegion region, WorkingCopyOwner owner, IProgressMonitor monitor)`
Creates and returns a type hierarchy for the given type considering subtypes in the specified region and considering types in the working copies with the given owner.
`ITypeHierarchy`
IType.`newTypeHierarchy(IProgressMonitor monitor)`
Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the workspace.
`ITypeHierarchy`
IType.`newTypeHierarchy(ICompilationUnit[] workingCopies, IProgressMonitor monitor)`
Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the workspace, considering types in the given working copies.
`ITypeHierarchy`
IType.`newTypeHierarchy(IJavaProject project, IProgressMonitor monitor)`
Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the context of the given project.
`ITypeHierarchy`
IType.`newTypeHierarchy(IJavaProject project, WorkingCopyOwner owner, IProgressMonitor monitor)`
Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the context of the given project, considering types in the working copies with the given owner.
`ITypeHierarchy`
IType.`newTypeHierarchy(IWorkingCopy[] workingCopies, IProgressMonitor monitor)`
Deprecated.
Use `IType.newTypeHierarchy(ICompilationUnit[], IProgressMonitor)` instead
`ITypeHierarchy`
IType.`newTypeHierarchy(WorkingCopyOwner owner, IProgressMonitor monitor)`
Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the workspace, considering types in the working copies with the given owner.
`static ITypeHierarchy`
JavaCore.`newTypeHierarchy(IRegion region, WorkingCopyOwner owner, IProgressMonitor monitor)`
Creates and returns a type hierarchy for all types in the given region, considering subtypes within that region and considering types in the working copies with the given owner.
Methods in org.eclipse.jdt.core with parameters of type ITypeHierarchy
Modifier and Type
Method
Description
`void`
ITypeHierarchyChangedListener.`typeHierarchyChanged(ITypeHierarchy typeHierarchy)`
Notifies that the given type hierarchy has changed in some way and should be refreshed at some point to make it consistent with the current state of the Java model.

## Uses of ITypeHierarchy in org.eclipse.jdt.ui

Methods in org.eclipse.jdt.ui with parameters of type ITypeHierarchy
Modifier and Type
Method
Description
`protected int`
OverrideIndicatorLabelDecorator.`findInHierarchy(IType type, ITypeHierarchy hierarchy, String name, String[] paramTypes)`
Deprecated.
Not used anymore.