@GroovyASTTransformation(phase: CompilePhase.CANONICALIZATION) @CompileStatic class GlobalGrailsClassInjectorTransformation extends Object implements ASTTransformation, CompilationUnitAware
A global transformation that applies Grails' transformations to classes within a Grails project
Type | Name and description |
---|---|
static ClassNode |
APPLICATION_CONTEXT_COMMAND_CLASS |
static ClassNode |
ARTEFACT_CLASS_NODE |
static ClassNode |
ARTEFACT_HANDLER_CLASS |
static ClassNode |
TRAIT_INJECTOR_CLASS |
CompilationUnit |
compilationUnit |
Constructor and description |
---|
GlobalGrailsClassInjectorTransformation() |
Type Params | Return Type | Name and description |
---|---|---|
|
static File |
resolveCompilationTargetDirectory(SourceUnit source) |
|
static boolean |
updateGrailsFactoriesWithType(ClassNode classNode, ClassNode superType, File compilationTargetDirectory) |
|
void |
visit(ASTNode[] nodes, SourceUnit source) |