kotlin-stdlib / kotlin.jvm / javaClass javaClass JVM 1.0 inline val <T : Any> T.javaClass: Class<T> Returns the runtime Java class of this object. JVM 1.0 inline val <T : Any> KClass<T>.javaClass: Class<KClass<T>> Deprecated: Use 'java' property to get Java class corresponding to this Kotlin class or cast this instance to Any if you really want to get the runtime Java class of this implementation of KClass.