[
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
|
before()
: call(*
method1(..)) && within(XYZ)
thisEnclosingJoinPointStaticPart.toString()
may report calling method information.
Thanks,
krishna
From:
| samantha
joseph <samanthajoseph04@xxxxxxxxx>
|
To:
| aspectj-users@xxxxxxxxxxx
|
Date:
| 12/31/2013
12:48 PM
|
Subject:
| Re:
[aspectj-users] How to trace method calls generated from a
method
|
Sent
by:
| aspectj-users-bounces@xxxxxxxxxxx |
Thnx krishna, but the problem actually is that if i dont
know what are the methods called by method1().
I am trying to do dynamic analysis. So, i dont know the
whole code. I just know that method1() exist in class say XYZ. But i dont
want to go through the code. Is it possile??
On Tue, Dec 31, 2013 at 12:28 PM, Krishna Jasty <krishna.jasty@xxxxxxx>
wrote:
call(*
**(..)) will enable for all methods.
if you want method2 and method3 then as follows
call(* method1(..))
||call(*
method1(..))
Thanks,
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
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users