Hi all, I'm currently creating a compiler plugin, ...
# compiler
e
Hi all, I'm currently creating a compiler plugin, and I'm wondering if there is a way to 'instruct' Intellij of newly generated methods/variables and such? For example: when I annotate a class with "@Serializable" the compiler generates new methods, for example "serialize()" and Intellij is aware of this newly generated synthetic method. How can I achieve the same for my compiler plugin?
h
Use a FIR plugin and implement a FirDeclarationGenerationExtension
e
Thanks Philip, I will have a look.