private static String getShortcutText(KeyboardShortcut shortcut) {
    int modifiers = shortcut.getFirstKeyStroke().getModifiers();
    int code = shortcut.getFirstKeyStroke().getKeyCode();

    // Handling shortcuts that looks like [double <modifier_key>] (to avoid FUS-551)
    if (modifiers == 0 && DOUBLE_CLICK_MODIFIER_KEYS.contains(code)) {
      String strCode = getLocaleUnawareKeyText(code);
      return strCode + "+" + strCode;
    }

    String results = "";
    if (modifiers > 0) {
      final String keyModifiersText = getLocaleUnawareKeyModifiersText(modifiers);
      if (!keyModifiersText.isEmpty()) {
        results = keyModifiersText + "+";
      }
    }

    results += getLocaleUnawareKeyText(code);
    return results;
  }
private static String getShortcutText(KeyboardShortcut shortcut)