logo       

Re: FindBugs error in abstract aspect that uses pertypewithin: msg#01276

Subject: Re: FindBugs error in abstract aspect that uses pertypewithin
> Having a concrete aspect advice a abstract aspect that it inherits from just
> seems to be an anti-pattern (at least when using pertypewithin), which is
> really the reason for FindBugs to be complaining.

After thinking some more on this over the weekend, I think I agree - I
believe someone else was affected by this a couple of weeks ago too
(dont think it was pertypewithin related but they were accidentally
creating dependencies in a direction they did not expect).  I think
maybe with appropriate support in @SuppressAjWarnings() for a new
warning on this (for people who did not want to see the warning), we
could implement it.  feel free to raise an enhancement request for it.

Andy.


<Prev in Thread] Current Thread [Next in Thread>