Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] does not match because annotation has @Target{ElementType.METHOD}

On Tuesday, July 20, 2010 10:13:03 pm Rizal Anwar's cat walking on the 
keyboard wrote:
> Shouldn't it be
> 
> private pointcut avoidLockedMethodInvocation( AgentProxy proxy, Lock
>  lockingAnnotation ) : call( @Lock public * AgentProxy+.*(..) )
>                                                                         &&


Ops, right I switched "public" and "@Lock" in my definition.
Thanks.
Luca


Back to the top