org.codehaus.groovy.grails.commons.metaclass
[Java] Class CreateDynamicMethod
java.lang.Object
org.codehaus.groovy.grails.commons.metaclass.AbstractStaticMethodInvocation
org.codehaus.groovy.grails.commons.metaclass.CreateDynamicMethod
public class CreateDynamicMethod
extends AbstractStaticMethodInvocation
A dynamic static method that is a factory method for creating new instances.
eg. Account.create()
- Authors:
- Graeme Rocher
Method Summary |
java.lang.Object
|
invoke(java.lang.Class clazz, java.lang.String methodName, Object[] arguments)
|
METHOD_NAME
public static final java.lang.String METHOD_NAME
-
CreateDynamicMethod
public CreateDynamicMethod()
-
invoke
@SuppressWarnings("rawtypes")
@Override
public java.lang.Object invoke(java.lang.Class clazz, java.lang.String methodName, Object[] arguments)
-
Groovy Documentation