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
Please sign in to leave a comment.
Hello Lars,
JavaPsiFacade.getInstance(project).getElementFactory().createType()
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"