[Java] Class GrabAnnotationTransformation
- groovy.grape.GrabAnnotationTransformation
 
- All Implemented Interfaces and Traits:
 - ASTTransformation, CompilationUnitAware
 
@GroovyASTTransformation(phase=CompilePhase.CONVERSION) public class GrabAnnotationTransformation extends ClassCodeVisitorSupport implements ASTTransformation, CompilationUnitAware
Transformation for declarative dependency management.
Methods Summary
| Type Params | Return Type | Name and description | 
|---|---|---|
public SourceUnit |  
getSourceUnit() |  |
public void |  
setCompilationUnit(CompilationUnit compilationUnit) |  |
public void |  
visit(ASTNode[] nodes, SourceUnit source) |  |
public void |  
visitAnnotations(AnnotatedNode node)Adds the annotation to the internal target list if a match is found.  |  
Inherited Methods Summary
Method Detail
public SourceUnit getSourceUnit()
public void setCompilationUnit(CompilationUnit compilationUnit)
public void visit(ASTNode[] nodes, SourceUnit source)
public void visitAnnotations(AnnotatedNode node)
Adds the annotation to the internal target list if a match is found.
- Parameters:
 - 
node- the AST node we are processing 
    © 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
    https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/grape/GrabAnnotationTransformation.html