Groovy 1.8.4

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


Method Summary
static void createToString(ClassNode cNode, boolean includeSuper, boolean includeFields, List excludes, List includes)

static void toStringInit(ClassNode cNode, ConstantExpression fieldValue)

void visit(ASTNode[] nodes, SourceUnit source)

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

Method Detail

createToString

public static void createToString(ClassNode cNode, boolean includeSuper, boolean includeFields, List excludes, List includes)


toStringInit

public static void toStringInit(ClassNode cNode, ConstantExpression fieldValue)


visit

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


 

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