Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

One hook for accessing this capability is via annotations (for local AST transformationtransformations)s. In your Groovy code you will make use of one of more annotations. Behind the scenes, an AST processor relevant to the annotation you are using is inserted into the compiler phases at the appropriate point. You can explore some of the more popular Annotations below:

...