@AstTransformer public class DefaultGrailsDomainClassInjector extends Object implements GrailsArtefactClassInjector
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 String[] |
getArtefactTypes() |
|
public void |
performInjection(SourceUnit source, GeneratorContext context, ClassNode classNode) |
|
public void |
performInjection(SourceUnit source, ClassNode classNode) |