public class ActiveObjectASTTransformation
extends java.lang.Object
implements org.codehaus.groovy.transform.ASTTransformation
Inspired by org.codehaus.groovy.transform.LogASTTransformation
Modifier and Type | Class and Description |
---|---|
private static class |
ActiveObjectASTTransformation.MyClassCodeExpressionTransformer |
Constructor and Description |
---|
ActiveObjectASTTransformation() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
isRootActiveObject(org.codehaus.groovy.ast.ClassNode classNode) |
private static java.lang.String |
lookupActorFieldName(org.codehaus.groovy.ast.AnnotationNode logAnnotation) |
private static java.lang.String |
lookupActorGroupName(org.codehaus.groovy.ast.AnnotationNode logAnnotation) |
void |
visit(org.codehaus.groovy.ast.ASTNode[] nodes,
org.codehaus.groovy.control.SourceUnit source) |
public void visit(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source)
visit
in interface org.codehaus.groovy.transform.ASTTransformation
private static boolean isRootActiveObject(org.codehaus.groovy.ast.ClassNode classNode)
private static java.lang.String lookupActorFieldName(org.codehaus.groovy.ast.AnnotationNode logAnnotation)
private static java.lang.String lookupActorGroupName(org.codehaus.groovy.ast.AnnotationNode logAnnotation)