@Nullable
  public static UsageView showInUsageView(@Nullable PsiElement sourceElement,
                                          @NlsContexts.TabTitle @NotNull String title,
                                          @NotNull Project project,
                                          SmartPsiElementPointer<?>[] pointers) {
    PsiElement[] primary = sourceElement == null ? PsiElement.EMPTY_ARRAY : new PsiElement[]{sourceElement};
    return showInUsageView(sourceElement, pointers, p -> {
      PsiElement element = p.getElement();
      return element == null ? null : UsageInfoToUsageConverter.convert(primary, new UsageInfo(element));
    }, title, null, project);
  }
@Nullable
  public static UsageView showInUsageView(@Nullable PsiElement sourceElement,
                                          @NlsContexts.TabTitle @NotNull String title,
                                          @NotNull Project project,
                                          SmartPsiElementPointer<?>[] pointers)