Bug 36144

Summary: [DOM/AST] DOM support for JSR-201 language changes
Product: [Eclipse Project] JDT Reporter: Jim des Rivieres <jeem>
Component: CoreAssignee: Jim des Rivieres <jeem>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: dahlberg, danrubel, Olivier_Thomann, philippe_mulet
Version: 2.1   
Target Milestone: 3.1 M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
DOM/AST API experimental support for JSR-201
none
DOM/AST API experimental support for JSR-201 - API test suites none

Description Jim des Rivieres CLA 2003-04-07 11:38:29 EDT
JSR-201 (Extending the JavaTM Programming Language with Enumerations, 
Autoboxing, Enhanced for loops and Static Import) is a candidate for inclusion 
in J2SE 1.5.  We should tentatively add support for these language changes in 
DOM/AST.

Early specs are posted on the main page of JSR-201: 
http://jcp.org/en/jsr/detail?id=201
Comment 1 Jim des Rivieres CLA 2003-04-14 13:21:00 EDT
Created attachment 4577 [details]
DOM/AST API experimental support for JSR-201

Provides new and updated AST node types only. Underlying parser/compiler
support is missing.
Comment 2 Jim des Rivieres CLA 2003-04-14 13:24:25 EDT
Created attachment 4578 [details]
DOM/AST API experimental support for JSR-201 - API test suites

Includes basic tests for new and changed AST node types. Does not include any
AST node conversion tests (which require parser).
Comment 3 Jim des Rivieres CLA 2003-11-27 10:18:46 EST
DOM/AST experimental API for JSR-201 support has been released to the JDK_1_5 
branch of org.eclipse.jdt.core org.eclipse.jdt.core.tests.model
Comment 4 Jim des Rivieres CLA 2004-02-24 14:14:12 EST
I20040224 includes basic support for new and modified AST node types, incuding 
the ones for the new JSR-201 language features. The new node types are 
available in the 3.0 version of the AST API. Note that there is no Java 
parser/compiler backing it yet, which means that AST.parse*() methods (now on 
new ASTParser class) do not yet support the 3.0 AST API.
Comment 5 Jim des Rivieres CLA 2004-11-08 11:19:04 EST
DOM/AST support for otehr JSR-201 language features is in the Eclipse 3.1 
stream (and has been for a while). Expect minor tweaks to the API, but 
otherwise is in its finished form.

Closing.