docs: private static void autoMarshalEligible(Object o,
                                              HierarchicalStreamWriter writer) {
          try {
              Class c = o.getClass();
              Field[] fields = c.getDeclaredFields();
              Annotation annotation = null;
              for (Field f : fields) {
                  annotation = f.getAnnotation(Auto.class);
                  if (annotation != null) {
                      f.setAccessible(true);
                      if (f.get(o) != null) {
                          writer.startNode(f.getName());
                          writer.setValue(String.valueOf(f.get(o)));
                          writer.endNode();
                      }
  
                  }
              }
          } catch (Throwable th) {
              logger.error("Error in marshalling the object", th);
          }
      }