void (@NotNull Module module) { ExternalSystemProjectTracker projectTracker = ExternalSystemProjectTracker.getInstance(project); String projectPath = ExternalSystemApiUtil.getExternalProjectPath(module); List<ExternalSystemProjectId> projectSettings = findAllProjectSettings(); ApplicationManager.getApplication().invokeLater(() -> { projectSettings.stream() .filter(it -> it.getExternalProjectPath().equals(projectPath)) .forEach(it -> projectTracker.markDirty(it)); for (Contributor contributor : EP_NAME.getExtensions()) { contributor.markDirty(module); } projectTracker.scheduleProjectRefresh(); }, module.getDisposed()); }