String () { String cutActionName = CUT_ACTION_NAME; if (cutActionName == null) { ActionManager actionManager = ApplicationManager.getApplication().getServiceIfCreated(ActionManager.class); if (actionManager != null) { cutActionName = actionManager.getAction(IdeActions.ACTION_EDITOR_CUT).getTemplatePresentation().getText(); //noinspection AssignmentToStaticFieldFromInstanceMethod CUT_ACTION_NAME = cutActionName; } } return cutActionName; }