call(* **(..)) will enable for all methods. if you want method2 and method3 then as follows
call(* method1(..)) ||call(* method1(..)) Thanks, From: Swati <samanthajosep...@gmail.com> To: aspectj-users@eclipse.org Date: 12/31/2013 12:10 PM Subject: [aspectj-users] How to trace method calls generated from a method Sent by: aspectj-users-boun...@eclipse.org 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@eclipse.org 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
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users