@AstTransformer public class ControllerDomainTransformer extends AbstractGrailsArtefactTransformer
Adds binding methods to domain classes.
Fields inherited from class | Fields |
---|---|
class AbstractGrailsArtefactTransformer |
AUTO_WIRED_ANNOTATION, CURRENT_PREFIX, DEFAULT_GENERICS_PLACEHOLDERS, INSTANCE_PREFIX, KNOWN_TRANSFORMED_CLASSES, METHOD_MISSING_METHOD_NAME, OBJECT_CLASS, PUBLIC_STATIC_MODIFIER, STATIC_METHOD_MISSING_METHOD_NAME, STATIC_PREFIX, classesTransformedByThis |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getArtefactType() |
|
public java.lang.Class<?> |
getInstanceImplementation() |
|
public java.lang.Class<?> |
getStaticImplementation() |
|
protected boolean |
isCandidateInstanceMethod(org.codehaus.groovy.ast.ClassNode classNode, org.codehaus.groovy.ast.MethodNode declaredMethod) |
|
public void |
performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode) |
|
protected boolean |
requiresAutowiring() |
|
public boolean |
shouldInject(java.net.URL url) |