Collection<RunnerAndConfigurationSettings> (ProjectStartupConfigurationBase configuration) { if (configuration.isEmpty()) return Collections.emptyList(); final List<RunnerAndConfigurationSettings> result = new ArrayList<>(); final List<ProjectStartupConfigurationBase.ConfigurationDescriptor> list = configuration.getList(); RunManagerImpl runManager = (RunManagerImpl)RunManager.getInstance(myProject); for (ProjectStartupConfigurationBase.ConfigurationDescriptor descriptor : list) { final RunnerAndConfigurationSettings settings = runManager.getConfigurationById(descriptor.getId()); if (settings != null && settings.getName().equals(descriptor.getName())) { result.add(settings); } else { getNotificationGroup().createNotification( ExecutionBundle.message("0.run.configuration.1.not.found.removed.from.list", PREFIX, descriptor.getName()), MessageType.WARNING).notify(myProject); } } return result; }