com.google.inject.spi.ConvertedConstantBinding<T> |
A binding created from converting a bound instance to a new type. The source binding has the same binding annotation but a different type.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a singleton set containing only the converted key.
| |||||||||||
Returns the key for the source binding.
| |||||||||||
Returns the type converter binding used to convert the constant.
| |||||||||||
Returns the converted value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.inject.Binding
| |||||||||||
From interface
com.google.inject.spi.Element
| |||||||||||
From interface
com.google.inject.spi.HasDependencies
|
Returns a singleton set containing only the converted key.
Returns the key for the source binding. That binding can e retrieved from an injector using
Injector.getBinding(key)
.
Returns the type converter binding used to convert the constant.