public class MethodClosure extends Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF| Constructor and Description | 
|---|
MethodClosure(Object owner,
             String method)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Object | 
doCall(Object arguments)  | 
String | 
getMethod()  | 
Object | 
getProperty(String property)
Retrieves a property value. 
 | 
asWritable, call, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getResolveStrategy, getThisObject, isCase, ncurry, rcurry, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeExceptiongetMetaClass, invokeMethod, setMetaClasspublic String getMethod()
public Object getProperty(String property)
GroovyObjectgetProperty in interface GroovyObjectgetProperty in class Closureproperty - the name of the property of interest