Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Method Tracing

For all methods called from the foo() method:

pointcut interestingMethods(): call(* *(..)) && withincode(public void foo(..));

before(): interestingMethods() {
  System.out.println("About to call "+thisJoinPoint);
}

Compile with -showWeaveInfo to see all the joinpoints being hit by that.

cheers,
Andy


On 30 December 2013 22:52, samantha joseph <samanthajoseph04@xxxxxxxxx> wrote:
Hello,

Can anyone please suggest how to get the methods called by a particular method.

I am using aspectJ in eclipse.

Thank You!

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top