koin-core-ext / org.koin.experimental.builder / kotlin.reflect.KClass

Extensions for kotlin.reflect.KClass

getFirstJavaConstructor

fun KClass<*>.getFirstJavaConstructor(): Constructor<*>

Get first java constructor

saveConstructor

fun KClass<*>.saveConstructor(): Constructor<*>

Extract constructor and save it to constructors index