@FunctionalInterface public interface Invocation
It is primarily used as a callback within interceptor patterns such as
MethodReaderInterceptorReturns to
allow the interceptor to control or augment the actual method execution.
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Method m,
Object o,
Object[] args)
Invokes the supplied method.
|
Object invoke(Method m, Object o, Object[] args) throws InvocationTargetException
m - the Method to invoke, must not be nullo - the instance on which the method should be invoked, null for static methodsargs - the arguments to be passed to the method, may be nullnull if the method returns voidInvocationTargetException - if the underlying method throws an exceptionIllegalArgumentException - if the arguments do not match the method signatureNullPointerException - if m is nullCopyright © 2026 Chronicle Software Ltd. All rights reserved.