[Java] Class DelegatingCustomizer
- org.codehaus.groovy.control.customizers.DelegatingCustomizer
- All Implemented Interfaces and Traits:
- CompilationUnitAware
public abstract class DelegatingCustomizer extends CompilationCustomizer implements CompilationUnitAware
Base class for compilation customizers which delegate to another customizer. The phase this customizer runs at is retrieved from the phase of the delegate.
- Since:
- 2.1.0
Field Summary
| Modifiers | Name | Description |
|---|---|---|
protected CompilationCustomizer | delegate |
Constructor Summary
| Constructor and description |
|---|
DelegatingCustomizer
(CompilationCustomizer delegate) |
Methods Summary
| Type Params | Return Type | Name and description |
|---|---|---|
public void |
call(SourceUnit source, GeneratorContext context, ClassNode classNode) | |
public void |
setCompilationUnit(CompilationUnit compilationUnit) |
Inherited Methods Summary
| Methods inherited from class | Name |
|---|---|
class CompilationCustomizer | getPhase |
Field Detail
protected final CompilationCustomizer delegate
Constructor Detail
public DelegatingCustomizer(CompilationCustomizer delegate)
Method Detail
@Override public void call(SourceUnit source, GeneratorContext context, ClassNode classNode)
@Override public void setCompilationUnit(CompilationUnit compilationUnit)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/customizers/DelegatingCustomizer.html