Why does the following code:
pointcut callsToList() : call(* List.*(..));
before(List l) : callsToList() && target(l) {
System.out.println("cool");
}
generates the following warning:
advice defined in org.eclipse.ajdt.examples.ListAdvice has not been applied [Xlint:adviceDidNotMatch]
I am working with in Eclipse. I installed eclipse aspectj plugin and of course my project is an aspectj project.
Edit: Moreover I started from a working example provided by ajdt plugin:
pointcut callsToBeginTask() : call(void IProgressMonitor.beginTask(..));
before() : callsToBeginTask() {
System.out.println("cool");
};
I can't see any difference except the fact that this example works without warning ...