PsiFile () { VirtualFile hostVFile = myFile instanceof VirtualFileWindow ? ((VirtualFileWindow)myFile).getDelegate() : myFile; return ReadAction.compute(() -> PsiManager.getInstance(getProject()).findFile(hostVFile)); }