public static @NlsSafe @Nullable String generateInfo(PsiElement element, PsiElement atPointer, boolean fallbackToBasicInfo) {
    final DocumentationProvider documentationProvider = DocumentationManager.getProviderFromElement(element, atPointer);
    @NlsSafe String result = documentationProvider.getQuickNavigateInfo(element, atPointer);
    if (result == null && fallbackToBasicInfo) {
      result = doGenerateInfo(element);
    }
    return result;
  }
public static @NlsSafe @Nullable String generateInfo(PsiElement element, PsiElement atPointer, boolean fallbackToBasicInfo)