When implemented allows additional properties to be injected into Grails classes at compile time (ie when they are loaded by the GroovyClassLoader).
| Modifiers | Name | Description |
|---|---|---|
int |
PRIVATE_STATIC_MODIFIER |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode)Handles injection of properties, methods etc. into a class. |
|
void |
performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode)Handles injection of properties, methods etc. into a class. |
|
void |
performInjectionOnAnnotatedClass(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode)Handles injection of properties, methods etc. into a class. |
|
boolean |
shouldInject(java.net.URL url)Returns whether this injector should inject |
Handles injection of properties, methods etc. into a class.
source - The source unitcontext - The generator contextclassNode - The ClassNode instanceHandles injection of properties, methods etc. into a class.
source - The source unitclassNode - The ClassNode instanceHandles injection of properties, methods etc. into a class.
source - The source unitclassNode - The ClassNode instanceReturns whether this injector should inject
url - The URL of the source file