Method
public void method(String a,String b,String C,...) {
///
}
How can I get a,b,c argument name? I want argument name
If there is a way to obtain method parameter names, i.e. given some method
public void a(int myIntParam, String theString) { ... }
get the strings "myIntParam" and "theString".
Problem: Actually I am passing parameter from excel sheet. I am using these thing in selenium web driver. Here a,b,c is a id's of object which I provided from excel and I want to retrieve these id's in a String.
Aucun commentaire:
Enregistrer un commentaire