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 Summary
ModifierConstructorDescriptionprotected
AnnotatedNodeASTTransformation
(Set<String> interestingAnnotationNames, boolean removeAnnotations) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.codehaus.groovy.control.SourceUnit
protected abstract void
processAnnotationNodes
(List<org.codehaus.groovy.ast.AnnotationNode> annotationNodes) void
visit
(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source)
-
Constructor Details
-
AnnotatedNodeASTTransformation
-
-
Method Details
-
visit
public void visit(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source) - Specified by:
visit
in interfaceorg.codehaus.groovy.transform.ASTTransformation
-
getSourceUnit
protected org.codehaus.groovy.control.SourceUnit getSourceUnit() -
processAnnotationNodes
protected abstract void processAnnotationNodes(List<org.codehaus.groovy.ast.AnnotationNode> annotationNodes)
-