private static @NlsSafe String getKeyStrokeText(KeyStroke keystroke) {
    String s1 = "";
    if (keystroke != null){
      int j1 = keystroke.getModifiers();
      if (j1 > 0){
        if (ClientSystemInfo.isMac()) {
          s1 = MacKeymapUtil.getKeyModifiersTextForMacOSLeopard(j1);
        }
        else {
          s1 = KeyEvent.getKeyModifiersText(j1) + '+';
        }

      }
      s1 += KeyEvent.getKeyText(keystroke.getKeyCode());
    }
    return s1;
  }
private static @NlsSafe String getKeyStrokeText(KeyStroke keystroke)