void (@NotNull FileTypeEvent e) { PsiManagerImpl psiManager = (PsiManagerImpl)PsiManager.getInstance(project); ((FileManagerImpl)psiManager.getFileManager()).processFileTypesChanged(e.getRemovedFileType() != null); }