|
Groovy 2.2.0 | |||||||
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 Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, 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
Copyright © 2003-2013 The Codehaus. All rights reserved.