Project: JDT
Bug 78496 ASTFlattener does not serialize EnumConstantDeclarations [code manipulation]
Reported: 2004-11-12 08:30:03 | Status: verified fixed

In the class org.eclipse.jdt.internal.corext.dom.ASTFlattener, the code in the method "public boolean visit(EnumDeclaration node)" seems to expect EnumConstantDeclarations, in the "bodyDeclarations" list, but enumeration constants are stored in "enumConstants" list. NaiveASTFlattener works OK, though.

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java