FileStatusManager (@NotNull Project project) { if (project.isDefault()) { LOG.error("Can't create FileStatusManager for default project"); return new DefaultFileStatusManager(); } return project.getService(FileStatusManager.class); }