Class ASTTransformationCollectorCodeVisitor

java.lang.Object
org.codehaus.groovy.ast.CodeVisitorSupport
org.codehaus.groovy.ast.ClassCodeVisitorSupport
org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor
All Implemented Interfaces:
GroovyClassVisitor, GroovyCodeVisitor, ErrorCollecting

public class ASTTransformationCollectorCodeVisitor extends ClassCodeVisitorSupport
Walks the AST and collects references to annotations that are annotated themselves by GroovyASTTransformation. Each such annotation is added.

This visitor is only intended to be executed once, during the CompilePhase.SEMANTIC_ANALYSIS phase of compilation.