Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] @SuppressAjWarnings for aspectj syntax (ie, non @Aspect syntax)

@SuppressAjWarnings should work with code style aspects (that's where I use it most frequently). To suppress "adviceDidNotMatch" messages you need to annotate the advice declaration (not the pointcut). If this isn't working for you in some scenario it could indicate a bug...

Regards, Adrian.

On 03/03/06, Barry Kaplan <groups1@xxxxxxxxxxx> wrote:
@SuppressAjWarnings works for @Aspect's, but does not work on say a
pointcut in a regular aspect. Is this a known limitation? Or might there
be another mechanism?

I have some "library" aspects that have the classes available they
advice available, but they do not get to weave them in the IDE. Only at
runtime with LTW be used. So I don't want see those warnings. I have
suppressed the warnings in my @Aspect's, but cannot seem to do so for my
[regular] aspect's.

-barry
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



--
-- Adrian
adrian.colyer@xxxxxxxxx

Back to the top