Class GroovyBeansTransformation

  • All Implemented Interfaces:
    org.codehaus.groovy.transform.ASTTransformation

    @Order(-2147483348)
    public class GroovyBeansTransformation
    extends Object
    implements org.codehaus.groovy.transform.ASTTransformation
    ASTTransformation to resolve beans declarations inside application source files. Users only need to define a beans{} DSL element, and this transformation will remove it and make it accessible to the Spring application via an interface.
    • Method Detail

      • visit

        public void visit​(org.codehaus.groovy.ast.ASTNode[] nodes,
                          org.codehaus.groovy.control.SourceUnit source)
        Specified by:
        visit in interface org.codehaus.groovy.transform.ASTTransformation