private @NlsContexts.ListItem String getShortcutText() {
    return switch (myTemplate.getShortcutChar()) {
      case TemplateSettings.DEFAULT_CHAR -> myDefaultShortcutItem;
      case TemplateSettings.TAB_CHAR -> getTab();
      case TemplateSettings.ENTER_CHAR -> getEnter();
      case TemplateSettings.SPACE_CHAR -> getSpace();
      default -> getNone();
    };
  }
private @NlsContexts.ListItem String getShortcutText()