docs: public static VariableElement findFieldInType(TypeElement type, String name) {
          for (VariableElement field : ElementFilter.fieldsIn(type.getEnclosedElements())) {
              if (field.getSimpleName().toString().equals(name)) {
                  return field;
              }
          }
          return null;
      }