| local variable assignment pointcut in AspectJ? [message #592494] |
Tue, 07 March 2006 13:50 |
Sunfire Messages: 71 Registered: July 2009 |
Member |
|
|
Dear All,
I am pretty new in AspectJ. I am wondering if it is possible to intercept
assignment event at local variable level? For example in a method m1(),
public void m1()
{
Object obj = someObjRef;
}
I would like to dynamically know the information such as: which local
variable is changed, what is the old/new value for it, and in which object
this statement is executed... If we cannot catch such events directly, is
there any way I could achieve this goal? Thank you so much for any help!
SunnyDay
|
|
|
Powered by
FUDForum. Page generated in 0.04480 seconds