Is there a better way of obtaining an object's field getters other than java reflection api or i am misusing PropertyDescriptor's getReadMethod?
问题 Context: I am building an Excel document in a generic way with data i receive from a SOAP service endpoint. I receive the data as a List and i have the model (JavaBeans) for every Object i receive according to the method called. So I set the first row of the sheet as the header from the object's fields (getDeclaredFields). Then i go on filling up the column row by row with values from the list of objects. The problem: I haven't found a workable way of getting the object's field values. I have