void (@NotNull String pattern, @NotNull ProgressIndicator progressIndicator, @NotNull Processor<? super ChooseRunConfigurationPopup.ItemWrapper> consumer) { if (StringUtil.isEmptyOrSpaces(pattern)) return; pattern = filterString(pattern); MinusculeMatcher matcher = NameUtil.buildMatcher(pattern).build(); for (ChooseRunConfigurationPopup.ItemWrapper wrapper : ChooseRunConfigurationPopup.createFlatSettingsList(myProject)) { if (matcher.matches(wrapper.getText()) && !consumer.process(wrapper)) { return; } } }