Home > Back-end >  Reflection method is called, the parameter of the problem
Reflection method is called, the parameter of the problem

Time:05-10

 Method meth=clazz. GetDeclaredMethod (" process ", the Map class, String, class); 

Call like this, although the method is the dynamic invocation, but several parameters and parameter type, is still writing death, the two can dynamically specify?
What, for example, to set up the first parameter is the type, the second parameter is the type that
  • Related