public static final class PackedClosure.FixedIt
extends PackedClosure
implements GeneratedClosure
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.
| 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.