private static @ActionText @NotNull String getName(@Nullable @ActionText String text, @Nullable @ActionText String groupName, boolean toggle) {
      if (text != null && text.startsWith("<html>") && text.endsWith("</html>")) {
        String rawText = text.substring(6, text.length() - 7);
        return "<html>" + getName(rawText, groupName, toggle) + "</html>";
      }
      return toggle && StringUtil.isNotEmpty(groupName)
             ? StringUtil.isNotEmpty(text) ? groupName + ": " + text
                                           : groupName : StringUtil.notNullize(text);
    }
private static @ActionText @NotNull String getName(@Nullable @ActionText String text, @Nullable @ActionText String groupName, boolean toggle)