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 |
java.lang.String |
RETURN_TYPE Used to store the resolved return type when it has been resolved from generics within the ast metadata |
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
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