Class PackedClosure.FixedIt

All Implemented Interfaces:
GroovyCallable<Object>, GroovyObject, Serializable, Cloneable, Runnable, Callable<Object>, GeneratedClosure
Enclosing class:
PackedClosure

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.
See Also: