Hi all! 👋 I built AspectK and just released 0.4.3, a K2 compiler plugin for compile-time AOP in Kotlin (Multiplatform supported).
Annotate a function and inject your own logic before/after it, woven in at compile time, with debug info preserved and IDE support.
As a stability check, I applied it to 39 modules of DuckDuckGo’s Android app: all 28,749 unit tests passed, and the R8-minified APK runs fine on a real device. Feedback welcome!
AspectK:
github.com/Mole-Labs/aspectk
DuckDuckGo fork:
github.com/oungsi2000/Android