forType

inline fun <T : Any> forType(noinline supplier: Supplier<T>?)

Assigns the supplier to the specific type.