I’m guessing you know that you are using an internal and undocumented API
Yup, it’s part of a compiler plugin.
I don’t think there are many people who know the kotlin compiler here.
I was under the impression that the Kotlin team was involved with answering the questions here, I took the question to the Kotlin Slack and got an answer there.
Thank you.