Been a while but I think it should be possible. Why not do it the other way around: use reflection to get a list of the Method objects, then look at each Method and find out it getParameterTypes? You'll get two methods, you can get the array of classes they accept then you should be able to reverse engineer your own answer... If you do get a solution, post some code for us all to see how to do it... (if this doesn't work, it may allow you to get a particular 'instance' of a mthod so you can explicitly call that one) Dave.
David, I finally found out a way to get hold of the method with the primitive param.
To get a reference to the first burp() method,
The trick is that Integer.TYPE is of type Class which represents primitive variables. However this doesn't solve my problem, as I still can't Method.invoke( .. ); Pho [This message has been edited by Pho Tek (edited August 15, 2001).]