private static void _getAllSuperClasses(Class<?> clazz, ArrayList<Class<?>> result) {
		Class<?> superClass = clazz.getSuperclass();
		if (superClass != null) {
			result.add(superClass);
			_getAllSuperClasses(superClass, result);
		}
	}