docs: public static List<Field> getAnnotatedFields(Class<?> clazz, Class<? extends Annotation> annotation) {
          Field[] fields = clazz.getDeclaredFields();
          List<Field> annotatedFields = new ArrayList<>(fields.length);
  
          for (Field f : fields) {
              if (f.isAnnotationPresent(annotation)) {
                  annotatedFields.add(f);
              }
          }
  
          return annotatedFields;
      }