Groovy 2.2.1

org.codehaus.groovy.transform
[Java] Class TupleConstructorASTTransformation

java.lang.Object
  org.codehaus.groovy.transform.AbstractASTTransformation
      org.codehaus.groovy.transform.TupleConstructorASTTransformation

@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
public class TupleConstructorASTTransformation
extends AbstractASTTransformation

Handles generation of code for the

TupleConstructor:
annotation.
Authors:
Paul King


Method Summary
static void addMapConstructors(ClassNode cNode, boolean hasNoArg, String message)

static void createConstructor(ClassNode cNode, boolean includeFields, boolean includeProperties, boolean includeSuperFields, boolean includeSuperProperties, boolean callSuper, boolean force, List excludes, List includes)

void visit(ASTNode[] nodes, SourceUnit source)

 
Methods inherited from class AbstractASTTransformation
addError, checkIncludeExclude, checkNotInterface, getMemberList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, memberHasValue, nonGeneric, shouldSkip, tokenize
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

addMapConstructors

public static void addMapConstructors(ClassNode cNode, boolean hasNoArg, String message)


createConstructor

public static void createConstructor(ClassNode cNode, boolean includeFields, boolean includeProperties, boolean includeSuperFields, boolean includeSuperProperties, boolean callSuper, boolean force, List excludes, List includes)


visit

public void visit(ASTNode[] nodes, SourceUnit source)


 

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