subTypes

fun <T : Any> <Error class: unknown class><T>.subTypes(): TypeBinderSubTypes<T>

Allows to bind in an existing set binding (rather than directly as a new binding).

First part of the bind<Type>().inSet() with binding syntax.

Parameters

T

The provided type of all bindings in the set.

setTypeToken

The type of the bound set.