void (@NotNull Project project) { MavenProjectsManager manager = MavenProjectsManager.getInstance(project); if (manager.isMavenizedProject()) { MavenUtil.restartMavenConnectors(project, true, it -> !isDummy(it)); } }