Psi related settings in bnf:
Definition of the PsiImplUtil class:
Hint in the generated code about the method not being found:
But try it directly in Java code and you can see the methods:
What could this be due to? Which Java and Kotlin interop didn't get it right?