Class Modules.CombinedModule

  • All Implemented Interfaces:
    Module
    Enclosing class:
    Modules

    private static class Modules.CombinedModule
    extends java.lang.Object
    implements Module
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Set<Module> modulesSet  
    • Constructor Summary

      Constructors 
      Constructor Description
      CombinedModule​(java.lang.Iterable<? extends Module> modules)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(Binder binder)
      Contributes bindings and other configurations for this module to binder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • modulesSet

        final java.util.Set<Module> modulesSet
    • Constructor Detail

      • CombinedModule

        CombinedModule​(java.lang.Iterable<? extends Module> modules)
    • Method Detail

      • configure

        public void configure​(Binder binder)
        Description copied from interface: Module
        Contributes bindings and other configurations for this module to binder.

        Do not invoke this method directly to install submodules. Instead use Binder.install(Module), which ensures that provider methods are discovered.

        Specified by:
        configure in interface Module