[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] declare warning
|
Just wondering... Halting problem? ;-)
----
From "Aspect-Oriented Programming with AspectJ" by Ivan Kiselev, page 199:
"...
Because there is no runtime context at the compile time, the statically
determinable pointcuts must not be, and cannot be, expressed in terms of
the following primitive pointcuts that depend on runtime information to
work.
this
target
args
cflow
cflowbelow
if
..."
Regards,
-eyðun
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