public abstract class DelegatingCustomizer extends CompilationCustomizer implements CompilationUnitAware
Modifier and Type | Field and Description |
---|---|
protected CompilationCustomizer |
delegate |
Constructor and Description |
---|
DelegatingCustomizer(CompilationCustomizer delegate) |
Modifier and Type | Method and Description |
---|---|
void |
call(SourceUnit source,
GeneratorContext context,
ClassNode classNode) |
void |
setCompilationUnit(CompilationUnit compilationUnit) |
getPhase
needSortedInput
protected final CompilationCustomizer delegate
public DelegatingCustomizer(CompilationCustomizer delegate)
public void setCompilationUnit(CompilationUnit compilationUnit)
setCompilationUnit
in interface CompilationUnitAware
public void call(SourceUnit source, GeneratorContext context, ClassNode classNode) throws CompilationFailedException
call
in class CompilationUnit.PrimaryClassNodeOperation
CompilationFailedException