|
Groovy 1.7.0 | |||||||
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
@GroovyASTTransformation(phase=CompilePhase.CONVERSION) class GrabAnnotationTransformation extends ClassCodeVisitorSupport
Transformation for declarative dependency management.
Field Summary | |
---|---|
boolean |
allowShortGrab
|
boolean |
allowShortGrabConfig
|
boolean |
allowShortGrabExcludes
|
boolean |
allowShortGrabResolver
|
boolean |
allowShortGrapes
|
Set |
grabAliases
|
List |
grabAnnotations
|
Set |
grabConfigAliases
|
List |
grabConfigAnnotations
|
Set |
grabExcludeAliases
|
List |
grabExcludeAnnotations
|
Set |
grabResolverAliases
|
List |
grabResolverAnnotations
|
Set |
grapesAliases
|
List |
grapesAnnotations
|
boolean |
initContextClassLoader
|
ClassLoader |
loader
|
SourceUnit |
sourceUnit
|
Constructor Summary | |
GrabAnnotationTransformation()
|
Method Summary | |
---|---|
SourceUnit
|
getSourceUnit()
|
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, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
boolean allowShortGrab
boolean allowShortGrabConfig
boolean allowShortGrabExcludes
boolean allowShortGrabResolver
boolean allowShortGrapes
Set grabAliases
List grabAnnotations
Set grabConfigAliases
List grabConfigAnnotations
Set grabExcludeAliases
List grabExcludeAnnotations
Set grabResolverAliases
List grabResolverAnnotations
Set grapesAliases
List grapesAnnotations
boolean initContextClassLoader
ClassLoader loader
SourceUnit sourceUnit
Constructor Detail |
---|
GrabAnnotationTransformation()
Method Detail |
---|
public SourceUnit getSourceUnit()
public void visit(ASTNode[] nodes, SourceUnit source)
public void visitAnnotations(AnnotatedNode node)
Copyright © 2003-2009 The Codehaus. All rights reserved.