T - The declaring typeR - The result of the method callpublic interface MethodInterceptor<T,R> extends Interceptor<T,R>
Interceptor and provides an interface more specific to method interception.ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Modifier and Type | Method and Description | 
|---|---|
| default R | intercept(InvocationContext<T,R> context)Intercepts an execution from a declared  Aroundadvice. | 
| R | intercept(MethodInvocationContext<T,R> context)Extended version of the  intercept(InvocationContext)method that accepts aMethodInvocationContext. | 
@Nullable R intercept(MethodInvocationContext<T,R> context)
intercept(InvocationContext) method that accepts a MethodInvocationContext.context - The context@Nullable default R intercept(InvocationContext<T,R> context)
InterceptorAround advice. The implementation can either call InvocationContext.proceed() to return the original value or provide a replacement valueintercept in interface Interceptor<T,R>context - The interception context