gh-pages / com.nextfaze.devfun.inject / ThrowingInstanceProvider
ThrowingInstanceProvider
interface ThrowingInstanceProvider :
InstanceProvider
(source)
Same as InstanceProvider, but throws ClassInstanceNotFoundException instead of returning null
.
Functions
Name | Summary |
---|---|
get | abstract operator fun <T : Any > get(clazz: KClass <out T >): T Get an instance of some clazz. |
Inheritors
Name | Summary |
---|---|
CompositeInstanceProvider | interface CompositeInstanceProvider : ThrowingInstanceProvider , Composite < InstanceProvider > Instance provider that delegates to other providers. |