| java.lang.Object | |
| ↳ | com.google.inject.util.Modules | 
Static utility methods for creating and working with instances of Module.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Modules.OverriddenModuleBuilder | See the EDSL example at override().  | 
    ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Module | EMPTY_MODULE | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new module that installs all of  
  
  modules. | |||||||||||
Returns a new module that installs all of  
  
  modules. | |||||||||||
Returns a builder that creates a module that overlays override modules over the given
 modules. 
  
   | |||||||||||
Returns a builder that creates a module that overlays override modules over the given
 modules. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
Returns a new module that installs all of modules.
Returns a new module that installs all of modules.
Returns a builder that creates a module that overlays override modules over the given
 modules. If a key is bound in both sets of modules, only the binding from the override modules
 is kept. If a single PrivateModule is supplied or all elements are from
 a single PrivateBinder, then this will overwrite the private bindings.
 Otherwise, private bindings will not be overwritten unless they are exposed. 
 This can be used to replace the bindings of a production module with test bindings:
 
 Module functionalTestModule
     = Modules.override(new ProductionModule()).with(new TestModule());
 
 Prefer to write smaller modules that can be reused and tested without overrides.
| modules | the modules whose bindings are open to be overridden | 
|---|
Returns a builder that creates a module that overlays override modules over the given
 modules. If a key is bound in both sets of modules, only the binding from the override modules
 is kept. If a single PrivateModule is supplied or all elements are from
 a single PrivateBinder, then this will overwrite the private bindings.
 Otherwise, private bindings will not be overwritten unless they are exposed. 
 This can be used to replace the bindings of a production module with test bindings:
 
 Module functionalTestModule
     = Modules.override(getProductionModules()).with(getTestModules());
 
 Prefer to write smaller modules that can be reused and tested without overrides.
| modules | the modules whose bindings are open to be overridden | 
|---|