[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Possible bug

This is likely an AJDT problem, not an AspectJ problem.  Do you see
the errors in Eclipse's problems view, or only in the editor?

2010/10/7 Manuel Menezes de Sequeira <Manuel.Sequeira@xxxxxxxx>:
> Hi!
> I just came across what seems to be a bug. It affects the following code:
> public class A {
> void foo() {
> }
> private static aspect B {
> before() : execution(* *(..)) {
> }
> }
> }
> Two warnings are generated:
>
> In the aspect header: The type A.B is never used locally
> In the advice header: The method b() from the type A.B is never used locally
>
> I'm using:
>
> Eclipse 3.6.1, Build id: M20100909-0800
> AJDT 2.1.1.e36x-20101006-1400 (with AspectJ version: 1.6.10.20101003133000)
>
> What do you think?
> Manuel
> --
> http://www.google.com/profiles/MMSequeira
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>