Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Xlint:shadowNotInStructure - should I care and why?

Andrew Clement wrote:

That lint warning is an indication that there is a problem building the
'model' of what happened during weaving.  This model is used to give you
the nice gutter annotations and feedback in the UI - it doesn't affect
whether the weaving of the program succeeds.

So... it doesnt affect whether your program will function as expected but
you may not see gutter annotations (on the lines you have marked with <--)
after compilation.
Makes sense. The gutter annotations are indeed missing.

It does indicate something we should fix though, so if you raise a bug with
your sample program in, I'll look at it.
Reported as https://bugs.eclipse.org/bugs/show_bug.cgi?id=102742 (AJDT/Core - I hope my guess was right)

To answer your second question, descriptions of some of the lint warnings
get included in the doc - for example 'adviceDidNotMatch' warnings are
described in the AspectJ5 Notebook.  *But* there is no complete description
of them all - Oliver Boehm wrote some testcases for us that produced many
of the lint warnings, I think that was in preparation for a book he's
writing on AspectJ - so maybe you can find them in there :)  I think we
ought to have a list somewhere in our doc - I would accept that as another
bug...
Reported as https://bugs.eclipse.org/bugs/show_bug.cgi?id=102743

Thanks for the pointers!

Rafal


Back to the top