Groovy 2.2.0

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

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

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

Method Summary
static void createEquals(ClassNode cNode, boolean includeFields, boolean callSuper, boolean useCanEqual, List excludes, List includes)

static void createHashCode(ClassNode cNode, boolean cacheResult, boolean includeFields, boolean callSuper, 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
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

createEquals

public static void createEquals(ClassNode cNode, boolean includeFields, boolean callSuper, boolean useCanEqual, List excludes, List includes)


createHashCode

public static void createHashCode(ClassNode cNode, boolean cacheResult, boolean includeFields, boolean callSuper, List excludes, List includes)


visit

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


 

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