void (Project project) { LeakHunter.checkLeak(ApplicationManager.getApplication(), PsiFileImpl.class, psiFile -> psiFile.getViewProvider().getVirtualFile().getFileSystem() instanceof LocalFileSystem && psiFile.getProject() == project); }