Community
Participate
Working Groups
Build ID: M20060629-1905 Steps To Reproduce: System.out.println( AnnotationTypeDeclaration.NAME_PROPERTY.getChildType(). getSimpleName() + "\n" + EnumDeclaration.NAME_PROPERTY.getChildType). getSimpleName() + "\n" + TypeDeclaration.NAME_PROPERTY.getChildType(). getSimpleName()); Results: Name Name SimpleName More information: For AbstractTypeDeclaration and its subclasses, getName() returns a SimpleName, not a Name; and setName(...) takes a SimpleName.
Released for 3.3M6. Added regression test org.eclipse.jdt.core.tests.dom.ASTConverterTestAST3_2#test0668
Verified for 3.3 M6 using build I20070320-0010