How to get type of any psiElement?
已回答
Hi,
i have problems getting any PsiType or PsiClass info from some psi elements:
PsiLocalVariable: how do i get the resulting type?
PsiDeclarationStatement: how do i get the type of the declaration?
PsiMethodCallExpression: how do i get the return type of this method call?
I have no idea how to resolve this and the PsiViewer isnt helping at all.
What i need is full qualified name of the class name
请先登录再写评论。
Hi,
You can get the type from PSI by calling: