Bug 11795

Summary: java browsing: members type shows imports strangely
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: UIAssignee: Dani Megert <daniel_megert>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: 2.0 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2002-03-20 05:35:33 EST
give this code:
package p;
import java.util.List;
public class A {
	class D{
	}
}

i see the import container as a child of both A and D
strange
Comment 1 Dani Megert CLA 2002-03-20 08:46:51 EST
What means "stangely"?

Where would you like to see the imports? Imports are NOT tied to an class in a
CU. When should I show it? You could argue: not for inner classes, but they also
contribute to that list.
Comment 2 Adam Kiezun CLA 2002-03-21 05:07:15 EST
it should not show up as a subnode of D
Comment 3 Dani Megert CLA 2002-03-21 05:12:27 EST
Correct
Comment 4 Dani Megert CLA 2002-03-22 08:51:04 EST
Fixed