Bug 48290

Summary: Show Hierarchy incomplete for nested types [type hierarchy]
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: martinae
Version: 3.0   
Target Milestone: 3.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2003-12-08 12:18:13 EST
I20031203

In the following example, the quick type hierarchy (Ctrl+T) doesn't show the
second 'doit()' if engaged on the first one (and vice-versa, also after typing
Ctrl+T again). The Type Hierarchy View finds them.

public class A {
	private static class P extends X {
		public void doit() { }
	}
}

class X {
	public void doit() { }
}
Comment 1 Martin Aeschlimann CLA 2003-12-09 03:22:29 EST
seems to be a problem in jdt.core (preview build 20031208)

1. Set a break point in TraditionalHierarchyViewer.getElements
2. Select X.doit, Press CTRL + T

if (Flags.isInterface(hierarchy.getCachedFlags(input))) {

returns true for 'class X'
Comment 2 Markus Keller CLA 2003-12-10 05:55:37 EST
Works again in I20031209_1137.
Comment 3 Jerome Lanneluc CLA 2003-12-10 06:09:48 EST
Reopening to mark as WORKSFORME (no action was taken on JDT Core side to fix 
this problem)
Comment 4 Jerome Lanneluc CLA 2003-12-10 06:10:29 EST
Reporter says it works for him.