Enforce the return type of a method in groovy.
-
Updated
Mar 6, 2019 - Groovy
Enforce the return type of a method in groovy.
This is a small AST transformation that allows you to get the source code of a Class at run-time.
AST transformations as an example of compile-time metaprogramming in groovy.
Add a description, image, and links to the ast-transformation topic page so that developers can more easily learn about it.
To associate your repository with the ast-transformation topic, visit your repo's landing page and select "manage topics."