private static boolean isEqualIgnoringScope(@NotNull ModuleDependencyData data1, @NotNull ModuleDependencyData data2) {
    final boolean result;
    final DependencyScope tmp = data1.getScope();
    data1.setScope(data2.getScope());
    result = data1.equals(data2);
    data1.setScope(tmp);
    return result;
  }
private static boolean isEqualIgnoringScope(@NotNull ModuleDependencyData data1, @NotNull ModuleDependencyData data2)