public interface ClassInjector
Modifier and Type | Field and Description |
---|---|
static int |
PRIVATE_STATIC_MODIFIER |
Modifier and Type | Method and Description |
---|---|
void |
performInjection(SourceUnit source,
ClassNode classNode)
Handles injection of properties, methods etc.
|
void |
performInjection(SourceUnit source,
GeneratorContext context,
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(SourceUnit source, GeneratorContext context, ClassNode classNode)
source
- The source unitcontext
- The generator contextclassNode
- The ClassNode instancevoid performInjection(SourceUnit source, ClassNode classNode)
source
- The source unitclassNode
- The ClassNode instanceboolean shouldInject(java.net.URL url)
url
- The URL of the source file