Comment obtenir toute la super classe d'une classe Java
Class C = getClass();
while (C != null) {
System.out.println(C.getName());
C = C.getSuperclass();
}
Class C = getClass();
while (C != null) {
System.out.println(C.getName());
C = C.getSuperclass();
}