Obtaining a PsiFile from a PsiType
Answered
How can a PsiFile be obtained from a PsiType?
I assume that the PsiTypes that I will be working with will be PsiClassTypes, if it's easier with the subclass instead of the superclass.
Please sign in to leave a comment.
Ross,
Having an instance of PsiClassTypes, you can get the PsiElement and its containing file: