Reflekt is a compile-time reflection library that leverages flows of standard reflection approach.
Instead of relying on JVM reflection, Reflekt would perform compile-time resolution of reflection queries using Kotlin compiler analysis. While in general, this approach is not always applicable for most of the cases, Reflekt is capable of providing a convenient reflection API without actually using reflection.
Reflekt is a joint project of JetBrains Research and the Kotless team. The main reason for its creation was the necessity of GraalVM support in modern Java applications, especially on Serverless workloads. With the help of the Reflekt project, Kotless will be able to provide access to GraalVM to users of historically reflection-based frameworks such as Spring or own Kotless DSL.