docs: public static Set<Field> getAllFields(Class<?> classs) {
      Set<Field> set = new HashSet<>();
      Class<?> c = classs;
      while (c != null) {
        set.addAll(Arrays.asList(c.getDeclaredFields()));
        c = c.getSuperclass();
      }
      return set;
    }