void (@NotNull AnActionEvent e) { Supplier<TextWithMnemonic> prev = e.getPresentation().getTextWithPossibleMnemonic(); super.update(e); if (e.getPresentation().getTextWithPossibleMnemonic() != prev) { e.getPresentation().setTextWithMnemonic(prev); } }