| Modifier and Type | Field and Description |
|---|---|
private java.lang.Iterable<? extends Element> |
elements |
| Constructor and Description |
|---|
ElementsAsModule(java.lang.Iterable<? extends Element> elements) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Binder binder)
Contributes bindings and other configurations for this module to
binder. |
private final java.lang.Iterable<? extends Element> elements
ElementsAsModule(java.lang.Iterable<? extends Element> elements)
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.