Bug 81439 - [1.5][dom] incorrect bindings with member interface
Summary: [1.5][dom] incorrect bindings with member interface
Status: RESOLVED DUPLICATE of bug 78934
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 13:01 EST by Frederic Fusier CLA
Modified: 2005-01-05 19:07 EST (History)
0 users

See Also:


Attachments

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