Groovy 2.5 supports macros. Macros let you use Groovy syntax directly rather than using the internal compiler representations when creating compile-time metaprogramming extensions
Compile-time metaprogramming is not yet your cup of tea, don't worry. Groovy 2.5. ships a good list of New AST Transformations, improvements and new methods (e.g.
tap) to make our Groovy code as succint and powerful as you can imagine.