KSP
Kotlin Symbol Processing API
...Processors run as Gradle plugins, participate in incremental builds, and can target common use cases like DI bindings, JSON adapters, or UI glue code. Because the API reflects Kotlin semantics (nullability, visibility, type aliases, etc.), generated code aligns cleanly with Kotlin style and tooling.