Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to get caller method name, little urgent.

I would look at thisEnclosingJoinPointStaticPart when advising the
call join point.

Andy

2010/6/8 Rajat Gupta <innocent_person1@xxxxxxxxx>:
>
> Hi all !
>
> I want to get the caller method name which calls a particular api.
> So ideally i should get "testMethod" when ever i call "logData" method.
>
> There is another question related to this after earlier part is complete I
> want to use "aspectJLogging" method when ever "logData" method is called.
> Please suggest this as well.
>
> I had attached the files.
>
> I would be very thankful for your help.
>
> Many Thanks
> Rajat
>
>
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>


Back to the top