getArg

open fun <A> getArg(type: Class<A>): A

Get an injectable argument instance for the given type. This method can be used when manually instantiating an object without reflection.

Return

the argument to inject or null

Since

3.4.0

Parameters

<A>

the argument type

type

the argument type