Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] declare warning

Check out the documentation on the declare forms and the limitations on the pointcuts you may use with them.

Cheers,
Nick
On Feb 23, 2004, at 4:40 AM, philipvanbogaert@xxxxxxxxxx wrote:

following code fragment doesn't seem's to work correctly,
i'm trying to give a warning for each joinpoint that isn't in the flow hierachy
of my main method.

declare warning: !cflow(execution(void *.main(String[]))) : "Unreachable
code";

Greetz,
Philip

----------------------------------------------------------------------- --------- Tiscali ADSL: 19,50 €/maand, gedurende 3 maand! Snel Internet, en voor iedereen.
http://reg.tiscali.be/default.asp?lg=nl



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




Back to the top