public static class ClassByExtensionBenchmark.ByteBuddyAccessInterceptor extends Object
SuperMethodCall implementation, we are creating
delegate methods that allow the invocation of the original code.| Modifier and Type | Method and Description |
|---|---|
static Object |
intercept(Object target,
Object[] arguments,
Method method)
Calls the super method.
|
@RuntimeType public static Object intercept(@This Object target, @AllArguments Object[] arguments, @SuperMethod(privileged=false) Method method) throws Exception
target - The target instance.arguments - The arguments to the method.method - A method for invoking the original code.Exception - If the super method call yields an exception.Copyright © 2014–2023. All rights reserved.