public static final class PackedClosure.FixedN
extends PackedClosure
implements GeneratedClosure
Arities above four (rare) and vararg-shaped literals (trailing array parameter, e.g.
{ ...z -> }, any arity): a varargs doCall — MOP selection packs the
arguments back into one array, and dispatchAll applies the same arity/coercion
contract as the base call lanes. For the vararg shapes this varargs declaration is
also the faithful one: their generated class declares a vararg doCall,
whose selection flexibility (zero arguments collect to an empty trailing array where a
fixed one-parameter doCall would null-fill) a Fixed* member cannot
reproduce. A single Object[] argument spreads through MOP routes here, exactly as
it feeds the trailing array of a classed vararg doCall.
| Fields inherited from class | Fields |
|---|---|
class Closure |
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, OWNER_FIRST, OWNER_ONLY, TO_SELF, maximumNumberOfParameters, parameterTypes |
| Methods inherited from class | Name |
|---|---|
class PackedClosure |
call, call, create, dispatchAll, setDelegate, setResolveStrategy, toString |
class Closure |
andThen, andThenSelf, andThenSelf, asWritable, call, call, 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, setDelegate, setDirective, setMetaClass, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampoline |
class GroovyObjectSupport |
getMetaClass, setMetaClass |
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.