methods are not found in SimplePsiImplUtil
已回答
I am learning a custom language tutorial and have encountered a problem
this is gen code, How should I solve this problem?
//WARNING: getKey(...) is skipped
//matching getKey(SimpleProperty, ...)
//methods are not found in SimplePsiImplUtil
//WARNING: getValue(...) is skipped
//matching getValue(SimpleProperty, ...)
//methods are not found in SimplePsiImplUtil
Simple.bnf



请先登录再写评论。
Hej there,
you have to implement the methods mentioned in the warnings and after that regenerate the code.
If you already implemented them (I see you have a corresponding Kotlin file open) make sure to annotate them @JvmStatic so that they can be found. After applying those changes and regenerating the code, the warnings should be gone.
Hope that helps,
Marco
marco rolappe Hi,After adding
@JvmStatic
it works fine, thanks