Object value = Array.get(a, i);Array.set(a, i, value);
int n = Array.getLength(a);
Object a = Array.newInstance(type, length);