@FunctionalInterface
public interface CompilationUnit.ISourceUnitOperation
extends CompilationUnit.PhaseOperation
Performs an operation for each source unit in the compilation.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
call(SourceUnit source)Performs the operation for one source unit. |
|
public void |
doPhaseOperation(CompilationUnit unit)A loop driver for applying operations to all SourceUnits. |
| Methods inherited from class | Name |
|---|---|
interface CompilationUnit.PhaseOperation |
doPhaseOperation |
Performs the operation for one source unit.
source - the source unit to processA loop driver for applying operations to all SourceUnits. Automatically skips units that have already been processed through the current phase.