@FunctionalInterface
public interface CompilationUnit.IGroovyClassOperation
extends CompilationUnit.PhaseOperation
Performs an operation for each generated GroovyClass.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
call(GroovyClass groovyClass)Performs the operation for one generated class. |
|
public void |
doPhaseOperation(CompilationUnit unit)Applies this operation to all generated classes in the compilation unit. |
| Methods inherited from class | Name |
|---|---|
interface CompilationUnit.PhaseOperation |
doPhaseOperation |
Performs the operation for one generated class.
groovyClass - the generated class to processApplies this operation to all generated classes in the compilation unit.
unit - the compilation unit supplying generated classes