public interface ClassInjector
| Modifier and Type | Field and Description |
|---|---|
static int |
PRIVATE_STATIC_MODIFIER |
| Modifier and Type | Method and Description |
|---|---|
void |
performInjection(org.codehaus.groovy.control.SourceUnit source,
org.codehaus.groovy.ast.ClassNode classNode)
Handles injection of properties, methods etc.
|
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.
|
void |
performInjectionOnAnnotatedClass(org.codehaus.groovy.control.SourceUnit source,
org.codehaus.groovy.ast.ClassNode classNode)
Handles injection of properties, methods etc.
|
boolean |
shouldInject(java.net.URL url)
Returns whether this injector should inject
|
static final int PRIVATE_STATIC_MODIFIER
void performInjection(org.codehaus.groovy.control.SourceUnit source,
org.codehaus.groovy.classgen.GeneratorContext context,
org.codehaus.groovy.ast.ClassNode classNode)
source - The source unitcontext - The generator contextclassNode - The ClassNode instancevoid performInjection(org.codehaus.groovy.control.SourceUnit source,
org.codehaus.groovy.ast.ClassNode classNode)
source - The source unitclassNode - The ClassNode instancevoid performInjectionOnAnnotatedClass(org.codehaus.groovy.control.SourceUnit source,
org.codehaus.groovy.ast.ClassNode classNode)
source - The source unitclassNode - The ClassNode instanceboolean shouldInject(java.net.URL url)
url - The URL of the source file