|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.ast.CodeVisitorSupport
org.codehaus.groovy.ast.ClassCodeVisitorSupport
groovy.grape.GrabAnnotationTransformation
public class GrabAnnotationTransformation
Transformation for declarative dependency management.
Constructor Summary | |
---|---|
GrabAnnotationTransformation()
|
Method Summary | |
---|---|
SourceUnit |
getSourceUnit()
|
void |
visit(ASTNode[] nodes,
SourceUnit source)
The call made when the compiler encounters an AST Transformation Annotation |
void |
visitAnnotations(AnnotatedNode node)
Adds the annotation to the internal target list if a match is found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrabAnnotationTransformation()
Method Detail |
---|
public SourceUnit getSourceUnit()
getSourceUnit
in class ClassCodeVisitorSupport
public void visit(ASTNode[] nodes, SourceUnit source)
ASTTransformation
visit
in interface ASTTransformation
nodes
- The ASTnodes when the call was triggeredsource
- The source unit being compiledpublic void visitAnnotations(AnnotatedNode node)
visitAnnotations
in class ClassCodeVisitorSupport
node
- the AST node we are processing
|
Copyright © 2003-2010 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |