public @NotNull GradleDependencyDownloadPolicy getDependencyDownloadPolicy(@NotNull Project project) {
    ProjectIdentifier projectIdentifier = GradleProjectUtil.getProjectIdentifier(project);
    GradleDependencyDownloadPolicy policy = policies.get(projectIdentifier);
    if (policy == null) {
      String projectDisplayName = project.getDisplayName();
      context.getMessageReporter().createMessage()
        .withGroup(Messages.DEPENDENCY_DOWNLOAD_POLICY_MODEL_CACHE_GET_GROUP)
        .withTitle("Gradle dependency download policy aren't found")
        .withText("Gradle dependency download policy for " + projectDisplayName + " wasn't collected.")
        .withInternal().withStackTrace()
        .withKind(Message.Kind.ERROR)
        .reportMessage(project);
      return GradleDependencyDownloadPolicy.NONE;
    }
    return policy;
  }
public @NotNull GradleDependencyDownloadPolicy getDependencyDownloadPolicy(@NotNull Project project)