interface ServiceImplementer
An interface for classes that provide implementations for service methods
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
IMPLEMENTED |
Marker that should be stored on the method node once a method has been implemented |
static java.lang.String |
RETURN_TYPE |
Used to store the resolved return type when it has been resolved from generics within the ast metadata |
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, MethodNode methodNode)Does this service implement the method |
|
abstract void |
implement(org.codehaus.groovy.ast.ClassNode domainClassNode, MethodNode abstractMethodNode, MethodNode newMethodNode, org.codehaus.groovy.ast.ClassNode targetClassNode)Implement the method |
Marker that should be stored on the method node once a method has been implemented
Used to store the resolved return type when it has been resolved from generics within the ast metadata
Does this service implement the method
domainClass - The domain class that this implementor applies to. If not known will be equal to ClassHelper.OBJECT_TYPEmethodNode - The abstract method nodeImplement the method
targetClassNode - The target class nodeabstractMethodNode - The abstract method node to implementnewMethodNode - The new method node being implemented