Can't Get Guice Method Interception to Work
问题 I'm trying to print a "Hello, AOP!" message whenever Guice/AOP Alliance intercepts a method marked with a particular (custom) annotation. I have followed the official docs (a PDF that can be found here - AOP method interception stuff on pg. 11 ) and cannot get it to work, only compile. First, my annotation: @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) @BindingAnnotation public @interface Validating { // Do nothing; used by Google Guice to intercept certain methods. } Then