Modifier and Type | Method and Description |
---|---|
void |
configure(Binder binder)
Contributes bindings and other configurations for this module to
binder . |
boolean |
equals(Object o) |
int |
hashCode() |
static <T> RealOptionalBinder<T> |
newRealOptionalBinder(Binder binder,
Key<T> type) |
LinkedBindingBuilder<T> |
setBinding() |
LinkedBindingBuilder<T> |
setDefault() |
public static <T> RealOptionalBinder<T> newRealOptionalBinder(Binder binder, Key<T> type)
public LinkedBindingBuilder<T> setDefault()
public LinkedBindingBuilder<T> setBinding()
public void configure(Binder binder)
Module
binder
.
Do not invoke this method directly to install submodules. Instead use
Binder.install(Module)
, which ensures that provider methods
are
discovered.
Copyright © 2006–2020 Google, Inc.. All rights reserved.