@Nullable
  public static <T> List<? extends T> toListIfNotMany(@NotNull Iterable<? extends T> iterable, boolean fromUpdate) {
    if (!fromUpdate) return ContainerUtil.newArrayList(iterable);

    List<? extends T> result = JBIterable.from(iterable).take(MANY_CHANGES_THRESHOLD + 1).toList();
    if (result.size() > MANY_CHANGES_THRESHOLD) return null;
    return result;
  }
@Nullable
  public static <T> List<? extends T> toListIfNotMany(@NotNull Iterable<? extends T> iterable, boolean fromUpdate)