Groovy 2.2.1

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

java.lang.Object
  groovy.util.AbstractFactory
      org.codehaus.groovy.control.customizers.builder.ASTTransformationCustomizerFactory

class ASTTransformationCustomizerFactory
extends AbstractFactory

This factory generates an ast transformation customizer.

Simple syntax:

builder.ast(ToString)
With AST transformation options:
builder.ast(includeNames:true, ToString)
Authors:
Cedric Champeau
Since:
2.1.0


Method Summary
boolean isLeaf()

Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)

boolean onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map attributes)

 
Methods inherited from class AbstractFactory
isLeaf, onFactoryRegistration, isHandlesNodeChildren, onNodeChildren, onHandleNodeAttributes, onNodeCompleted, setChild, setParent, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

isLeaf

@Override
@CompileStatic
boolean isLeaf()


newInstance

@Override
Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)


onHandleNodeAttributes

@Override
@CompileStatic
boolean onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map attributes)


 

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