docs: public static <K, V, S, T> Map<K, V> collectEntries(Map<S, T> self, Map<K, V> collector, @ClosureParams(MapEntryOrKeyValue.class) Closure<?> transform) {
          for (Map.Entry<S, T> entry : self.entrySet()) {
              addEntry(collector, callClosureForMapEntry(transform, entry));
          }
          return collector;
      }