kotlin

@get:JvmName(name = "getKotlinClass")
val <T : Any> Class<T>.kotlin: KClass<T>(source)

Returns a KClass instance corresponding to the given Java Class instance.

Since Kotlin

1.0