Community
Participate
Working Groups
////////////// in the following code aspect A{ before(): call(* *(..)) && cflow(execution(* *(..))) {} } //////////////////////////////////// two "advice not appied" xlint messages are produced, one for the before advice and one for the cflow within the before advice.
Created attachment 22682 [details] fix this Attatched is a patch to fix this by only printing out "advice not applied" messages at most once per line. this does though mean that for something like this only one "advice not applied" message would be produced: aspect A{ pointcut empty(); before(): empty(){}; before(): empty(){}; }
Created attachment 22683 [details] test this patch to add a unit test that checks that the above patch is working
integrate patch in M4...
a slight variation on the patch is now checked into the tree and the test passes. Thanks Andrew :)