SubTypes

constructor(contextType: TypeToken<in C>, argType: TypeToken<in A>, createdType: TypeToken<out T>, block: (TypeToken<out T>) -> <Error class: unknown class><in C, in A, out 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.