Reflection
Class, function and property references in Kotlin.
1
kotlin reflection
2Class Reference in Kotlin
Class reference uses ::class syntax. A Kotlin example with source code and sample output.
kotlin reflection
3Function Reference in Kotlin
Function reference points to existing function using ::functionName. A Kotlin example with source code and sample output.
kotlin reflection
4Property Reference in Kotlin
Property references access metadata of properties. A Kotlin example with source code and sample output.
kotlin reflection
Reflection Basics in Kotlin
Reflection inspects program structure at runtime. A Kotlin example with source code and sample output.