Reflection in Kotlin
Kotlin is an interesting JVM language. Today I want to show some capabilities Kotlin has around Reflection. Reflection is needed to perform some generic computations often to reuse code around some metadata processing. Kotlin separates Java and Kotlin classes(KClass) and has utility methods around them. So I made a simple POC and Video. Let's get started!
The video
The Code
https://github.com/diegopacheco/kotlin-playground/tree/master/kotlin-reflection-fun
Cheers,
Diego Pacheco