void (final @NotNull AnActionEvent e) { e.getPresentation().setText(myLagging ? InternalActionsBundle.messagePointer("action.presentation.ToggleLaggingModeAction.text.exit.lagging.mode") : InternalActionsBundle.messagePointer( "action.presentation.ToggleLaggingModeAction.text.enter.lagging.mode")); }