public interface ServiceImplementer
An interface for classes that provide implementations for service methods
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode)Does this service implement the method |
|
public 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 |
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