Starting with JDK 12, we can get Class for an array type whose component type is described by the given class via Class.arrayType():
Class<?> arrayClazz = clazz.arrayType();
// modern.challenge.Pair<L,R>[]
System.out.println("Array type: " + arrayClazz.toGenericString());