An interface for classes that provide implementations for service methods
Type | Name and description |
---|---|
java.lang.String |
IMPLEMENTED Marker that should be stored on the method node once a method has been implemented |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) Does this service implement the method |
|
void |
implement(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.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
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