void (@NotNull BiConsumer<? super T, ? super String> newSchemeNameConsumer) { T currentScheme = getSelectedScheme(); if (currentScheme != null) { String currentName = currentScheme.getName(); mySchemesCombo.startEdit( currentName, getModel().isProjectScheme(currentScheme), newName -> { if (!newName.equals(currentName)) { newSchemeNameConsumer.accept(currentScheme, newName); } }); } }