Package com.cloudbees.groovy.cps.impl
Class CpsClosure
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure
com.cloudbees.groovy.cps.impl.CpsClosure
- All Implemented Interfaces:
groovy.lang.GroovyCallable,groovy.lang.GroovyObject,Serializable,Cloneable,Runnable,Callable
public class CpsClosure
extends groovy.lang.Closure
Closure whose code is CPS-transformed.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Field Summary
Fields inherited from class groovy.lang.Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class groovy.lang.Closure
asWritable, clone, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampolineMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass
-
Constructor Details
-
CpsClosure
-
-
Method Details
-
call
-
call
- Overrides:
callin classgroovy.lang.Closure
-
call
- Overrides:
callin classgroovy.lang.Closure
-
doCall
ClosureWritergenerates this function with actual argument types. Here we approximate by using varargs.CurriedClosureinvokes this method directly (viaMetaClassImpl.invokeMethod(Class, Object, String, Object[], boolean, boolean)
-