Field getField(String name)
Returns a Field object that reflects the specified public member field of the class or interface represented by this Class object.
Field[] getFields()
Returns an array containing Field objects reflecting all the accessible public fields of the class or interface represented by this Class object.