Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Differentiating between similar join points

In order to do so, you need to match on the execution history. AspectJ
has no support for this. BUT, you can use tracematches
(http://abc.comlab.ox.ac.uk/papers#oopsla2005) which are implemented in
the abc compiler and allow you to do exactly this.

Eric  

> -----Original Message-----
> From: aspectj-users-bounces@xxxxxxxxxxx 
> [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Devon 
> M. Simmonds
> Sent: Wednesday, April 26, 2006 9:24 PM
> To: aspectj-users@xxxxxxxxxxx
> Subject: [aspectj-users] Differentiating between similar join points
> 
> Hi All,
> 
> Given the following three calls:
> 
> public void transfer(..) {
> //some code
> A.withdraw(..);
> A.deposit(..);
> A.withdraw(..);
> //some code
> }
> 
> How do I pick out the first and last call join points separately?
> 
> Thanks.
> 
> Devon.
> 
> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> 


Back to the top