code: public static List<Field> retrievePropertyList(final Class<?> cls) {
          final List<Field> propertyList = new ArrayList<>();
          for (final Field f : cls.getFields()) {
              propertyList.add(f);
          }
          return propertyList;
      }
docs: List all properties for the given class.
  
  @param cls the class to inspect by reflection
  
  @return the field list