Community
Participate
Working Groups
The quick (sub)type hierarchy is empty if opened on e.g. org.eclipse.jdt.core.dom.Annotation or org.eclipse.jdt.core.dom.Expression. It does not show any subtypes, but the supertype hierarchy works. It works fine on org.eclipse.jdt.core.dom.IExtendedModifier however. Opening the same class in the normal Hierarchy View shows a message about "All types of the current hierarchy 'xxx' have been filtered by either the selectd working set or the chosen locked method.". To reproduce I unzipped a fresh Eclipse 3.2.1, used a new workspace and created a new project.
I cannot reproduce. I tried with a JDK 1.5 and chose 'File > Import > Plug-in Development > Plug-ins and Fragments' to import org.eclipse.jdt.core as project with source folder. Please reopen and provide more exact steps if you can still reproduce in a plain Eclipse SDK install.
I think it has to do with the fact that it's a binary class (I did not import the org.eclipse.jdt.core as source). What I did: - extract a fresh 3.2.1 SDK - open on new workspace - create a new plugin project - add dependency on org.eclipse.jdt.core, org.eclipse.jdt.core.manipulation, org.eclipse.jdt.debug, org.eclipse.jdt.ui - opened org.eclipse.jdt.core.dom.Annotation - navigated to the class' name (Annotation) and pressed CTRL+T - popup is empty Inspired by your comment I removed all but the org.eclipse.jdt.core dependencies, and not it works! Some further investigation shows that it does not work when org.eclipse.jdt.core and org.eclipse.jdt.ui are selected as dependencies. Without *.ui it works. My environment: eclipse.buildId=M20060921-0945 java.runtime.version=1.5.0_09-b03
Thanks, Erwin. Reproduced in HEAD. ITypeHierarchy#getRootClasses() returns an empty array. Expected: j.l.Object.
Verified that the scenario described in comment 2 works using 3.4M4
Verified for 3.4M5 using I20080204-0010