You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SimpleTracing.java 250B

123456789101112131415
  1. aspect SimpleTracing
  2. {
  3. pointcut traceCall():
  4. call (void SampleClass.foo(..));
  5. before(): traceCall()
  6. {
  7. System.out.println ("Entering: " + thisJoinPoint);
  8. }
  9. after(): traceCall()
  10. {
  11. System.out.println ("Exiting: " + thisJoinPoint);
  12. }
  13. }