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 abeans{}
DSL element, and this transformation will remove it and make it accessible to the Spring application via an interface.
Field Summary
Fields Modifier and Type Field Description static int
ORDER
The order of the transformation.
Constructor Summary
Constructors Constructor Description GroovyBeansTransformation()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source)
Field Detail
ORDER
public static final int ORDER
The order of the transformation.- See Also:
- Constant Field Values
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 interfaceorg.codehaus.groovy.transform.ASTTransformation