docs: public static FieldDeclaration getFieldDeclaration(TypeDeclaration type, String fieldName)
              throws FieldDeclarationNotFoundException {
          requireNonNull(type, "type declaration");
          requireNonNull(fieldName, "field name");
  
          for (FieldDeclaration field : type.getFields()) {
              for (Object fragObj : field.fragments()) {
                  VariableDeclarationFragment fragment = (VariableDeclarationFragment) fragObj;
                  if (fieldName.equals(fragment.getName().getIdentifier())) {
                      return field;
                  }
              }
          }
  
          throw new FieldDeclarationNotFoundException(type, fieldName);
      }