public class StaticMethodInterWithOverrideArgsTemplate extends Object
Author, Wu Sheng
Comment, don't change this unless you are 100% sure the agent core mechanism for bootstrap class instrumentation.
Date, 24th July 2019
------------------------------- This class wouldn't be loaded in real env. This is a class template for dynamic class generation.| Constructor and Description |
|---|
StaticMethodInterWithOverrideArgsTemplate() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
intercept(Class<?> clazz,
Object[] allArguments,
Method method,
OverrideCallable zuper)
Intercept the target static method.
|
public StaticMethodInterWithOverrideArgsTemplate()
@RuntimeType public static Object intercept(@Origin Class<?> clazz, @AllArguments Object[] allArguments, @Origin Method method, @Morph OverrideCallable zuper) throws Throwable
clazz - target classallArguments - all method argumentsmethod - method description.zuper - the origin call ref.Exception - only throw exception because of zuper.call() or unexpected exception in sky-walking ( This is a
bug, if anything triggers this condition ).ThrowableCopyright © 2019 The Apache Software Foundation. All rights reserved.