How does the KClass work in relation to the JVM and runtime reflection of our classes, functions and properties?

How does the KClass work in relation to the JVM and runtime reflection of our classes, functions and properties?

Does the Kotlin compiler compile Kotlin code into *.class files and the JVM then instantiates KClass (or rather java.lang.Class?), KProperty and KFunction instances that represent all the declared classes, properties and functions that we defined in our Kotlin code?

submitted by /u/ED9898A
[link] [comments]