code: public static Field[] getAllDeclaredFields(Class<?> clazz) {
  		Field[] declaredFields = clazz.getDeclaredFields();
  		Class<?> superClass = clazz.getSuperclass();
  		if (superClass != null && superClass != Object.class) {
  			declaredFields = ArrayUtil.concat(declaredFields, getAllDeclaredFields(superClass));
  		}
  		return declaredFields;
  	}
docs: <p>
  getAllDeclaredFields.
  </p>
  
  @param clazz
  a {@link java.lang.Class} object.
  @return an array of {@link java.lang.reflect.Field} objects.