docs: public static <T> ImmutableMap<T, Integer> indexMap(Iterable<? extends T> items) {
      final ImmutableMap.Builder<T, Integer> ret = ImmutableMap.builder();
      int idx = 0;
      for (final T item : items) {
        ret.put(item, idx++);
      }
      return ret.build();
    }