docs: @SuppressWarnings("unchecked")
    public static <T, A> ExtendedArray<T> extend(A array, ArrayAdapter<T, A> getter, T extra) {
      return new ExtendedArray<>(array, (ArrayAdapter<T, Object>) getter, extra);
    }