BuilderASTTransformation (Groovy 5.0.6)

Package: org.codehaus.groovy.transform

## [Java] Class BuilderASTTransformation

- org.codehaus.groovy.transform.BuilderASTTransformation

- All Implemented Interfaces and Traits:
    CompilationUnitAware, TransformWithPriority

      @GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS)
      public class BuilderASTTransformation
      extends AbstractASTTransformation
      implements CompilationUnitAware, TransformWithPriority

  Handles generation of code for the Builder annotation.

- - ### Nested Class Summary

    Nested classes
    Modifiers | Name | Description
    --- | --- | ---
    `static class` | `BuilderASTTransformation.AbstractBuilderStrategy` |
    `interface` | `BuilderASTTransformation.BuilderStrategy` |

  - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static String` | `MY_TYPE_NAME` |
    `static ClassNode[]` | `NO_EXCEPTIONS` |
    `static Parameter[]` | `NO_PARAMS` |

  - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class AbstractASTTransformation` | `RETENTION_CLASSNODE, sourceUnit`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public int` | `priority()`
    `` | `public void` | `setCompilationUnit(CompilationUnit unit)`
    `` | `public void` | `visit(ASTNode[] nodes, SourceUnit source)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class AbstractASTTransformation` | `addError, checkIncludeExcludeUndefinedAware, checkIncludeExcludeUndefinedAware, checkNotInterface, checkPropertyList, checkPropertyList, checkPropertyList, copyAnnotatedNodeAnnotations, copyAnnotatedNodeAnnotations, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, memberHasValue, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize`

- - ### Field Detail

    - #### public static final String MY_TYPE_NAME

    - #### public static final ClassNode[] NO_EXCEPTIONS

    - #### public static final Parameter[] NO_PARAMS

  - ### Method Detail

    - #### @Override
      public int priority()

    - #### @Override
      public void setCompilationUnit(CompilationUnit unit)

    - #### @Override
      public void visit(ASTNode[] nodes, SourceUnit source)