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, getMemberValue, hasAnnotation, init, memberHasValue, nonGeneric, shouldSkip, tokenize |
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.