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` | Base class for builder generation strategies.
    `interface` | `BuilderASTTransformation.BuilderStrategy` | Strategy interface for builder code generation.

  - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static String` | `MY_TYPE_NAME` | String representation of the Builder: annotation for error reporting.
    `static ClassNode[]` | `NO_EXCEPTIONS` | Empty array of ClassNode for use in method signatures.
    `static Parameter[]` | `NO_PARAMS` | Empty array of Parameter for use in method signatures.

  - 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, deemedInternal, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, markAsInternal, memberHasValue, shouldSkip, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize`

- - ### Field Detail

    - #### public static final String MY_TYPE_NAME

      String representation of the

      Builder:
        annotation for error reporting.

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

      Empty array of ClassNode for use in method signatures.

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

      Empty array of Parameter for use in method signatures.

  - ### Method Detail

    - #### public int priority()

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

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