public interface LinkedBindingBuilder<T> extends SingletonBindingBuilder<T>
Modifier and Type | Method and Description |
---|---|
SingletonBindingBuilder<T> |
to(Class<? extends T> target) |
void |
toInstance(T instance) |
SingletonBindingBuilder<T> |
toProvider(Class<? extends Provider<T>> providerType) |
SingletonBindingBuilder<T> |
toProvider(Provider<T> provider) |
asSingleton
getBinding