Bug 36142

Summary: [DOM/AST] DOM support for JSR-014 generics
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: cdokolas, eclipse, jcompagner, mlq.eclipse, nikolaymetchev, Olivier_Thomann, paulm, philippe_mulet, rafial
Version: 2.1   
Target Milestone: 3.1 M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
DOM/AST experimental API for JSR-014 support
none
DOM/AST experimental API for JSR-014 support - API test suites
none
DOM/AST experimental API for JSR-014 support (2) none

Description Jim des Rivieres CLA 2003-04-07 11:30:37 EDT
JSR-014 (generics) is a candidate for inclusion in J2SE 1.5.  We should 
tentatively add support for generics in DOM/AST.

See also bug 20805.
Comment 1 Jim des Rivieres CLA 2003-04-14 13:54:53 EDT
Created attachment 4579 [details]
DOM/AST experimental API for JSR-014 support

Includes basic support for new and modified AST node types. API changes for
IBindings incomplete, as is any connection to Java parser/compiler.
Comment 2 Jim des Rivieres CLA 2003-04-14 13:56:22 EDT
Created attachment 4580 [details]
DOM/AST experimental API for JSR-014 support - API test suites

Tests for basic new and modified node types. No parsing or binding tests.
Comment 3 Jim des Rivieres CLA 2003-04-14 14:19:01 EDT
Created attachment 4581 [details]
DOM/AST experimental API for JSR-014 support (2)

Includes basic support for new and modified AST node types. API changes for
IBindings incomplete, as is any connection to Java parser/compiler.
Comment 4 Jim des Rivieres CLA 2003-10-06 09:30:11 EDT
The most recent JSR-014 spec has changed. The DOM/AST support needs to be 
revised to take these changes (type wildcards) into account.
Comment 5 Philipe Mulet CLA 2003-10-07 05:21:11 EDT
Olivier, please add URL links for various additions to specs
Comment 6 Olivier Thomann CLA 2003-10-08 15:23:03 EDT
This is a link that fixes the latest specs (June 23rd).
http://cscott.net/Projects/GJ/Bugs/v22/spec-grammar.html
Comment 7 Jim des Rivieres CLA 2003-11-27 10:17:02 EST
DOM/AST experimental API for JSR-014 support has been released to the JDK_1_5 
branch of org.eclipse.jdt.core org.eclipse.jdt.core.tests.model

The support has also been updated to cover the June 23, 2003 draft spec. The
only change from the previous patch was the addition of WildcardType.
Comment 8 Jim des Rivieres CLA 2004-02-24 14:13:16 EST
I20040224 includes basic support for new and modified AST node types, incuding 
the ones for JSR-014 generic. 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 9 Jim des Rivieres CLA 2004-11-08 11:18:01 EST
DOM/AST support for generics 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.