There are older posts on the list about that message, eg. http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg01058.html
You probably can ignore them, or you could be more specific in your call pointcut and specify the annotation: call(public @Lock * AgentProxy+.*(..) ) then it is unlikely to attempt matching on things like 'toString()' called against AgentProxy (which is declared in Object and may be leading to your message). Any On 15 February 2010 01:20, Luca Ferrari <[email protected]> wrote: > On Monday 15 February 2010 08:52:12 am [email protected]'s > cat walking on the keyboard wrote: >> Are you sure you can use proceed method with a before advice? I think you >> can use it only with around advice. >> > > > Ops, you are right. However I've sligthly changed my pointcut defintion as > follows: > > private pointcut avoidLockedMethodInvocation( AgentProxy proxy, Lock > lockingAnnotation ) : call( public * AgentProxy+.*(..) ) > && > > �...@annotation(lockingAnnotation) > && > > target( proxy ); > > Now I've got a warning that states "does not match because declaring type is > java.lang.Object, if match desired use > target(whitecat.core.agents.AgentProxy+) [Xlint:unmatchedSuperTypeInCall]" > > What does it means? I'm already using a AgentProxy+ as target.... > > Luca > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
