CompilationUnit.ISourceUnitOperation (Groovy 5.0.0)

Package: org.codehaus.groovy.control

## [Java] Interface CompilationUnit.ISourceUnitOperation

- PhaseOperation

- All Superinterfaces:
    PhaseOperation

      @FunctionalInterface
      public interface CompilationUnit.ISourceUnitOperation
      extends PhaseOperation

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public void` | `call(SourceUnit source)`
    `` | `public void` | `doPhaseOperation(CompilationUnit unit)` A loop driver for applying operations to all SourceUnits.

- - ### Method Detail

    - #### public void call(SourceUnit source)

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

      A loop driver for applying operations to all SourceUnits. Automatically skips units that have already been processed through the current phase.