@NotNull
  public static HighlightInfo.Builder createUnusedSymbolInfoBuilder(@NotNull PsiElement element,
                                                                    @NotNull @NlsContexts.DetailedDescription String message,
                                                                    @NotNull final HighlightInfoType highlightInfoType,
                                                                    @Nullable String shortName) {
    String tooltip;
    if (shortName != null) {
      tooltip = DaemonTooltipsUtil.getWrappedTooltip(message, shortName, true);
    }
    else {
      tooltip = XmlStringUtil.wrapInHtml(XmlStringUtil.escapeString(message));
    }

    HighlightInfo.Builder info = HighlightInfo.newHighlightInfo(highlightInfoType).range(element)
      .description(message).escapedToolTip(tooltip).group(
      GeneralHighlightingPass.POST_UPDATE_ALL);

    for (UnusedDeclarationFixProvider provider : UnusedDeclarationFixProvider.EP_NAME.getExtensionList()) {
      IntentionAction[] fixes = provider.getQuickFixes(element);
      for (IntentionAction fix : fixes) {
        info.registerFix(fix, null, null, null, null);
      }
    }
    return info;
  }
@NotNull
  public static HighlightInfo.Builder createUnusedSymbolInfoBuilder(@NotNull PsiElement element,
                                                                    @NotNull @NlsContexts.DetailedDescription String message,
                                                                    @NotNull final HighlightInfoType highlightInfoType,
                                                                    @Nullable String shortName)