public class GrailsAwareInjectionOperation extends CompilationUnitPrimaryClassNodeOperation
A Groovy compiler injection operation that uses a specified array of ClassInjector instances to attempt AST injection.
Modifiers | Name | Description |
---|---|---|
private static java.lang.String |
INJECTOR_CODEHAUS_SCAN_PACKAGE |
|
private static java.lang.String |
INJECTOR_SCAN_PACKAGE |
|
private static ClassInjector[] |
classInjectors |
|
private static ClassInjector[] |
globalClassInjectors |
|
private ClassInjector[] |
localClassInjectors |
Constructor and description |
---|
GrailsAwareInjectionOperation
() |
GrailsAwareInjectionOperation
(ClassInjector[] classInjectors) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
call(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode) |
|
public int |
compare(ClassInjector classInjectorA, ClassInjector classInjectorB) |
|
public static ClassInjector[] |
getClassInjectors() |
|
public static ClassInjector[] |
getGlobalClassInjectors() |
|
public ClassInjector[] |
getLocalClassInjectors() |
|
private static void |
initializeState() |
|
private static org.springframework.core.io.Resource[] |
scanForPatterns(PathMatchingResourcePatternResolver resolver, java.lang.String patterns) |
|
public org.springframework.asm.AnnotationVisitor |
visitAnnotation(java.lang.String desc, boolean visible) |