@AstTransformer public class DefaultGrailsDomainClassInjector extends java.lang.Object implements GrailsArtefactClassInjector, GrailsDomainClassInjector
Default implementation of domain class injector interface that adds the 'id' and 'version' properties and other previously boilerplate code.
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String[] |
getArtefactTypes() |
|
public void |
performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode) |
|
public void |
performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode) |
|
public void |
performInjectionOnAnnotatedClass(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode) |
|
public void |
performInjectionOnAnnotatedEntity(org.codehaus.groovy.ast.ClassNode classNode) |
|
public boolean |
shouldInject(java.net.URL url) |
|
protected boolean |
shouldInjectClass(org.codehaus.groovy.ast.ClassNode classNode) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |