Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Order of annotation and static relevant?

Hi all,

I think this is a bug, but I not sure:
public aspect Test {
    void f() {}
    @A void af() {}
    static void sf() {}
    @A static void asf1() {}
    static @A void asf2() {}
   
    private static @interface A {}
   
    private static aspect B {
        declare error : execution(static @A * *(..)) : "Does not work";
        declare error : execution(@A static * *(..)) : "Works";
    }   
}
Regards,

Manuel
begin:vcard
fn:Manuel Menezes de Sequeira
n:Menezes de Sequeira;Manuel
org:ISCTE;DSI
adr;quoted-printable:;;Av.=C2=AA das For=C3=A7as Armadas;Lisboa;;1649-026;Portugal
email;internet:Manuel.Sequeira@xxxxxxxx
tel;work:+351 217903085
tel;fax:+351 217903927
tel;cell:+351 962337428
url:http://iscte.pt/~mms/
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Back to the top