void (final @NotNull Project project, final @NotNull ProjectSystemId systemId) { var externalProjectsView = ExternalProjectsManagerImpl.getInstance(project).getExternalProjectsView(systemId); if (externalProjectsView instanceof ExternalProjectsViewImpl externalProjectsViewImpl) { externalProjectsViewImpl.scheduleStructureUpdate(); } }