List<ExternalSystemProjectId> () { List<ExternalSystemProjectId> list = new ArrayList<>(); ExternalSystemManager.EP_NAME.forEachExtensionSafe(manager -> { ProjectSystemId systemId = manager.getSystemId(); Collection<? extends ExternalProjectSettings> linkedProjectsSettings = manager.getSettingsProvider().fun(project).getLinkedProjectsSettings(); for (ExternalProjectSettings settings : linkedProjectsSettings) { String externalProjectPath = settings.getExternalProjectPath(); if (externalProjectPath == null) continue; list.add(new ExternalSystemProjectId(systemId, externalProjectPath)); } }); return list; }