private static @NotNull Map<String, ExternalProjectBuildClasspathPojo> getExternalProjectsBuildClasspath(
    @NotNull Project project
  ) {
    Sequence<ExternalProjectsBuildClasspathEntity> entities = WorkspaceModel.getInstance(project)
      .getCurrentSnapshot()
      .entities(ExternalProjectsBuildClasspathEntity.class);
    Iterator<ExternalProjectsBuildClasspathEntity> entityIterator = entities.iterator();
    if (entityIterator.hasNext()) {
      return getExternalProjectBuildClasspathPojo(entityIterator.next());
    }
    return Collections.emptyMap();
  }
private static @NotNull Map<String, ExternalProjectBuildClasspathPojo> getExternalProjectsBuildClasspath(
    @NotNull Project project
  )