Is it possible to write a method or a way to print parameters of any method? I mean assume that I have two methods like
calculate(int a,int b) {}
notifyResult(int type){}
so I want a method that print "a"
and "b"
upon calculate method invocation
same things will happen upon invoing notifyResult print "type".
I know that using reflection or AOP tech can help me? Is there an other way to do that?