StaticCompileTransformation (Groovy 4.0.15)

Package: org.codehaus.groovy.transform.sc

## [Java] Class StaticCompileTransformation

- org.codehaus.groovy.transform.sc.StaticCompileTransformation

-     @GroovyASTTransformation(phase = CompilePhase.INSTRUCTION_SELECTION)
      public class StaticCompileTransformation
      extends StaticTypesTransformation

  Handles the implementation of the CompileStatic transformation.

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class StaticTypesTransformation` | `STATIC_ERROR_PREFIX, compilationUnit`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected StaticTypeCheckingVisitor` | `newVisitor(SourceUnit unit, ClassNode node)`
    `` | `public void` | `visit(ASTNode[] nodes, SourceUnit source)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class StaticTypesTransformation` | `addTypeCheckingExtensions, newVisitor, setCompilationUnit, visit`

- - ### Method Detail

    - #### @Override
      protected StaticTypeCheckingVisitor newVisitor(SourceUnit unit, ClassNode node)

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