| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ImmutableSet | |
| pack-priv final T |
| Access | Constructor and Description |
|---|---|
| public | InstanceBindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Set<InjectionPoint> injectionPoints, T instance)
|
| public | InstanceBindingImpl(Object source, Key<T> key, Scoping scoping, Set<InjectionPoint> injectionPoints, T instance)
|
| Modifier and Type | Method and Description |
|---|---|
| public <V> V | acceptTargetVisitor(BindingTargetVisitor<? super T, V>
to call back on visitor)Implements com. |
| public void | applyTo(Binder
to apply configuration element to binder)Implements com. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public Set | getDependencies()
Implements com. |
| public Set | getInjectionPoints()
Implements com. |
| public T | getInstance()
Implements com. |
| public int | |
| public String | toString()
Returns a string representation of the object.
|
| public BindingImpl | |
| public BindingImpl |
| injectionPoints | back to summary |
|---|---|
| pack-priv final ImmutableSet<InjectionPoint> injectionPoints | |
| instance | back to summary |
|---|---|
| pack-priv final T instance | |
| InstanceBindingImpl | back to summary |
|---|---|
| public InstanceBindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Set<InjectionPoint> injectionPoints, T instance) | |
| InstanceBindingImpl | back to summary |
|---|---|
| public InstanceBindingImpl(Object source, Key<T> key, Scoping scoping, Set<InjectionPoint> injectionPoints, T instance) | |
| acceptTargetVisitor | back to summary |
|---|---|
| public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T, V> visitor) Implements com. Doc from com. Accepts a target visitor. Invokes the visitor method specific to this binding's target.
| |
| applyTo | back to summary |
|---|---|
| public void applyTo(Binder binder) Implements com. Doc from com. Writes this module element to the given binder (optional operation). | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getDependencies | back to summary |
|---|---|
| public Set Implements com. Doc from com. Returns the known dependencies for this type. If this has dependencies whose values are not
known statically, a dependency for the
| |
| getInjectionPoints | back to summary |
|---|---|
| public Set Implements com. Doc from com. Returns the field and method injection points of the instance, injected at injector-creation time only.
| |
| getInstance | back to summary |
|---|---|
| public T getInstance() Implements com. Doc from com. Returns the user-supplied instance.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object. | |
| withKey | back to summary |
|---|---|
| public BindingImpl Overrides com.
| |
| withScoping | back to summary |
|---|---|
| public BindingImpl Overrides com.
| |