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

Method getBinding

core/src/com/google/inject/Injector.java:132–132  ·  view source on GitHub ↗

Returns the binding for the given injection key. This will be an explicit bindings if the key was bound explicitly by a module, or an implicit binding otherwise. The implicit binding will be created if necessary. This method is part of the Guice SPI and is intended for use by tools and extension

(Key<T> key)

Source from the content-addressed store, hash-verified

130 * @throws ConfigurationException if this injector cannot find or create the binding.
131 */
132 <T> Binding<T> getBinding(Key<T> key);
133
134 /**
135 * Returns the binding for the given type. This will be an explicit bindings if the injection key

Implementers 2

InjectorImplcore/src/com/google/inject/internal/In
ToolStageInjectorcore/src/com/google/inject/internal/In

Calls

no outgoing calls