docs: private List<ResolveTask> removeDuplicateResolveTargets(List<ResolveTask> renames) {
          return renames.stream()
                  .collect(Collectors.groupingBy(
                          rt -> rt.scope,
                          Collectors.toMap(
                                  rt -> rt.in.uri,
                                  Function.identity(),
                                  (rt1, rt2) -> rt1
                          )
                  )).values().stream()
                  .flatMap(m -> m.values().stream())
                  .collect(Collectors.toList());
      }