Hi Utkarsh, If this assignment refers to a field set, you can use the pointcut *set* to add behavior just as before/after the intercepted joinpoint. However, if this "a=b" denotes a local variable assignment, then would be complicated to use aspectj for it...
On Sun, Nov 16, 2014 at 3:57 PM, Utkarsh Gupta <utkarsh11...@iiitd.ac.in> wrote: > Hello, > > I am new to aspects and run time monitoring in general. I was exploring > the JavaMOP tool for writing aspects. I was wondering if we can create a > point cut for > something like "a=b". That is, can we detect whether such a thing happens > and if it does happen then, can we do something before/ after it at run > time ? > > Regards, > Utkarsh Gupta > > > _______________________________________________ > aspectj-users mailing list > aspectj-users@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/aspectj-users > -- ............................................................................................................................... Henrique Rebelo http://www.cin.ufpe.br/~hemr Informatics Center, UFPE, Brazil
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/aspectj-users