[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] hashCode() for mixin?
- From: Holger Hoffstätte <holger@xxxxxxxxxx>
- Date: Mon, 21 Nov 2005 15:31:42 +0100
- Delivered-to: firstname.lastname@example.org
- User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
(hi Andrew, good to see you here too :)
andrew cooke wrote:
> Now I want to alter the hashCode method on the affected classes so that
> the value reflects not just the state of the original class, but includes
> the mixin state too.
I cannot test right now but maybe thisJoinPoint().getTarget().hashCode()
will give you what you want? I had a similar problem a long time ago and
*think* that was what got me further.