| Modifier and Type | Method and Description |
|---|---|
void |
configure(Binder binder)
Contributes bindings and other configurations for this module to
binder. |
boolean |
equals(java.lang.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)
Modulebinder.
Do not invoke this method directly to install submodules. Instead use
Binder.install(Module), which ensures that provider methods are
discovered.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object