docs: static List<Field> getAllFieldsOfClass0(Class<?> clazz) {
          List<Field> fields = CollectionUtil.createArrayList();
          for (Class<?> itr = clazz; hasSuperClass(itr); ) {
              fields.addAll(Arrays.asList(itr.getDeclaredFields()));
              itr = itr.getSuperclass();
          }
  
          return fields;
      }