Groovy 2.1: The @DelegatesTo Annotation

http://docs.codehaus.org/display/GROOVY/Eclipse+Plugin#EclipsePlugin-DevelopmentBuildsGroovy 2.1 comes with a neat feature for DSL and Groovy library others: the @DelegateTo [0] annotation. The Delegate and The Closure Groovy supports the concept of closures [

Groovy 2.1: The @AnnotationCollector Annotation

Groovy 2.1 comes with another cool addition to the groovy.transform AST package: the @AnnotationCollector [0]. X Annotations -> 1 Annotation The use case for the annotation collector is simple:...

Groovy 2.1: groovyc --configscript

One of the new features in Groovy 2.1 [0] is the -configscript Groovy compiler program option. Compiler Configuration Script with --configscript The --configscript option can be used to specify...

Groovy 2.1.0 Released!

Groovy 2.1.0 has been released today. This release comes with important additions for DSL authors, third party...

Groovy Quickie: Collection#inject([Object,] Closure)

Groovy has a nice Groovy default method called inject [0]. Inject can be executed on collection types and is used for algorithms having intermediate results that need to be...

Groovy Quickie: Dumping the Groovy AST

Lately I had a strange bug in a project-specific AST transformation that caused me to look for ways to directly use the Groovy AST browser from within the affected components....

GVM - the Groovy enVironment Manager

Marco Vermeulen [0] created a new tool that supports in keeping track and switching between different versions of Groovy(-influenced) software development kits: GVM [1]. At the time of...