Aspectj overwrite an argument of a method

I believe you have to implement an around advice, instead of a before advice.

Because you can use proceed with your new arguments:

proceed(newArgs);

Leave a Comment