Class GroovyBeansTransformation

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

    @Order(-2147483348)
    public class GroovyBeansTransformation
    extends java.lang.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 through an interface.
    Since:
    2022.1.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ORDER
      The order of the transformation.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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