Sub Types
class SubTypes<C : Any, A, T : Any>(val contextType: TypeToken<in C>, val argType: TypeToken<in A>, val createdType: TypeToken<out T>, val block: (TypeToken<out T>) -> <Error class: unknown class><in C, in A, out T>)
Binding that holds multiple bindings for subtypes of T.
Parameters
C
The context type of all bindings in the set.
A
The argument type of all bindings in the set.
T
The provided type of all bindings in the set.
block
A function that provides a binding for each subtype.