Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] hashCode() for mixin?

(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.

hth,
Holger


Back to the top