public List<PdxFieldWrapper> getFields(Object obj) {
    return getFields(obj.getClass());
  }
Given an object, use its class to determine which fields are to be used when (de)serializing.

@param obj the object whose class we're interested in
@return a list of fields to be used when this object's class is (de)serialized
geode-core/src/main/java/org/apache/geode/pdx/internal/AutoSerializableManager.java