Uses of Class
com.google.inject.spi.ModuleAnnotatedMethodScanner
Packages that use ModuleAnnotatedMethodScanner
Package
Description
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
Guice (sounds like "juice")
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar
.Guice service provider interface
-
Uses of ModuleAnnotatedMethodScanner in com.google.inject
Methods in com.google.inject with parameters of type ModuleAnnotatedMethodScannerModifier and TypeMethodDescriptionvoid
Binder.scanModulesForAnnotatedMethods
(ModuleAnnotatedMethodScanner scanner) Adds a scanner that will look in all installed modules for annotations the scanner can parse, and binds them like @Provides methods. -
Uses of ModuleAnnotatedMethodScanner in com.google.inject.internal
Subclasses of ModuleAnnotatedMethodScanner in com.google.inject.internalModifier and TypeClassDescription(package private) final class
AModuleAnnotatedMethodScanner
that handles the ,ProvidesIntoSet
,ProvidesIntoMap
andProvidesIntoOptional
annotations.Fields in com.google.inject.internal declared as ModuleAnnotatedMethodScannerModifier and TypeFieldDescriptionprivate final ModuleAnnotatedMethodScanner
ProviderMethodsModule.scanner
Methods in com.google.inject.internal that return ModuleAnnotatedMethodScannerMethods in com.google.inject.internal with parameters of type ModuleAnnotatedMethodScannerModifier and TypeMethodDescriptionstatic Module
ProviderMethodsModule.forModule
(Object module, ModuleAnnotatedMethodScanner scanner) Returns a module which creates bindings methods in the module that match the scanner.private static Module
ProviderMethodsModule.forObject
(Object object, boolean skipFastClassGeneration, ModuleAnnotatedMethodScanner scanner) Constructors in com.google.inject.internal with parameters of type ModuleAnnotatedMethodScannerModifierConstructorDescriptionprivate
ProviderMethodsModule
(Object delegate, boolean skipFastClassGeneration, ModuleAnnotatedMethodScanner scanner) -
Uses of ModuleAnnotatedMethodScanner in com.google.inject.multibindings
Methods in com.google.inject.multibindings that return ModuleAnnotatedMethodScannerModifier and TypeMethodDescriptionstatic ModuleAnnotatedMethodScanner
MultibindingsScanner.scanner()
Deprecated.This method returns an empty scanner since the preexisting functionality is installed by default. -
Uses of ModuleAnnotatedMethodScanner in com.google.inject.spi
Fields in com.google.inject.spi declared as ModuleAnnotatedMethodScannerModifier and TypeFieldDescriptionprivate ModuleAnnotatedMethodScanner
Elements.RecordingBinder.currentScanner
(package private) final ModuleAnnotatedMethodScanner
ElementSource.scanner
The scanner that created this binding (if it was created by a scanner).private final ModuleAnnotatedMethodScanner
ModuleAnnotatedMethodScannerBinding.scanner
private ModuleAnnotatedMethodScanner
Elements.RecordingBinder.scannerSource
The current scanner.Fields in com.google.inject.spi with type parameters of type ModuleAnnotatedMethodScannerModifier and TypeFieldDescriptionprivate final Set<ModuleAnnotatedMethodScanner>
Elements.RecordingBinder.scanners
Methods in com.google.inject.spi that return ModuleAnnotatedMethodScannerMethods in com.google.inject.spi that return types with arguments of type ModuleAnnotatedMethodScannerModifier and TypeMethodDescriptionprivate Iterable<ModuleAnnotatedMethodScanner>
Elements.RecordingBinder.getAllScanners()
Get all scanners registered in this binder and its ancestors.Methods in com.google.inject.spi with parameters of type ModuleAnnotatedMethodScannerModifier and TypeMethodDescriptionvoid
Elements.RecordingBinder.scanModulesForAnnotatedMethods
(ModuleAnnotatedMethodScanner scanner) Constructors in com.google.inject.spi with parameters of type ModuleAnnotatedMethodScannerModifierConstructorDescription(package private)
ElementSource
(ElementSource originalSource, boolean trustedOriginalSource, Object declaringSource, ModuleSource moduleSource, ModuleAnnotatedMethodScanner scanner) Creates a new from the given parameters.ModuleAnnotatedMethodScannerBinding
(Object source, ModuleAnnotatedMethodScanner scanner)