public static @NlsSafe String fetchExternalJavadoc(PsiElement element, List<String> docURLs, @NotNull JavaDocExternalFilter docFilter) {
    if (docURLs != null) {
      for (String docURL : docURLs) {
        try {
          String externalDoc = docFilter.getExternalDocInfoForElement(docURL, element);
          if (!StringUtil.isEmpty(externalDoc)) {
            return externalDoc;
          }
        }
        catch (ProcessCanceledException ignored) {
          break;
        }
        catch (IndexNotReadyException e) {
          throw e;
        }
        catch (HttpRequests.HttpStatusException e) {
          LOG.info(e.getUrl() + ": " + e.getStatusCode());
        }
        catch (Exception e) {
          LOG.info(e);
        }
      }
    }
    return null;
  }
public static @NlsSafe String fetchExternalJavadoc(PsiElement element, List<String> docURLs, @NotNull JavaDocExternalFilter docFilter)