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 |
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.