org.springframework.boot.cli.compiler

Class AnnotatedNodeASTTransformation

  • java.lang.Object
    • org.springframework.boot.cli.compiler.AnnotatedNodeASTTransformation
  • All Implemented Interfaces:
    org.codehaus.groovy.transform.ASTTransformation
    Direct Known Subclasses:
    DependencyManagementBomTransformation, ResolveDependencyCoordinatesTransformation


    public abstract class AnnotatedNodeASTTransformation
    extends Object
    implements org.codehaus.groovy.transform.ASTTransformation
    A base class for AST transformations that are solely interested in AnnotatedNodes.
    Since:
    1.1.0
    Author:
    Andy Wilkinson
    • Constructor Detail

      • AnnotatedNodeASTTransformation

        protected AnnotatedNodeASTTransformation(Set<String> interestingAnnotationNames,
                                                 boolean removeAnnotations)
    • Method Detail

      • visit

        public void visit(org.codehaus.groovy.ast.ASTNode[] nodes,
                          org.codehaus.groovy.control.SourceUnit source)
        Specified by:
        visit in interface org.codehaus.groovy.transform.ASTTransformation
      • getSourceUnit

        protected org.codehaus.groovy.control.SourceUnit getSourceUnit()
      • processAnnotationNodes

        protected abstract void processAnnotationNodes(List<org.codehaus.groovy.ast.AnnotationNode> annotationNodes)