mercredi 20 septembre 2017

How do we pass parameters to the method in following scenario?

So if retString is the Array of method names and if one of the method in the array has a parameter how do I pass a parameter to it.

  Method scopeCall = classToCheckScope.getMethod(retString);
                    Class<?> retType = scopeCall.getReturnType();
                    classToCheckScope = retType;





Aucun commentaire:

Enregistrer un commentaire