public void setSourceSetArtifactModel(@NotNull Project project, @NotNull GradleSourceSetArtifactModel model) {
    ProjectIdentifier projectIdentifier = GradleProjectUtil.getProjectIdentifier(project);
    Boolean projectProcessingStatus = myProjectProcessingStatus.put(projectIdentifier, true);
    if (projectProcessingStatus != null) {
      myContext.getMessageReporter().createMessage()
        .withGroup(Messages.SOURCE_SET_ARTIFACT_INDEX_CACHE_SET_GROUP)
        .withTitle("Source set artifact index model redefinition")
        .withText("Source set artifact index model for " + project.getDisplayName() + " was already collected.")
        .withInternal().withStackTrace()
        .withKind(Message.Kind.ERROR)
        .reportMessage(project);
    }

    mySourceSetArtifactMap.putAll(model.getSourceSetArtifactMap());
    mySourceSetOutputArtifactMap.putAll(model.getSourceSetOutputArtifactMap());
  }
public void setSourceSetArtifactModel(@NotNull Project project, @NotNull GradleSourceSetArtifactModel model)