Creating a custom Kotlin Visitor

Hello, I'm trying to write a custom visitor for Kotlin class, in a plugin.

From reading the source code, I can see that my visitor should extend KtVisitor.

But currently it says that it can't find that class (KtVisitor).

I'm missing a library, and if yes which one?


Thank you in advance for any hint and help.

1 comment

Is your plugin has dependency to Kotlin plugin? Otherwise you will not have Kotlin classes in classloader of your plugin.


Please sign in to leave a comment.