Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Aspect for "="

Hey Henrique, 

Thanks for the starting point. This will at least get me started. :) 

Regards,
Utkarsh Gupta


On Mon, Nov 17, 2014 at 1:03 AM, Henrique Rebêlo <hemr@xxxxxxxxxxx> wrote:
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 <utkarsh11117@xxxxxxxxxxx> 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@xxxxxxxxxxx
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@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top