No, AFAIK there's currently no way to do it. All you can do is use
reflection (thisJoinPoint.getArgs()).


Eric


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:aspectj-users-
> [EMAIL PROTECTED] On Behalf Of Ingram Chen
> Sent: Monday, October 16, 2006 9:56 PM
> To: [email protected]
> Subject: [aspectj-users] How do I specify the argument at any location
> ?
> 
> 
> Hi all,
> @AspectJ support wild card in args such as:
> 
> args(foo, ..) // first argument match foo, the rest is any or args(..,
> foo) // last argument match foo, the rest is any
> 
> but I can't specify foo at any location like:
> 
> args(..,foo, ..) // one argument match foo at any location
> 
> It seems @AspectJ only support one ".." in the expression. Is there
any
> other way to achieve this ? or @AspectJ just not support such feature
?
> 
> Thanks in advance
> 
> --
> View this message in context: http://www.nabble.com/How-do-I-specify-
> the-argument-at-any-location---tf2456595.html#a6847040
> Sent from the AspectJ - users mailing list archive at Nabble.com.
> 
> _______________________________________________
> 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

Reply via email to