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

Method getInstance

core/test/com/google/inject/spi/ElementsTest.java:152–154  ·  view source on GitHub ↗
(Binding<T> binding)

Source from the content-addressed store, hash-verified

150 }
151
152 private <T> T getInstance(Binding<T> binding) {
153 return binding.acceptTargetVisitor(Elements.<T>getInstanceVisitor());
154 }
155
156 public void testBindConstantAnnotations() {
157 checkModule(

Callers 1

visitMethod · 0.95

Calls 2

getInstanceVisitorMethod · 0.95
acceptTargetVisitorMethod · 0.65

Tested by

no test coverage detected