Community
Participate
Working Groups
build I20030927 - open hierarchy on ViewerSorter - change ViewerSorter to be non-abstract and have public constructors - select first "Anonymous of ViewerSorter" subclass (in ProjectReferencePage) - change it to call the 0-arg constructor, rather than creating an anonymous subclass - save - the hierarchy updates to show "Anonymous of ICheckStateListener", which is the next anonymous class in ProjectReferencePage
If there is no subsequent anonymous class, the label in the hierarchy becomes blank.
Martin, this is a know JDT core limitation in M4. Right ?
Was able to reproduce. It seems that the type hierarchy does not get notified that it changed. The hierarchy still reacts to the Java element delta and refreshes. The label gets empty as the type does not exist any more. If there is a subsequest anonymous type the handle is still able to resolve as the two types are equal in the model. Moving to jdt.core
Added support in TypeHierarchy to handle local and anonymous type changes.
Verified.