@ReviseWhenPortedToJDK(value = "9", description = "Use `Objects.checkIndex(index, mySize);` instead")
  private static void checkOutOfBounds(int index, int size) {
    if (index < 0 || index >= size) {
      throw new IndexOutOfBoundsException(outOfBoundsMessage(index, size));
    }
  }
@ReviseWhenPortedToJDK(value = "9", description = "Use `Objects.checkIndex(index, mySize);` instead")
  private static void checkOutOfBounds(int index, int size)