原创 AOP 切面的使用,以及如何在通知上獲取切入方法的註解和參數

1、自定義註解 @Retention(RetentionPolicy.RUNTIME) @Target(value=ElementType.METHOD) public @interface AdviceAnnotation { S