Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] perthis/pertarget taking into consideration the "equals" method

Hi, 
I am trying to associate an aspect per object but taking into consideration
the "equals" method,
i.e. if a.equals(b) then a and b share the same aspect. 

My approach is to use a unique "wrapper" object for both a and b and apply
the perthis/pertarget on the "wrapper". 

Is there a smarter way of doing this?

Thanks!



--
View this message in context: http://aspectj.2085585.n4.nabble.com/perthis-pertarget-taking-into-consideration-the-equals-method-tp4650723.html
Sent from the AspectJ - users mailing list archive at Nabble.com.


Back to the top