Groovy 1.8.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, List excludes)

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

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

createEquals

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


createHashCode

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


visit

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


 

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