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

Method configure

core/test/com/google/inject/ReflectionTest.java:38–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 Guice.createInjector(
37 new AbstractModule() {
38 @Override
39 protected void configure() {
40 bind(Foo.class).toInstance(foo);
41 }
42 });
43
44 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class));

Callers

nothing calls this directly

Calls 6

getMethod · 0.95
toInstanceMethod · 0.65
bindMethod · 0.65
toMethod · 0.65
annotatedWithMethod · 0.65
bindConstantMethod · 0.65

Tested by

no test coverage detected