Reflection on the JVM with Kotlin

KClass, callable references and introspection at runtime — how frameworks, test tools and serializers work with classes they do not even know at compile time. And just as important: when to leave it alone. Builds on "Kotlin Introduction", "Kotlin OOP" and "Kotlin Generics".

0 / 6 completed

Module 1 · Reflection on the JVM
011. KClass and ::class: Getting Started with ReflectionLESSON
—2. Callable References: Functions and Properties as ObjectsLOCKED
—3. Exploring an Unknown Class at RuntimeLOCKED
—4. Creating Instances Dynamically: primaryConstructor and callByLOCKED
—5. Reading Annotations at RuntimeLOCKED
—6. When Reflection Is Worth It — and When It Is NotLOCKED
6 lessonsModule 1 · Reflection on the JVMProgress: local, no account required