lundi 21 mars 2016

How to change method name at runtime in Java?

I have only one method which is getting invoked multiple time based on the parameters. I just want to append a string to the method name for each parameter at rudiment, so that it will help me in creating reports. Let’s take an example: public void InvokeMethod(string para) { enter code here // code we want to execute }

I want change the name of above method at run-time for each parameter. Please share your comments.





Aucun commentaire:

Enregistrer un commentaire