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

0
1 comment

Hello Lars,

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?


JavaPsiFacade.getInstance(project).getElementFactory().createType()

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.