PsiFile (@NotNull Project project, @Nullable VirtualFile virtualFile) { PsiFile psiFile = virtualFile == null || !virtualFile.isValid() ? null : ((FileManagerImpl)PsiManagerEx.getInstanceEx(project) .getFileManager()).getFastCachedPsiFile(virtualFile); psiFile = psiFile instanceof PsiCompiledFile compiled ? compiled.getDecompiledPsiFile() : psiFile; return psiFile; }