|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.ast.CodeVisitorSupport org.codehaus.groovy.ast.ClassCodeVisitorSupport groovy.grape.GrabAnnotationTransformation
@GroovyASTTransformation(phase=CompilePhase.CONVERSION) public class GrabAnnotationTransformation extends ClassCodeVisitorSupport
Transformation for declarative dependency management.
Method Summary | |
---|---|
SourceUnit
|
getSourceUnit()
|
void
|
setCompilationUnit(CompilationUnit compilationUnit)
|
void
|
visit(ASTNode[] nodes, SourceUnit source)
|
void
|
visitAnnotations(AnnotatedNode node)
Adds the annotation to the internal target list if a match is found. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public SourceUnit getSourceUnit()
public void setCompilationUnit(CompilationUnit compilationUnit)
public void visit(ASTNode[] nodes, SourceUnit source)
public void visitAnnotations(AnnotatedNode node)
node
- the AST node we are processing
Groovy Documentation