private abstract static class RealMapBinder.RealMapBinderProviderWithDependencies<K,V,P> extends InternalProviderInstanceBindingImpl.Factory<P>
Modifier and Type | Field and Description |
---|---|
(package private) RealMapBinder.BindingSelection<K,V> |
bindingSelection |
provisionCallback
Modifier | Constructor and Description |
---|---|
private |
RealMapBinderProviderWithDependencies(RealMapBinder.BindingSelection<K,V> bindingSelection) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doInitialize(InjectorImpl injector,
Errors errors)
Initialize the factory.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
(package private) void |
initialize(InjectorImpl injector,
Errors errors)
A callback that allows for implementations to fetch dependencies on other bindings.
|
doProvision, get, get, getSource
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDependencies
final RealMapBinder.BindingSelection<K,V> bindingSelection
private RealMapBinderProviderWithDependencies(RealMapBinder.BindingSelection<K,V> bindingSelection)
final void initialize(InjectorImpl injector, Errors errors) throws ErrorsException
InternalProviderInstanceBindingImpl.Factory
Will be called exactly once, prior to any call to InternalProviderInstanceBindingImpl.Factory.doProvision(com.google.inject.internal.InternalContext, com.google.inject.spi.Dependency<?>)
.
initialize
in class InternalProviderInstanceBindingImpl.Factory<P>
ErrorsException
protected abstract void doInitialize(InjectorImpl injector, Errors errors) throws ErrorsException
ErrorsException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object