mardi 3 avril 2018

How to get a passed methods arguments(actual arguments) through reflection api in java?

      Class test{ 
abc(int a, String b) { }
 }

class imp{ 
abc(5,"name");
 }

For above example how to get value 5 and b, using reflection API.





Aucun commentaire:

Enregistrer un commentaire