Inspekt is a Kotlin Multiplatform library providing compile-time alternatives to runtime reflection for inspecting and invoking class members.
How It Works
While building your Kotlin app, you learn about Inspekt, a tool that lets you peek inside classes and call their parts safely at build time.
You simply add Inspekt to your project setup with one easy line, and it starts working right away.
In your code, you write inspekt(Class::class) and instantly get a full map of its functions, properties, and more.
You list functions and properties, check their details, and call them dynamically just like normal code.
You create flexible stand-ins for interfaces that respond however you want, handling calls perfectly.
Your app now handles classes dynamically with zero runtime cost, feeling fast and completely safe.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.