Community
Participate
Working Groups
It would be helpful if the output of declare warning & declare error included the offending source file path & line number, so that, for example, [ERROR] @internal(error): constructor, method, or field not designed for public consumption; access is disallowed becomes [ERROR] @internal(error): constructor, method, or field not designed for public consumption; access is disallowed at /Users/matthew/Documents/foobor/src/test/java/app/test/unit/FooTest.java:32:0::0 It appears that only in the case of compilation failure do you get context.
Did you try using the message inserts as described in http://eclipse.org/aspectj/doc/released/README-169.html ?
I had no idea those existed! Consider this closed. A quick search using site:eclipse.org/aspectj didn't reveal much in the official AspectJ docs on that, only the readme you indicated.