How can I change what a method is doing in Java ?
I mean, I am trying to use annotations to make the following code
@Anno1(Argument = \"Option1\") p
If your class extends a suitable interface, you could wrap it in a DynamicProxy, which delegates all calls to the original methods, except the call to test.