You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a more general Advice that looks like this:
publicclassAdvice {
@OnMethodEnterpublicstaticvoidbefore(@AllArgumentsObject[] args) {
if (xxxx) {
return;
}
if (xxxx) {
return;
}
// use the args.Arrays.toString(args);
}
}
There are many logical branches inside Advice that do not pay attention to parameters information, but the generated bytecode will always copy the original parameter list into an array and assign it to the args parameter.
Can I use bytebuddy to implement lazy instantiation of AllArguments? Make sure I only actually create the target array when I'm actually going to use it.
The text was updated successfully, but these errors were encountered:
I have a more general Advice that looks like this:
There are many logical branches inside Advice that do not pay attention to parameters information, but the generated bytecode will always copy the original parameter list into an array and assign it to the
args
parameter.Can I use bytebuddy to implement lazy instantiation of AllArguments? Make sure I only actually create the target array when I'm actually going to use it.
The text was updated successfully, but these errors were encountered: