No, you have to use reflection.
Eric > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:aspectj-users- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Monday, November 27, 2006 3:18 PM > To: [email protected] > Subject: [aspectj-users] about set pcd capabilities > > Hi. > > Is there a way to know the previos value of a field when I apply a set > pcd ?? > > Suppose I have the next piece of code: > > 1. double d; > 2. void m() { > 3. d = 5.5; > // a lot of code here > 40. d = Math.random(); > 41. System.out.println(d); > 42. } > > I can use 'set(double d)' to know the new value will be assigned to 'd' > field. Can I know the OLD value of 'd' at line 40 ?? > > Is it possible to apply get/set pcd and advising field 'd' at line 1 ?? > > > Best regards. > > Uli. > > ________________________________ > > Check Out the new free AIM(R) Mail > <http://pr.atwola.com/promoclk/100122638x1081283466x1074645346/aol?redi > r=http%3A%2F%2Fwww%2Eaim%2Ecom%2Ffun%2Fmail%2F> -- 2 GB of storage and > industry-leading spam and email virus protection. _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
