Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Is it possible to externalize declare precedence statements?

On 18 December 2011 03:59, Mark <mark.kharitonov@xxxxxxxxx> wrote:
> Currently, the declare precedence statement couples the different and
> unrelated aspects to each other. This can be problematic. I would like to be
> able to consolidate all the precedence declarations in one place (like a DI
> bootstrapper).
>
> I thought that I could just declare a special aspect dedicated to the
> declare precedence statements. However, it appears that at most one declare
> precedence statement can be found in an aspect.

Yikes, that looks like a big bug. Raised it as:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=367043

> So, my question is whether it is possible to keep all the precedence
> declarations outside the affected aspects?

Yes, you should be able to.  It is relatively uncommon to have
multiple declare precedence statements in one aspect (or we would have
seen this bug earlier...)

cheers,
Andy


Back to the top