@groovy.transform.CompileStatic class MethodValidationImplementer extends java.lang.Object implements ServiceEnhancer
Adds method parameter validation to Service instances
Modifiers | Name | Description |
---|---|---|
private static java.lang.String |
VALIDATED_METHOD |
Constructor and description |
---|
MethodValidationImplementer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
doesEnhance(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
|
boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
|
void |
enhance(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.ClassNode targetClassNode) |
|
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) |
|
protected void |
weaveParameterNameData(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |