Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] method parameter annotation in a pointcut

AJ5 does not currently support annotations on parameters. The best(?) workaround is to use an annotation on the method that "refers" to the parameters. I did this in Contract4J, for example.

dean

Christopher Schmidt wrote:
Am i wrong or are parameter annotations not possible?

Pointcut:
execution( !@NoPrivilegeCheck public * PrivilegedService+.*( @PrivilegesParameter PrivilegedCluster+))
does not work with the annotation PrivilegesParameter.

Is that right?
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


--
Dean Wampler, Ph.D.
dean at aspectprogramming.com http://www.aspectprogramming.com http://www.contract4j.org I want my tombstone to say: Unknown Application Error in Dean Wampler.exe. Application Terminated.
  [Okay]    [Cancel]



Back to the top