Given a Class<?> that describes class A, is it somehow possible to get the Class<?> that matches the class A[]?
Class<?> clazz = A.class;
Class<?> arrayclazz = clazz.toArray(); // ??
assert arrayclazz.equals(A[].class);
Strings and StringBuilders and then parsing that and looking up the classes. Of course, best would be to avoid reflection and indeed reference arrays altogether.getGenericReturnType returned int[] but the second returned GenericArrayType and I was only able to get the component from it, i.e. int.use A[].class. I hope this help.
A was used as an example. I actually just have a Class<?> in hand.