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

1234567891011121314151617181920212223
  1. aspect A1 {
  2. after() throwing (Throwable t): execution(* Hello.*(..)) {
  3. System.out.println("enter");
  4. }
  5. after() throwing: execution(* Hello.*(..)) {
  6. System.out.println("enter");
  7. }
  8. after() returning: execution(* Hello.*(..)) {
  9. System.out.println("enter");
  10. }
  11. after(): execution(void Hello.*ai*(..)) {
  12. }
  13. }
  14. class Hello {
  15. public static void main(String[] args) {
  16. System.out.println("hello");
  17. }
  18. }