@alexey.tsvetkov thanks for the explanation! In kapt2, by using reflection during annotation processing on the processor itself I was able to get a reference to the Kotlin AST, is the same possible in kapt3, or the original AST is discarded at some point?