code: List<VariableElement> allFields(Element element) {
  
      List<VariableElement> list = new ArrayList<>();
      gatherProperties(list, element);
      return list;
    }
docs: Gather all the fields (properties) for the given bean element.