Class ASTTransformationCollectorCodeVisitor

  • All Implemented Interfaces:
    GroovyClassVisitor, GroovyCodeVisitor

    public class ASTTransformationCollectorCodeVisitor
    extends ClassCodeVisitorSupport
    This visitor walks the AST tree 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 SEMANTIC_ANALYSIS phase of compilation.

    Author:
    Danno Ferrin (shemnon), Roshan Dawrani (roshandawrani), Jochen Theodorou (blackdrag)