在Guice中,有没有一种方法MethodInterceptor::invoke可以在执行截取的方法之后(而不是紧接在此之前)调用我的实现?
我已将当前代码添加到我的AbstractModule:
bindInterceptor(Matchers.subclassesOf(InterceptedClass.class), Matchers.annotatedWith(MyMethodAnnotation.class), new MyMethodInterceptor());
Run Code Online (Sandbox Code Playgroud)