Community
Participate
Working Groups
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.
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.
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.
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.
The most recent JSR-014 spec has changed. The DOM/AST support needs to be revised to take these changes (type wildcards) into account.
Olivier, please add URL links for various additions to specs
This is a link that fixes the latest specs (June 23rd). http://cscott.net/Projects/GJ/Bugs/v22/spec-grammar.html
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.
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.
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.