public class MethodInvoker
extends java.lang.Object
| Constructor and Description |
|---|
MethodInvoker() |
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(java.lang.Object receiver,
java.lang.String methodName,
java.lang.String argument)
Tries to invoke a method on receiver with a single argument by trying out different types
for arg until it finds one that matches (or not).
|
public void invoke(java.lang.Object receiver,
java.lang.String methodName,
java.lang.String argument)
methodName - The method name to be invokedargument - The single argument to be provided to the method