The Pair class extends the Tuple class; therefore, the Tuple class is a superclass of Pair. We can obtain it via the Class.getSuperclass() method, as follows:
Class<?> superClass = clazz.getSuperclass();
// modern.challenge.Tuple
System.out.println("Superclass: " + superClass.getName());