@FunctionalInterface public interface Invocation
This interface is designed to be used with the MethodReaderInterceptorReturns interface,
providing a flexible way to handle method invocations, such as performing the invocation,
or adding custom behaviors before or after the invocation.
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Method m,
Object o,
Object[] args)
Invokes a method with the specified parameters.
|
Object invoke(Method m, Object o, Object[] args) throws InvocationTargetException
m - the method to be invokedo - the object from which the method is invokedargs - the arguments to be passed to the methodInvocationTargetException - if the invoked method throws an exceptionCopyright © 2023. All rights reserved.