Summary: | DOM/AST: need for a node that holds the body statements of a ClassInstanceCreation | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dirk Baeumer <dirk_baeumer> |
Component: | Core | Assignee: | Jim des Rivieres <jeem> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Olivier_Thomann |
Version: | 2.0 | ||
Target Milestone: | 2.0 M4 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Dirk Baeumer
2002-02-28 11:39:26 EST
Agreed. Adding a new type of node to hold the anonymous class declaration would make it simpler all around. Proposal: + public class AnonymousClassDeclaration extends ASTNode { public List bodyDeclarations(); public ITypeBinding resolveBinding(); } ClassInstanceCreation + public AnonymousClassDeclaration getAnonymousClassDeclaration(); + public void setAnonymousClassDeclaration(AnonymousClassDeclaration anon); - public List bodyDeclarations(); - public boolean isAnonymousClassDeclaration(); - public void setAnonymousClassDeclaration(boolean isAnon); Fixed and released in HEAD. |