public static boolean libraryHasJavaDocs(@Nullable LibraryEditor libraryEditor) {
    return libraryEditor != null && libraryEditor.getUrls(JavadocOrderRootType.getInstance()).length > 0;
  }
public static boolean libraryHasJavaDocs(@Nullable LibraryEditor libraryEditor)