您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }