How to get PsiType from a PsiClass?
I'm moving forwards on my refactorings -- easier than I feared. But now I am stuck again: I cannot find a way to get the PsiType for a given PsiClass. Surely this is a trivial thing, so where is it buried?
Thanks in advance,
-Lars Clausen
请先登录再写评论。
Hello Lars,
JavaPsiFacade.getInstance(project).getElementFactory().createType()
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"