Groovy 2.2.0

org.codehaus.groovy.control.customizers.builder
[Groovy] Class CompilerCustomizationBuilder

java.lang.Object
  groovy.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 Object postNodeCompletion(Object parent, Object node)

static CompilerConfiguration withConfig(CompilerConfiguration config, Closure code)

 
Methods inherited from class FactoryBuilderSupport
invokeMethod, invokeMethod, setVariable, getVariables, getVariable, getCurrent, getPropertyMissingDelegate, setPropertyMissingDelegate, registerBeanFactory, registerBeanFactory, getNameMappingClosure, setNameMappingClosure, withBuilder, withBuilder, withBuilder, addDisposalClosure, checkValueIsNull, checkValueIsType, checkValueIsTypeNotString, autoRegisterNodes, getFactories, getExplicitMethods, getExplicitProperties, getLocalFactories, getLocalExplicitMethods, getLocalExplicitProperties, getRegistrationGroups, getRegistrationGroupItems, getAttributeDelegates, getPreInstantiateDelegates, getPostInstantiateDelegates, getPostNodeCompletionDelegates, getContextAttribute, getCurrentFactory, getCurrentName, getCurrentBuilder, getParentFactory, getParentContext, getParentName, getChildBuilder, addAttributeDelegate, removeAttributeDelegate, addPreInstantiateDelegate, removePreInstantiateDelegate, addPostInstantiateDelegate, removePostInstantiateDelegate, addPostNodeCompletionDelegate, removePostNodeCompletionDelegate, registerExplicitProperty, registerExplicitProperty, registerExplicitMethod, registerExplicitMethod, registerFactory, registerFactory, getParentNode, getMethodMissingDelegate, setMethodMissingDelegate, setProperty, getProperty, getName, getContext, build, build, build, dispose, hasVariable, getMetaClass, setMetaClass, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Binding
setVariable, getVariables, getVariable, hasVariable, setProperty, getProperty, getMetaClass, setMetaClass, invokeMethod, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

CompilerCustomizationBuilder

CompilerCustomizationBuilder()


 
Method Detail

postNodeCompletion

@Override
protected Object postNodeCompletion(Object parent, Object node)


withConfig

static CompilerConfiguration withConfig(CompilerConfiguration config, Closure code)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.