Class Modules.RequireExplicitBindingsModule

  • All Implemented Interfaces:
    Module
    Enclosing class:
    Modules

    private static final class Modules.RequireExplicitBindingsModule
    extends java.lang.Object
    implements Module
    • 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
    • Constructor Detail

      • RequireExplicitBindingsModule

        private RequireExplicitBindingsModule()
    • 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