void (@NotNull PySteppingFilter item, @NotNull Function<? super PySteppingFilter, ? extends PySteppingFilter> mutator, boolean isAdd) { String pattern = Messages.showInputDialog(myPanel, PyBundle.message("debugger.stepping.filter.specify.pattern"), PyBundle.message("debugger.stepping.filter"), null, item.getFilter(), new NonEmptyInputValidator()); if (pattern != null) { mutator.fun(item).setFilter(pattern); myPySteppingFilterEditor.getModel().fireTableDataChanged(); } }