private static boolean shouldDownloadJavadocs(@NotNull ModelBuilderContext context, @NotNull Project project) {
    IdeaModule ideaModule = GradleIdeaPluginUtil.getIdeaModule(project);
    if (ideaModule != null) {
      return ideaModule.isDownloadJavadoc();
    }
    GradleDependencyDownloadPolicy parentPolicy = getParentDependencyDownloadPolicy(context, project);
    if (parentPolicy != null) {
      return parentPolicy.isDownloadJavadoc();
    }
    return false;
  }
private static boolean shouldDownloadJavadocs(@NotNull ModelBuilderContext context, @NotNull Project project)