Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Reflection based method
no vote
Application background   the basic method of encapsulation.  Object (invoke Object, obj String, methodName args,, Object).  Object (invoke String, className String, methodName Object,, args)    getMethod Method (Class< > CLA; methodName; String; >; Class< parametersType).  getFieldValue Object (obj String, fieldName Object) to obtain the value of the field  getField (Field; > Class< String; fieldName; CLA).  void setFieldValue Object (obj String, fieldName Object, Val) set the specified field values  setFieldValue void (className String, fieldName String, Val Object)  Class< > getGenericSuperClass (Class< > className; index; int;;   index;;; Key Technology / * ** by reflection to perform the specified method (the method may be the parent class, or the current class private, but cannot be obtained from the parent class).* * obj @param*        
虚拟机1003
2016-08-23
0
1
No more~