Package org.codehaus.groovy.runtime
Class GeneratedDispatcher.Bundle
java.lang.Object
org.codehaus.groovy.runtime.GeneratedDispatcher.Bundle
- Enclosing interface:
- GeneratedDispatcher
The hosting class's three dispatch shapes, linked once by
GeneratedDispatcher.bootstrap(java.lang.invoke.MethodHandles.Lookup, java.lang.String, java.lang.invoke.MethodType) and shared
by all of that class's adapters.-
Constructor Summary
ConstructorsConstructorDescriptionBundle(GeneratedDispatcher dispatcher, GeneratedDispatcher.Arity1 arity1, GeneratedDispatcher.Arity2 arity2) Public because the hosting class's compiler-emitted factory constructs it directly (seeClosureWriter#writeDispatchersFactory); not API for hand-written code. -
Method Summary
-
Constructor Details
-
Bundle
public Bundle(GeneratedDispatcher dispatcher, GeneratedDispatcher.Arity1 arity1, GeneratedDispatcher.Arity2 arity2) Public because the hosting class's compiler-emitted factory constructs it directly (seeClosureWriter#writeDispatchersFactory); not API for hand-written code.
-
-
Method Details
-
dispatcher
The array-shaped dispatcher, covering every target. -
arity1
The one-value dispatcher. -
arity2
The two-value dispatcher.
-