org.codehaus.groovy.transform
[Java] Class ToStringASTTransformation
java.lang.Object
org.codehaus.groovy.transform.AbstractASTTransformation
org.codehaus.groovy.transform.ToStringASTTransformation
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
public class ToStringASTTransformation
extends AbstractASTTransformation
Handles generation of code for the
- ToString:
- annotation.
- Authors:
- Paul King
- Andre Steingress
Method Summary |
static void
|
createToString(ClassNode cNode, boolean includeSuper, boolean includeFields, List excludes, List includes, boolean includeNames)
|
static void
|
createToString(ClassNode cNode, boolean includeSuper, boolean includeFields, List excludes, List includes, boolean includeNames, boolean ignoreNulls)
|
void
|
visit(ASTNode[] nodes, SourceUnit source)
|
createToString
public static void createToString(ClassNode cNode, boolean includeSuper, boolean includeFields, List excludes, List includes, boolean includeNames)
-
createToString
public static void createToString(ClassNode cNode, boolean includeSuper, boolean includeFields, List excludes, List includes, boolean includeNames, boolean ignoreNulls)
-
visit
public void visit(ASTNode[] nodes, SourceUnit source)
-
Copyright © 2003-2012 The Codehaus. All rights reserved.