O'Reilly logo

Groovy in Action, Second Edition by Dierk König and Paul King with Guillaume Laforge, Hamlet D'Arcy, Cédric Champeau, Erik Pragt, and Jon Skeet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix E. Annotation parameters

This appendix covers the available parameters for the annotations known by the Groovy compiler. This includes Groovy AST transformations and related annotations.

Table E.1. Annotation groupings

AST transform

Parameter details, chapter coverage

Code generation transformations
@groovy.transform.builder.Builder Table E.6, Section 9.2.1
@groovy.transform.EqualsAndHashCode Table E.16, Section 9.2.1
@groovy.transform.IndexedProperty none, Section 9.2.1
@groovy.transform.InheritConstructors Table E.24, Section 9.2.1
@groovy.lang.Lazy Table E.25, Section 9.2.1
@groovy.lang.Newify Table E.32, Section 19.8
@groovy.transform.ToString Table E.41, Section 9.2.1
@groovy.transform.TupleConstructor ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required