public static void printAncestors(Class<?> clazz) {
        Class<?> superClass = clazz.getSuperclass();
        print(clazz.getSimpleName());
        Field[] fields = clazz.getDeclaredFields();
        for(Field field : fields) {
            print("\t" + field);
        }
        if(superClass != null) {
            printAncestors(superClass);
        }
    }