Package org.codehaus.groovy.runtime
Class PackedClosure.FixedIt
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure<Object>
org.codehaus.groovy.runtime.PackedClosure
org.codehaus.groovy.runtime.PackedClosure.FixedIt
- All Implemented Interfaces:
GroovyCallable<Object>,GroovyObject,Serializable,Cloneable,Runnable,Callable<Object>,GeneratedClosure
- Enclosing class:
- PackedClosure
The implicit-parameter literal (
{ it * 2 }): a generated closure class declares both
doCall() and doCall(Object) for it, which class-level introspection reads as
the fuzzy "0 or 1" arity that lets the closure match both zero- and one-parameter SAM
overloads (GROOVY-10905) — so this member declares the same pair.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.groovy.runtime.PackedClosure
PackedClosure.Fixed0, PackedClosure.Fixed1, PackedClosure.Fixed2, PackedClosure.Fixed3, PackedClosure.Fixed4, PackedClosure.FixedIt, PackedClosure.FixedN -
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 org.codehaus.groovy.runtime.PackedClosure
call, call, create, dispatchAll, setDelegate, setResolveStrategy, toStringMethods inherited from class groovy.lang.Closure
andThen, andThenSelf, andThenSelf, asWritable, call, checkForReferenceCycle, clone, compose, composeSelf, composeSelf, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, mopUnperturbed, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDirective, setMetaClass, setProperty, throwRuntimeException, trampoline, trampolineMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClassMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
invokeMethod
-
Constructor Details
-
FixedIt
public FixedIt(Object owner, GeneratedDispatcher.Bundle dispatchers, int id, String method, Object[] captured, Class[] visibleTypes, boolean strict)
-
-
Method Details
-
doCall
-
doCall
-