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

get

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

Overrides InstanceProvider.get

Get an instance of some clazz.

Exceptions

ClassInstanceNotFoundException - When clazz could not be found/instantiated

Return An instance of clazz