private static class InjectorShell.RootModule extends java.lang.Object implements Module
Modifier | Constructor and Description |
---|---|
private |
RootModule() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Binder binder)
Contributes bindings and other configurations for this module to
binder . |
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.