MCPcopy Create free account
hub / github.com/google/guice / configure

Method configure

core/test/com/googlecode/guice/BytecodeGenTest.java:62–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 private final Module interceptorModule =
61 new AbstractModule() {
62 @Override
63 protected void configure() {
64 bindInterceptor(
65 any(),
66 any(),
67 new MethodInterceptor() {
68 @Override
69 public Object invoke(MethodInvocation chain) throws Throwable {
70 return chain.proceed() + " WORLD";
71 }
72 });
73 }
74 };
75
76 private final Module noopInterceptorModule =

Callers

nothing calls this directly

Calls 4

anyMethod · 0.80
bindInterceptorMethod · 0.65
toMethod · 0.65
bindMethod · 0.65

Tested by

no test coverage detected