List<VariableElement> allFields(Element element) {

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