[Spoon-discuss] Spoon 3.0 Released

Martin Monperrus martin.monperrus at univ-lille1.fr
Tue Dec 9 12:05:43 CET 2014

Dear all,

We are pleased to announce the release of Spoon 3.0.

*Major features:*
- Complete supportfor analysis and transformation ofJava 7 code (see below)
- Better API for templates (see below)

*Bug fixes:*
- Fixes references of executables
- Fixes fields typed by arrays in an inner class
- Fixes a bug in noclasspath mode

- Removes all deprecated methods

Spoon 3.0 is available in Maven Central and at

Kudos to Gérard Paligot for the key contributions on Java 7 and its
testing, thanks to all contributors and thanks to Inria for the support.

Best regards,


*Changes in the metamodel for Java 7*
- Introduced CtMultiTypedElement and  (CtCatchVariable represents "catch
(IOException | NullPointerException e)" where e has two different types)
- CtTry.setVariable now requires a CtCatchVariable
- Tested on 19 open-source projects

*Changes in templates:*
- Adds a explicit hiearchy of template kinds (BlockTemplate,
ExtensionTemplate, ...). Method "apply" applies the template to a code

PS: Star Spoon on Github https://github.com/INRIA/spoon

Martin Monperrus, University of Lille & INRIA,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/spoon-discuss/attachments/20141209/c733572d/attachment.html>

More information about the Spoon-discuss mailing list