@groovy.transform.CompileStatic class FindOneStringQueryImplementer extends AbstractStringQueryImplementer
Implements support for String-based queries that return a domain class
Type Params | Return Type | Name and description |
---|---|---|
|
protected org.codehaus.groovy.ast.stmt.Statement |
buildQueryReturnStatement(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.expr.Expression queryArg) |
|
protected java.lang.String |
getFindMethodToInvoke(org.codehaus.groovy.ast.ClassNode classNode, org.codehaus.groovy.ast.MethodNode methodNode, org.codehaus.groovy.ast.ClassNode returnType) |
|
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) |