public class CacheTransformation
extends java.lang.Object
implements org.codehaus.groovy.transform.ASTTransformation
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<org.codehaus.groovy.ast.ClassNode,org.codehaus.groovy.ast.ClassNode> |
GRAILS_ANNOTATION_CLASS_NODE_TO_SPRING_ANNOTATION_CLASS_NODE |
Constructor and Description |
---|
CacheTransformation() |
Modifier and Type | Method and Description |
---|---|
protected org.codehaus.groovy.ast.AnnotationNode |
getCorrespondingSpringAnnotation(org.codehaus.groovy.ast.AnnotationNode grailsCacheAnnotationNode) |
void |
visit(org.codehaus.groovy.ast.ASTNode[] astNodes,
org.codehaus.groovy.control.SourceUnit sourceUnit) |
protected static final java.util.Map<org.codehaus.groovy.ast.ClassNode,org.codehaus.groovy.ast.ClassNode> GRAILS_ANNOTATION_CLASS_NODE_TO_SPRING_ANNOTATION_CLASS_NODE
public void visit(org.codehaus.groovy.ast.ASTNode[] astNodes, org.codehaus.groovy.control.SourceUnit sourceUnit)
visit
in interface org.codehaus.groovy.transform.ASTTransformation
protected org.codehaus.groovy.ast.AnnotationNode getCorrespondingSpringAnnotation(org.codehaus.groovy.ast.AnnotationNode grailsCacheAnnotationNode)