|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.lang.Binding
groovy.util.FactoryBuilderSupport
org.codehaus.groovy.control.customizers.builder.CompilerCustomizationBuilder
@CompileStatic class CompilerCustomizationBuilder extends FactoryBuilderSupport
A builder which allows easy configuration of compilation customizers. Instead of creating various compilation customizers by hand, you may use this builder instead, which provides a shorter syntax and removes most of the verbosity.
Field Summary |
---|
Fields inherited from class FactoryBuilderSupport | |
---|---|
CURRENT_FACTORY, PARENT_FACTORY, PARENT_NODE, CURRENT_NODE, PARENT_CONTEXT, PARENT_NAME, CURRENT_NAME, OWNER, PARENT_BUILDER, CURRENT_BUILDER, CHILD_BUILDER, SCRIPT_CLASS_NAME |
Constructor Summary | |
CompilerCustomizationBuilder()
|
Method Summary | |
---|---|
protected java.lang.Object
|
postNodeCompletion(java.lang.Object parent, java.lang.Object node)
|
static CompilerConfiguration
|
withConfig(CompilerConfiguration config, Closure code)
|
Methods inherited from class Binding | |
---|---|
getVariable, hasVariable, setVariable, getVariables, setProperty, getProperty, getMetaClass, setMetaClass, invokeMethod, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
CompilerCustomizationBuilder()
Method Detail |
---|
@java.lang.Override protected java.lang.Object postNodeCompletion(java.lang.Object parent, java.lang.Object node)
static CompilerConfiguration withConfig(CompilerConfiguration config, Closure code)
Groovy Documentation