Bug 81439

Summary: [1.5][dom] incorrect bindings with member interface
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Frederic Fusier CLA 2004-12-16 13:01:07 EST
Using 3.1 M4 candidate (I200412160010).

Test case:
public class Test<A, B> implements ITest<A, B> {
	ITest.IE<A, B> field;
}
interface ITest<I, J> {
	interface IE<I, J> {}
}

If you look at field type (ParameterizedType ITest.IE<A, B>), then you can
observe using ASTView 1.0.2 than:
 1) getType() is a SimpleType with a QualifiedName.
 2) SimpleType binding is null
 3) QualifiedName ITest.IE and Simplename IE bindings are both
    (raw) type binding: ITest
 4) SimpleName ITest binding is (parameterized) type binding: ITest.IE<A,B>

I would expect:
 1) QualifiedType (I'm not sure of this one)
 2) QualifiedType binding is (parameterized) type binding: ITest.IE
 3) QualifiedName ITest.IE and Simplename IE bindings are both
    (parameterized) type binding: ITest.IE
 4) SimpleName ITest binding is (raw) type binding: ITest
Comment 1 Olivier Thomann CLA 2004-12-16 15:22:56 EST
Might be related to bug 78934.
Comment 2 Olivier Thomann CLA 2005-01-05 19:07:02 EST

*** This bug has been marked as a duplicate of 78934 ***