| java.lang.Object groovy.lang.GroovyObjectSupport groovy.lang.Closure
All known Subclasses: org.codehaus.groovy.runtime.CurriedClosure, org.codehaus.groovy.runtime.IteratorClosureAdapter, org.codehaus.groovy.runtime.MethodClosure,
DONESKIP | final public static int DONESKIP(Code) | | |
maximumNumberOfParameters | protected int maximumNumberOfParameters(Code) | | |
asWritable | public Closure asWritable()(Code) | | a version of this closure which implements Writable |
call | public Object call()(Code) | | Invokes the closure without any parameters, returning any value if applicable.
the value if applicable or null if there is no return statement in the closure |
call | public Object call(Object arguments)(Code) | | Invokes the closure, returning any value if applicable.
Parameters: arguments - could be a single value or a List of values the value if applicable or null if there is no return statement in the closure |
curry | public Closure curry(Object arguments)(Code) | | Support for closure currying
Parameters: arguments - |
getDelegate | public Object getDelegate()(Code) | | the delegate Object to which method calls will go which istypically the outer class when the closure is constructed |
getDirective | public int getDirective()(Code) | | Returns the directive. |
getMaximumNumberOfParameters | public int getMaximumNumberOfParameters()(Code) | | the maximum number of parameters a doCall methosof this closure can take |
getOwner | public Object getOwner()(Code) | | the owner Object to which method calls will go which istypically the outer class when the closure is constructed |
getParameterTypes | public Class[] getParameterTypes()(Code) | | the parameter types of the longest doCall methodof this closure |
setDelegate | public void setDelegate(Object delegate)(Code) | | Allows the delegate to be changed such as when performing markup building
Parameters: delegate - |
setDirective | public void setDirective(int directive)(Code) | | Parameters: directive - The directive to set. |
|
|