Groovy 2.2.1

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)

static void createToString(ClassNode cNode, boolean includeSuper, boolean includeFields, List excludes, List includes, boolean includeNames, boolean ignoreNulls, boolean includePackage)

static void createToString(ClassNode cNode, boolean includeSuper, boolean includeFields, List excludes, List includes, boolean includeNames, boolean ignoreNulls, boolean includePackage, boolean cache)

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

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)


createToString

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


createToString

public static void createToString(ClassNode cNode, boolean includeSuper, boolean includeFields, List excludes, List includes, boolean includeNames, boolean ignoreNulls, boolean includePackage, boolean cache)


visit

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


 

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