Community
Participate
Working Groups
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
Might be related to bug 78934.
*** This bug has been marked as a duplicate of 78934 ***