I want to change my Kotlin classes at compile time process. For example, adding Logger.log() in every method of my Activities or write something like All-open compiler plugin.
In Java world, we can use bytecode weaving techniques for these kinds of stuff, but I don’t know it’s possible with compiler plugin or not?
Just a sidenote, the Xtend language has a very nice feature called Active Annotations: Xtend - Active Annotations
If Kotlin would have such simple, integrated and developer-friendly compiler extension mechanism, it would be the perfect language for many-many code-generation and -modification tasks, much better than (K)APT…