Enhances controller classes with the appropriate API at compile time.
Modifiers | Name | Description |
---|---|---|
static java.util.regex.Pattern |
CONTROLLER_PATTERN |
Fields inherited from class | Fields |
---|---|
class AbstractGrailsArtefactTransformer |
CURRENT_PREFIX, METHOD_MISSING_METHOD_NAME, OBJECT_CLASS, PUBLIC_STATIC_MODIFIER, STATIC_METHOD_MISSING_METHOD_NAME |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.String |
getArtefactType() |
|
java.lang.Class<?> |
getInstanceImplementation() |
|
protected org.codehaus.groovy.ast.AnnotationNode |
getMarkerAnnotation() |
|
java.lang.Class<?> |
getStaticImplementation() |
|
protected boolean |
isControllerClassNode(org.codehaus.groovy.ast.ClassNode classNode) |
|
void |
performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode) |
|
void |
performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode) |
|
protected void |
performInjectionInternal(java.lang.String apiInstanceProperty, org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode) |
|
boolean |
shouldInject(java.net.URL url) |