org.springframework.boot.cli.compiler

Class GroovyBeansTransformation

  • java.lang.Object
    • org.springframework.boot.cli.compiler.GroovyBeansTransformation
  • All Implemented Interfaces:
    org.codehaus.groovy.transform.ASTTransformation


    @Order(value=-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.
    Author:
    Dave Syer
    • Field Detail

    • Constructor Detail

      • GroovyBeansTransformation

        public GroovyBeansTransformation()
    • 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