Klasse CreateTypeHierarchyOperation

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
org.aspectj.org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation
Alle implementierten Schnittstellen:
org.eclipse.core.resources.IWorkspaceRunnable, org.eclipse.core.runtime.ICoreRunnable, org.eclipse.core.runtime.IProgressMonitor

public class CreateTypeHierarchyOperation extends JavaModelOperation
This operation creates an ITypeHierarchy for a specific type within a specified region, or for all types within a region. The specified region limits the number of resolved subtypes (to the subset of types in the specified region). The resolved supertypes may go outside of the specified region in order to reach the root(s) of the type hierarchy. A Java Project is required to provide a context (classpath) to use while resolving supertypes and subtypes.
Siehe auch:
  • Felddetails

    • typeHierarchy

      protected TypeHierarchy typeHierarchy
      The generated type hierarchy
  • Konstruktordetails

    • CreateTypeHierarchyOperation

      public CreateTypeHierarchyOperation(IRegion region, ICompilationUnit[] workingCopies, IType element, boolean computeSubtypes)
      Constructs an operation to create a type hierarchy for the given type within the specified region, in the context of the given project.
    • CreateTypeHierarchyOperation

      public CreateTypeHierarchyOperation(IType element, ICompilationUnit[] workingCopies, IJavaSearchScope scope, boolean computeSubtypes)
      Constructs an operation to create a type hierarchy for the given type and working copies.
    • CreateTypeHierarchyOperation

      public CreateTypeHierarchyOperation(IType element, ICompilationUnit[] workingCopies, IJavaProject project, boolean computeSubtypes)
      Constructs an operation to create a type hierarchy for the given type and working copies.
  • Methodendetails