public abstract class AnnotatedNodeASTTransformation extends Object implements org.codehaus.groovy.transform.ASTTransformation
AST transformations
that are solely
interested in AnnotatedNodes
.Modifier | Constructor and Description |
---|---|
protected |
AnnotatedNodeASTTransformation(Set<String> interestingAnnotationNames,
boolean removeAnnotations) |
Modifier and Type | Method and Description |
---|---|
protected org.codehaus.groovy.control.SourceUnit |
getSourceUnit() |
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) |
public void visit(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source)
visit
in interface org.codehaus.groovy.transform.ASTTransformation
protected org.codehaus.groovy.control.SourceUnit getSourceUnit()
protected abstract void processAnnotationNodes(List<org.codehaus.groovy.ast.AnnotationNode> annotationNodes)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.