AstBuilderTransformation (Groovy 3.0.7)

Package org.codehaus.groovy.ast.builder

## Class AstBuilderTransformation

- java.lang.Object
- - org.codehaus.groovy.ast.MethodCallTransformation
  - - org.codehaus.groovy.ast.builder.AstBuilderTransformation

- All Implemented Interfaces:
    `ASTTransformation`

      @Deprecated
      public class AstBuilderTransformation
      extends MethodCallTransformation

  Deprecated.
  Transformation to capture ASTBuilder from code statements.

  The AstBuilder "from code" approach is used with a single Closure parameter. This transformation converts the ClosureExpression back into source code and rewrites the AST so that the "from string" builder is invoked on the source. In order for this to work, the closure source must be given a goto label. It is the "from string" approach's responsibility to remove the BlockStatement created by the label.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AstBuilderTransformation()` | Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected GroovyCodeVisitor` | `getTransformer​(ASTNode[] nodes, SourceUnit sourceUnit)` | Deprecated.

    - ### Methods inherited from class org.codehaus.groovy.ast.MethodCallTransformation

      `visit`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AstBuilderTransformation

          public AstBuilderTransformation()

      Deprecated.

  - ### Method Detail

    - #### getTransformer

          protected GroovyCodeVisitor getTransformer​(ASTNode[] nodes,
                                                     SourceUnit sourceUnit)

      Deprecated.
      Specified by:
        `getTransformer` in class `MethodCallTransformation`