javaClass

inline val <T : Any> T.javaClass: Class<T> (source)

Platform and version requirements: JVM

Returns the runtime Java class of this object.

inline val <T : Any> KClass<T>.javaClass: Class<KClass<T>> (source)
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.

Platform and version requirements: JVM