void (final Processor<? super RunnerAndConfigurationSettings> existenceChecker) { final Iterator<RunnerAndConfigurationSettings> iterator = myAllConfigurations.iterator(); while (iterator.hasNext()) { final RunnerAndConfigurationSettings settings = iterator.next(); if (!existenceChecker.process(settings)) { iterator.remove(); mySharedConfigurations.remove(settings); } } }