|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.lang.Closure
org.codehaus.groovy.runtime.MethodClosure
public class MethodClosure
Represents a method on an object using a closure which can be invoked at any time
| Field Summary |
|---|
| Fields inherited from class groovy.lang.Closure |
|---|
DONE, maximumNumberOfParameters, SKIP |
| Constructor Summary | |
|---|---|
MethodClosure(java.lang.Object owner,
java.lang.String method)
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
doCall(java.lang.Object arguments)
|
java.lang.String |
getMethod()
|
java.lang.Object |
getProperty(java.lang.String property)
|
| Methods inherited from class groovy.lang.Closure |
|---|
asWritable, call, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getThisObject, isCase, run, setDelegate, setDirective, setProperty, throwRuntimeException |
| Methods inherited from class groovy.lang.GroovyObjectSupport |
|---|
getMetaClass, invokeMethod, setMetaClass |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodClosure(java.lang.Object owner,
java.lang.String method)
| Method Detail |
|---|
public java.lang.String getMethod()
protected java.lang.Object doCall(java.lang.Object arguments)
public java.lang.Object getProperty(java.lang.String property)
getProperty in interface GroovyObjectgetProperty in class Closure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||