...
Table of Contents indent 10px maxLevel 4 style disc
Groovy 2.0
Groovy 2.0 .0 is now available in Groovy-Eclipse as an optional add-on. We have not yet made the compiler default because we make our default compiler compatible with the default compiler of the latest release of Grails. At the time of this release, Grails is at version 2.0.4, which uses Groovy 1.8 as its compiler. When Grails moves to being based on Groovy 2.x, Groovy-Eclipse will move its default compiler as well.
To install Groovy 2.0.0, go to Help --> Install new Software. In the work with tab, choose the Groovy-Eclipse update site and select the Extra Compilers category:
...
@TypeChecked and @CompileStatic Support
With the 2.0 .0 compiler enabled, you can use the @TypeChecked and @CompileStatic annotations and Groovy-Eclipse compiles with them appropriately. Here is an example from the What's new in Groovy 2.0 article on InfoQ:
...