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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source)
-
Field Details
-
ORDER
public static final int ORDERThe order of the transformation.- See Also:
-
-
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 interfaceorg.codehaus.groovy.transform.ASTTransformation
-