### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: model/org/eclipse/jdt/core/ITypeHierarchy.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/ITypeHierarchy.java,v retrieving revision 1.24 diff -u -r1.24 ITypeHierarchy.java --- model/org/eclipse/jdt/core/ITypeHierarchy.java 27 Jun 2008 16:04:01 -0000 1.24 +++ model/org/eclipse/jdt/core/ITypeHierarchy.java 7 Jul 2009 12:00:07 -0000 @@ -21,7 +21,9 @@ * created such that the root of the hierarchy is always included. For example, if a type * hierarchy is created for a java.io.File, and the region the hierarchy was * created in is the package fragment java.io, the supertype - * java.lang.Object will still be included. + * java.lang.Object will still be included. As a historical quirk, + * java.lang.Object has always been included in type hierarchies + * created on interface types. *

* A type hierarchy is static and can become stale. Although consistent when * created, it does not automatically track changes in the model. @@ -141,7 +143,7 @@ * 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 + * @return all types in this type hierarchy's graph */ IType[] getAllTypes();