void (@NotNull Module module) { MavenProjectsManager manager = MavenProjectsManager.getInstance(module.getProject()); MavenProject mavenProject = manager.findProject(module); if (mavenProject != null) { manager.scheduleUpdateMavenProjects(new MavenImportSpec(true, false, false), List.of(mavenProject.getFile()), List.of()); } }