CompilationUnitAware (Groovy 3.0.7)

Package groovy.transform

## Interface CompilationUnitAware

- All Known Implementing Classes:
    `BuilderASTTransformation`, `DelegatingCustomizer`, `GrabAnnotationTransformation`, `ImmutableASTTransformation`, `LogASTTransformation`, `MacroTransformation`, `MapConstructorASTTransformation`, `SourceAwareCustomizer`, `StaticCompileTransformation`, `StaticTypesTransformation`, `TraitASTTransformation`, `TupleConstructorASTTransformation`

      public interface CompilationUnitAware

  This interface is for AST transformations which must be aware of the compilation unit where they are applied.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `setCompilationUnit​(CompilationUnit unit)` |

- - ### Method Detail

    - #### setCompilationUnit

          void setCompilationUnit​(CompilationUnit unit)