@org.codehaus.groovy.transform.GroovyASTTransformation(phase: CompilePhase.CANONICALIZATION) @groovy.transform.CompileStatic class GlobalGrailsClassInjectorTransformation extends java.lang.Object implements org.codehaus.groovy.transform.ASTTransformation, groovy.transform.CompilationUnitAware
A global transformation that applies Grails' transformations to classes within a Grails project
Modifiers | Name | Description |
---|---|---|
static org.codehaus.groovy.ast.ClassNode |
APPLICATION_CONTEXT_COMMAND_CLASS |
|
static org.codehaus.groovy.ast.ClassNode |
ARTEFACT_CLASS_NODE |
|
static org.codehaus.groovy.ast.ClassNode |
ARTEFACT_HANDLER_CLASS |
|
static org.codehaus.groovy.ast.ClassNode |
TRAIT_INJECTOR_CLASS |
Type | Name and description |
---|---|
org.codehaus.groovy.control.CompilationUnit |
compilationUnit |
static java.util.Set<java.lang.String> |
pendingPluginClasses |
static java.util.Collection<java.lang.String> |
pluginExcludes |
Constructor and description |
---|
GlobalGrailsClassInjectorTransformation
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected static void |
generatePluginXml(org.codehaus.groovy.ast.ClassNode pluginClassNode, java.lang.String pluginVersion, java.util.Set<java.lang.String> transformedClasses, java.io.File pluginXmlFile) |
|
protected static void |
handleExcludes(groovy.util.slurpersupport.GPathResult pluginXml) |
|
static java.io.File |
resolveCompilationTargetDirectory(org.codehaus.groovy.control.SourceUnit source) |
|
static boolean |
updateGrailsFactoriesWithType(org.codehaus.groovy.ast.ClassNode classNode, org.codehaus.groovy.ast.ClassNode superType, java.io.File compilationTargetDirectory) |
|
static void |
updatePluginXml(org.codehaus.groovy.ast.ClassNode pluginClassNode, java.lang.String pluginVersion, java.io.File pluginXmlFile, java.util.Collection<java.lang.String> artefactClasses) |
|
void |
visit(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source) |
|
static void |
writePluginXml(org.codehaus.groovy.ast.ClassNode pluginClassNode, java.lang.String pluginVersion, java.io.File pluginXml, java.util.Collection<java.lang.String> artefactClasses) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation