I got a verification error for using CodeVisionPlaceholderCollector which is an internal interface, without actually using it in a strict sense.
I implemented DaemonBoundCodeVisionProvider, which provides a default method -
fun getPlaceholderCollector(editor: Editor, psiFile: PsiFile?): CodeVisionPlaceholderCollector? = null
returning the interface, so I didn’t even know that I’m referencing CodeVisionPlaceholderCollector .
Is it supposed to be an error, and if so, how it should be fixed, by overriding method again and using on of GenericPlaceholderCollector/BypassBasedPlaceholderCollector which are inheritors of the internal interface, but not internal themselves?
You can fix this by configuring the compiler options in your build.gradle.kts file.
I’m using this, but all isn’t in the latest list of options. You may have to change this.