static Module forModule ( Module module ) { // avoid infinite recursion, since installing a module always installs itself if ( module instanceof CheckedProviderMethodsModule ) { return Modules . EMPTY_MODULE ; } return new CheckedProviderMethodsModule ( module ) ; }
Returns a module which creates bindings for provider methods from the given module .