Java org.eclipse.jdt.core ITypeHierarchy fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core ITypeHierarchy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core ITypeHierarchy.

The text is from its open source code.

Implementation

org.eclipse.jdt.core.ITypeHierarchy has the following implementations.
Click this link to see all its implementation.

Method

voidaddTypeHierarchyChangedListener(ITypeHierarchyChangedListener listener)
Adds the given listener for changes to this type hierarchy.
booleancontains(IType type)
Returns whether the given type is part of this hierarchy.
booleanexists()
Returns whether the type and project this hierarchy was created on exist.
IType[]getAllClasses()
Returns all classes in this type hierarchy's graph, in no particular order.
IType[]getAllInterfaces()
Returns all interfaces in this type hierarchy's graph, in no particular order.
IType[]getAllSubtypes(IType type)
Returns all resolved subtypes (direct and indirect) of the given type, in no particular order, limited to the types in this type hierarchy's graph.
IType[]getAllSuperclasses(IType type)
Returns all resolved superclasses of the given class, in bottom-up order.
IType[]getAllSuperInterfaces(IType type)
Returns all resolved superinterfaces (direct and indirect) of the given type.
IType[]getAllSupertypes(IType type)
Returns all resolved supertypes of the given type, in bottom-up order.
IType[]getAllTypes()
Returns all types in this type hierarchy's graph, in no particular order.
intgetCachedFlags(IType type)
Return the flags associated with the given type (would be equivalent to IMember.getFlags()), or -1 if this information wasn't cached on the hierarchy during its computation.
IType[]getExtendingInterfaces(IType type)
Returns all interfaces resolved to extend the given interface, in no particular order, limited to the interfaces in this hierarchy's graph.
IType[]getImplementingClasses(IType type)
Returns all classes resolved to implement the given interface, in no particular order, limited to the classes in this type hierarchy's graph.
IType[]getRootClasses()
Returns all classes in the graph which have no resolved superclass, in no particular order.
IType[]getSubclasses(IType type)
Returns the direct resolved subclasses of the given class, in no particular order, limited to the classes in this type hierarchy's graph.
IType[]getSubtypes(IType type)
Returns the direct resolved subtypes of the given type, in no particular order, limited to the types in this type hierarchy's graph.
ITypegetSuperclass(IType type)
Returns the resolved superclass of the given class, or null if the given class has no superclass, the superclass could not be resolved, or if the given type is an interface.
IType[]getSuperInterfaces(IType type)
Returns the direct resolved interfaces that the given type implements or extends, in no particular order, limited to the interfaces in this type hierarchy's graph.
IType[]getSupertypes(IType type)
Returns the resolved supertypes of the given type, in no particular order, limited to the types in this type hierarchy's graph.
ITypegetType()
Returns the type this hierarchy was computed for.
voidrefresh(IProgressMonitor monitor)
Re-computes the type hierarchy reporting progress.
voidremoveTypeHierarchyChangedListener(ITypeHierarchyChangedListener listener)
Removes the given listener from this type hierarchy.