Community
Participate
Working Groups
Actually GMFT templates contains a big deal of the code that tries to generate code compatible with pre-generics java (see CodeStyle.xpt). It makes difficult to read and maintain the templates, and also it does not solve any problems now, because generated code already depends on the external API only available for JDK 5+. Given that actual version of J2SE is 7, and that 1.4 is in EOL, we can safely obsolete generation for non-generics Java and simplify the templates.
We haven't done that for Juno, deferred to next release.
The code generated for Kepler already has most of the 1.4-stylish code eliminated, from the generation except the places where the GMFT generated code calls old APIs that returns not-typed collections. As the platform itself and plugins GMF depends on (including APIs) are moving forward with adopting the modern Java code including the APIs, GMF-T shall ensure that at the end of Luna cycle the generated code does not produce warnings related to outdated code constructs. So I am now upgrading this bugzilla to be a plan item for Luna.