gh-pages / com.nextfaze.devfun.inject / CapturingInstanceProvider / get

get

fun <T : Any> get(clazz: KClass<out T>): T? (source)

Overrides InstanceProvider.get

Try to get an instance of some clazz.

Return An instance of clazz, or null if this provider can not handle the type

See Also

ThrowingInstanceProvider.get