private static @Nls @NotNull String getUsagesTitle(@NotNull PsiElement element) {
    HtmlBuilder builder = new HtmlBuilder();

    HtmlChunk type = HtmlChunk.text(StringUtil.capitalize(UsageViewUtil.getType(element)));
    if (ExperimentalUI.isNewUI()) {
      type = type.bold();
    }

    builder.append(type).nbsp().
      append(HtmlChunk.text(UsageViewUtil.getLongName(element)).bold());

    if (element instanceof NavigationItem) {
      ItemPresentation itemPresentation = ((NavigationItem)element).getPresentation();
      if (itemPresentation != null && StringUtil.isNotEmpty(itemPresentation.getLocationString())) {
        builder.nbsp().append(getLocationString(itemPresentation.getLocationString()));
      }
    }

    return builder.toString();
  }
private static @Nls @NotNull String getUsagesTitle(@NotNull PsiElement element)