void (@NotNull DocumentEvent e) { if (item != null && itemEditor.isEditable(item)) { String newName = getField().getText(); if (newName.equals(itemEditor.getName(item))) { return; } if (!mutated) { mutated = true; item = getMutable(item); } ((KeymapImpl)item).setName(newName); } }