getImpl

abstract fun <I : Any> getImpl(kClass: KClass<I>, defaultFactory: () -> I): I(source)

Do not use yet, this is experimental and might change or be removed without prior notice.