[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-dev] binding arbitrary args
|
> I wasn't able to find AspectJ API links on the website.
Oops. We lost that in the move. For now, see the old doc index at
http://dev.eclipse.org/viewcvs/indextech.cgi/%7Echeckout%7E/aspectj-home/doc/index.html
I'll fix the new one to post old and new docs.
Wes
------------Original Message------------
From: "Oleg Lebedev" <oleglebedev@xxxxxxxxxxxxx>
To: "AspectJ developer discussions" <aspectj-dev@xxxxxxxxxxx>
Date: Thu, May-5-2005 10:28 AM
Subject: RE: [aspectj-dev] binding arbitrary args
Sweet, thanks Ramnivas.
I wasn't able to find AspectJ API links on the website. The only link to org.aspectj.lang.JoinPoint I was able to find was on this page http://www.eclipse.org/aspectj/doc/progguide/language-thisJoinPoint.html and it was broken.
Any pointers to where I can find eclipse API?
-----Original Message-----
From: aspectj-dev-bounces@xxxxxxxxxxx [mailto:aspectj-dev-bounces@xxxxxxxxxxx] On Behalf Of Ramnivas Laddad
Sent: Thursday, May 05, 2005 10:08 AM
To: AspectJ developer discussions
Subject: Re: [aspectj-dev] binding arbitrary args
You can access all the arguments using thisJoinPoint.getArgs() which returns Object[] containing all arguments to the selected join point (with each argument appropriately boxed).
-Ramnivas
===
Ramnivas Laddad,
Author, AspectJ in Action
http://ramnivas.com
M: (408)203-4621
Oleg Lebedev wrote:
Greetings.
Is it possible to declare a pointcut, which targets any method in a class with any kind of arguments and then lists all the passed in parameters? What I am trying to do is to to print out all the parameters passed in to any method in a class independent of the method signature. So, it would be nice if I could bind an advice parameter, say a Vector, to all the parameters passed in to the method.
Any help would be greatly appreciated.
Regards.
Alec
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
If you have questions about this email,
Please contact the IT Help Desk.
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev