Is that any built-in class in java api that can list the class member
(especially data value) of a class?
For instance, if class MyClass has instance variable x and y, then when an
instance of MyClass is created and sent to this special class, then this
special class will able to find out what is the instance variable (including
the data type, variable name, public/static etc.) in this object/class.