public void setBuildScriptClasspathModel(@NotNull Project project, @NotNull GradleBuildScriptClasspathModel model) {
    ProjectIdentifier projectIdentifier = GradleProjectUtil.getProjectIdentifier(project);
    GradleBuildScriptClasspathModel oldModel = models.put(projectIdentifier, model);
    if (oldModel != null) {
      String projectDisplayName = project.getDisplayName();
      context.getMessageReporter().createMessage()
        .withGroup(Messages.BUILDSCRIPT_CLASSPATH_MODEL_CACHE_SET_GROUP)
        .withTitle("Gradle build script class-path model redefinition")
        .withText("Gradle build script class-path model for " + projectDisplayName + " was already collected.")
        .withInternal().withStackTrace()
        .withKind(Message.Kind.ERROR)
        .reportMessage(project);
    }
  }
public void setBuildScriptClasspathModel(@NotNull Project project, @NotNull GradleBuildScriptClasspathModel model)