Browse topics
JVM & Interop
Reflection
Class, function and property references in Kotlin.
kotlin reflectionClass Reference in KotlinClass reference uses ::class syntax. A Kotlin example with source code and sample output.kotlin reflectionFunction Reference in KotlinFunction reference points to existing function using ::functionName. A Kotlin example with source code and sample output.kotlin reflectionProperty Reference in KotlinProperty references access metadata of properties. A Kotlin example with source code and sample output.kotlin reflectionReflection Basics in KotlinReflection inspects program structure at runtime. A Kotlin example with source code and sample output.