Skip to main content

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

Well it did,
cflow can determed staticly as static tree of joint points
but it gave a warning for every method
Greetz,
Philip
Op maandag 23 februari 2004 17:05, schreef Ramnivas Laddad:
> This code wound't even compile. declare error and declare warning
> can use only statically-determinable pointcuts and
> cflow isn't such a pointcut.
>
> -Ramnivas
>
> --- 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
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.
> http://antispam.yahoo.com/tools
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top