Invoker to call the method if it fails.
The class is particularly useful for Groovy classes implementing GroovyInterceptable,
since it is not possible to call any method from this class,
because it is intercepted by the invokeMethod() method.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Object |
| ReflectionMethodInvoker | back to summary |
|---|---|
| public ReflectionMethodInvoker() | |
| invoke | back to summary |
|---|---|
| public static Object invoke(Object object, String methodName, Object[] parameters) Invoke a method through reflection. Falls through to using the Invoker to call the method in case the reflection call fails.. | |