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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doPhaseOperation, 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 interface CompilationUnit.IPrimaryClassNodeOperation
CompilationFailedException