org.easymock.bytebuddy.utility.dispatcher.JavaDispatcher .
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: The return value of the method ornull if the method is void.The method to invoke. method, Object The instance upon which to invoke the method or instance, Object[] null if the method is static.The method arguments. argument)Invokes a method via |
| public Object | Returns: The constructed instance.The constructor to invoke. constructor, Object[] The constructor arguments. argument)Creates a new instance via |
| invoke | back to summary |
|---|---|
| public Object invoke(Method method, Object instance, Object[] argument) throws IllegalAccessException, InvocationTargetException Invokes a method via
| |
| newInstance | back to summary |
|---|---|
| public Object newInstance(Constructor<?> constructor, Object[] argument) throws InstantiationException, IllegalAccessException, InvocationTargetException Creates a new instance via
| |