unable to import PsiClass.java using ideaVersion=IC-2019.3
Answered
Hi,
I want to create a PsiClass, but it cannot be imported from com.intellij.psi.PsiClass.
error msg shows that cannot resolve symbol PsiClass
It confuses me that PsiClass.java can be found in the source code(https://upsource.jetbrains.com/idea-ce/file/idea-ce-e97504227f5f68c58cd623c8f317a134b6d440b5/java/java-psi-api/src/com/intellij/psi/PsiClass.java), but com.jetbrains:ideaIC:2019.3 seems doesn't contain java-api.jar, where PsiClass.java is located and can be correctly imported from version-2018.3.
here is ideaVersion config in my gradle.properties. gradle version: 5.6.2
ideaVersion=IC-2019.3
appreciate any help!!
Please sign in to leave a comment.
https://blog.jetbrains.com/platform/2019/06/java-functionality-extracted-as-a-plugin/
Hi Yann, thanks for you replying.
It works!! 😁