public interface ConvertedConstantBinding<T> extends Binding<T>, HasDependencies
Modifier and Type | Method and Description |
---|---|
Set<Dependency<?>> |
getDependencies()
Returns a singleton set containing only the converted key.
|
Key<String> |
getSourceKey()
Returns the key for the source binding.
|
TypeConverterBinding |
getTypeConverterBinding()
Returns the type converter binding used to convert the constant.
|
T |
getValue()
Returns the converted value.
|
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
acceptVisitor, applyTo, getSource
T getValue()
TypeConverterBinding getTypeConverterBinding()
Key<String> getSourceKey()
Injector.getBinding(key)
.Set<Dependency<?>> getDependencies()
getDependencies
in interface HasDependencies
Copyright © 2006–2020 Google, Inc.. All rights reserved.