diff options
Diffstat (limited to 'bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java')
-rw-r--r-- | bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java index e3e151ac..082e15e6 100644 --- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java +++ b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java @@ -98,29 +98,6 @@ IType[] getAllSubtypes(IType type); * array if none. */ IType[] getAllSuperclasses(IType type); -/** - * Returns all resolved supertypes of the - * given type, in bottom-up order. An empty array - * is returned if there are no resolved supertypes for the - * given type. - * </p><p>NOTE: once a type hierarchy has been created, it is more efficient to - * query the hierarchy for supertypes than to query a type recursively up - * the supertype chain. Querying an element performs a dynamic resolution, - * whereas the hierarchy returns a pre-computed result. - * - * @param type the given type - * @return all resolved supertypes of the given class, in bottom-up order, an empty array - * if none - */ -IType[] getAllSupertypes(IType type); -/** - * Returns all types in this type hierarchy's graph, in no particular - * order. Any types in the creation region which were not resolved to - * have any subtypes or supertypes are not included in the result. - * - * @return all types in this type hierarchy's grap - */ -IType[] getAllTypes(); /** * Return the flags associated with the given type (would be equivalent to <code>IMember.getFlags()</code>), @@ -152,19 +129,6 @@ IType[] getRootClasses(); */ IType[] getSubclasses(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. - * If the type is a class, this returns the resolved subclasses. - * If the type is an interface, this returns both the classes which implement - * the interface and the interfaces which extend it. - * - * @param type the given type - * @return the direct resolved subtypes of the given type limited to the types in this - * type hierarchy's graph - */ -IType[] getSubtypes(IType type); -/** * Returns the resolved superclass of the given class, * or <code>null</code> if the given class has no superclass, * the superclass could not be resolved, or if the given @@ -178,20 +142,6 @@ IType[] getSubtypes(IType type); */ IType getSuperclass(IType type); /** - * Returns the resolved supertypes of the given type, - * in no particular order, limited to the types in this - * type hierarchy's graph. - * For classes, this returns its superclass and the interfaces that the class implements. - * For interfaces, this returns the interfaces that the interface extends. As a consequence - * <code>java.lang.Object</code> is NOT considered to be a supertype of any interface - * type. - * - * @param type the given type - * @return the resolved supertypes of the given type limited to the types in this - * type hierarchy's graph - */ -IType[] getSupertypes(IType type); -/** * Returns the type this hierarchy was computed for. * Returns <code>null</code> if this hierarchy was computed for a region. * |