@groovy.transform.CompileStatic abstract class AbstractServiceImplementer extends java.lang.Object
Abstract implementation of the ServiceImplementer interface
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
copyClassAnnotations(org.codehaus.groovy.ast.MethodNode abstractMethod, org.codehaus.groovy.ast.MethodNode impl) Copies annotation from the abstract method to the implementation method |
|
boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
|
protected java.lang.Iterable<java.lang.String> |
getHandledPrefixes() @return The method prefixes handled by this method |
|
protected boolean |
isCompatibleReturnType(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode, org.codehaus.groovy.ast.ClassNode returnType, java.lang.String prefix) Return true if the provided return type is compatible with this implementor. |
|
protected boolean |
isValidParameter(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.Parameter parameter, java.lang.String parameterName) Check whether the given parameter is a valid property of the domain class |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Copies annotation from the abstract method to the implementation method
abstractMethod
- the abstract methodimpl
- the implementation method
Return true if the provided return type is compatible with this implementor.
domainClass
- The domain class this method applies tomethodNode
- The methodreturnType
- The return typeCheck whether the given parameter is a valid property of the domain class
domainClassNode
- The domain classparameter
- The parameterparameterName
- The parameter name