Class GroovyBeansTransformation

java.lang.Object
org.springframework.boot.cli.compiler.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.
Since:
1.0.0
Author:
Dave Syer
  • Field Details

  • Constructor Details

    • GroovyBeansTransformation

      public GroovyBeansTransformation()
  • Method Details

    • 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