public static @NotNull Collection<ExternalDependency> createCopy(@Nullable Collection<? extends ExternalDependency> dependencies) {
    if (dependencies == null) {
      // Collection can be modified outside by mutation methods
      return new ArrayList<>(0);
    }
    Collection<ExternalDependency> result = new ArrayList<>(dependencies.size());
    for (ExternalDependency dependency : dependencies) {
      result.add(createCopy(dependency));
    }
    return result;
  }
public static @NotNull Collection<ExternalDependency> createCopy(@Nullable Collection<? extends ExternalDependency> dependencies)