Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to trace method calls generated from a method

call(* **(..)) will enable for all methods.

if you want method2 and method3 then as follows

call(* method1(..)) ||call(* method1(..))

Thanks,



From: Swati <samanthajoseph04@xxxxxxxxx>
To: aspectj-users@xxxxxxxxxxx
Date: 12/31/2013 12:10 PM
Subject: [aspectj-users] How to trace method calls generated from a method
Sent by: aspectj-users-bounces@xxxxxxxxxxx





I am using AspectJ in eclipse. i am not able to find out how to get methods
called by a method using aspectj.

For ex..

void method1()
{

method2();
method3();

}

when method1 is called, then i want to get that method2() and method3() are
called by method1().



--
View this message in context:
http://aspectj.2085585.n4.nabble.com/classes-and-methodes-name-tp4650877p4651236.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


Back to the top