public class ByteBuddyDispatcherInvocationHandler<T> extends AbstractByteBuddyDispatcherInvocationHandler<T,ByteBuddyDispatcherInvocationHandler<T>>
EMPTY_CLASS_ARRAYcacheKey, methodClassifications, proxyState| Constructor and Description |
|---|
ByteBuddyDispatcherInvocationHandler(T proxyState,
MethodClassification<?,?>... methodClassifications) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
interceptMethodCall(Object proxy,
Method method,
ByteBuddyDispatcherInvocationHandler<?> handler,
Callable<Object> superMethod,
Callable<Object> defaultMethod,
Object[] args)
This method gets bound and invoked by the ByteBuddy.
|
Object |
interceptMethodCall(Object proxy,
Method method,
Callable<Object> superMethod,
Callable<Object> defaultMethod,
Object[] args) |
protected ProxyStateAccessor |
makeClone(ByteBuddyDispatcherInvocationHandler<T> originalDispatcher,
T clonedState,
List<Class<?>> interfaces) |
addImplementationSpecificInvokerscreateCacheKey, fabricateComposedMethodInvocationHandler, getCurriedMethodContextInvocationHandlerpublic ByteBuddyDispatcherInvocationHandler(T proxyState, MethodClassification<?,?>... methodClassifications)
@RuntimeType public static Object interceptMethodCall(@This Object proxy, @Origin Method method, @FieldValue(value="dispatcherInvocationHandler") ByteBuddyDispatcherInvocationHandler<?> handler, @SuperCall(nullIfImpossible=true,serializableProxy=true,fallbackToDefault=false) Callable<Object> superMethod, @DefaultCall(nullIfImpossible=true,serializableProxy=true) Callable<Object> defaultMethod, @AllArguments Object[] args) throws Throwable
Throwablepublic Object interceptMethodCall(Object proxy, Method method, Callable<Object> superMethod, Callable<Object> defaultMethod, Object[] args) throws Throwable
Throwableprotected ProxyStateAccessor makeClone(ByteBuddyDispatcherInvocationHandler<T> originalDispatcher, T clonedState, List<Class<?>> interfaces)
makeClone in class AbstractByteBuddyDispatcherInvocationHandler<T,ByteBuddyDispatcherInvocationHandler<T>>Copyright © 2023 FG Forrest, a.s.. All rights reserved.