Bug 48290 - Show Hierarchy incomplete for nested types [type hierarchy]
Summary: Show Hierarchy incomplete for nested types [type hierarchy]
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M6   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 12:18 EST by Markus Keller CLA
Modified: 2003-12-10 06:10 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.