Class ProviderMethodsModule
java.lang.Object
com.google.inject.internal.ProviderMethodsModule
- All Implemented Interfaces:
Module
-
Method Summary
Modifier and TypeMethodDescriptionvoidContributes bindings and other configurations for this module tobinder.booleanstatic ModuleReturns a module which creates bindings for provider methods from the given module.static ModuleforModule(Object module, ModuleAnnotatedMethodScanner scanner) Returns a module which creates bindings methods in the module that match the scanner.static ModuleReturns a module which creates bindings for provider methods from the given object.Class<?> List<ProviderMethod<?>> getProviderMethods(Binder binder) inthashCode()booleanIs it scanning the built-in @Provides* methods.
-
Method Details
-
forModule
-
forModule
Returns a module which creates bindings methods in the module that match the scanner. -
forObject
-
getDelegateModuleClass
-
configure
Description copied from interface:ModuleContributes bindings and other configurations for this module tobinder.Do not invoke this method directly to install submodules. Instead use
Binder.install(Module), which ensures thatprovider methodsare discovered. -
getProviderMethods
-
equals
-
hashCode
-
isScanningBuiltInProvidesMethods
public boolean isScanningBuiltInProvidesMethods()Is it scanning the built-in @Provides* methods. -
getScanner
-