/guava/android/guava/src/com/google/common/collect/ObjectArrays.java
checkPositionIndexes( offset, offset + elements.length) ;
checkPositionIndexes ( offset, offset + length, elements.length ) ;
return dst; } static @Nullable Object[] toArrayImpl(Collection<?> c) { return fillArray(c, new Object[c.size()]); } static @Nullable Object[] copyAsObjectArray(@Nullable Object[] elements, int offset, int length) { <extra_id_0> if (length == 0) { return new Object[0]; } @Nullable Object[] result = new Object[length]; System.arraycopy(elements, offset, result, 0, length); return result;