|
|||||||||
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
Created by IntelliJ IDEA. User: Danno Date: Jan 18, 2008 Time: 9:48:57 PM
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 |
protected void |
visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
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 compiledprotected void visitConstructorOrMethod(MethodNode node, boolean isConstructor)
visitConstructorOrMethod
in class ClassCodeVisitorSupport
public void visitAnnotations(AnnotatedNode node)
visitAnnotations
in class ClassCodeVisitorSupport
node
-
|
Copyright © 2003-2010 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |