@ApiStatus.ScheduledForRemoval
  @Deprecated
  @Contract(pure = true)
  public static <T> T iterateAndGetLastItem(@NotNull List<? extends T> items) {
    Logger.getInstance(ContainerUtil.class).error("use getLastItem(List) instead");
    return getLastItem(items);
  }
@ApiStatus.ScheduledForRemoval
  @Deprecated
  @Contract(pure = true)
  public static <T> T iterateAndGetLastItem(@NotNull List<? extends T> items)