Uses of Class
com.google.inject.spi.ModuleAnnotatedMethodScanner
-
Packages that use ModuleAnnotatedMethodScanner Package Description com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.com.google.inject.internal Guice (sounds like "juice")com.google.inject.multibindings Extension for binding multiple instances in a collection; this extension requiresguice-multibindings.jar
.com.google.inject.spi Guice service provider interface -
-
Uses of ModuleAnnotatedMethodScanner in com.google.inject
Methods in com.google.inject with parameters of type ModuleAnnotatedMethodScanner Modifier and Type Method Description void
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.internal Modifier and Type Class Description (package private) class
ProvidesMethodScanner
AModuleAnnotatedMethodScanner
that handles the ,ProvidesIntoSet
,ProvidesIntoMap
andProvidesIntoOptional
annotations.Fields in com.google.inject.internal declared as ModuleAnnotatedMethodScanner Modifier and Type Field Description private ModuleAnnotatedMethodScanner
ProviderMethodsModule. scanner
Methods in com.google.inject.internal that return ModuleAnnotatedMethodScanner Modifier and Type Method Description ModuleAnnotatedMethodScanner
ProviderMethodsModule. getScanner()
Methods in com.google.inject.internal with parameters of type ModuleAnnotatedMethodScanner Modifier and Type Method Description static Module
ProviderMethodsModule. forModule(java.lang.Object module, ModuleAnnotatedMethodScanner scanner)
Returns a module which creates bindings methods in the module that match the scanner.private static Module
ProviderMethodsModule. forObject(java.lang.Object object, boolean skipFastClassGeneration, ModuleAnnotatedMethodScanner scanner)
Constructors in com.google.inject.internal with parameters of type ModuleAnnotatedMethodScanner Constructor Description ProviderMethodsModule(java.lang.Object delegate, boolean skipFastClassGeneration, ModuleAnnotatedMethodScanner scanner)
-
Uses of ModuleAnnotatedMethodScanner in com.google.inject.multibindings
Methods in com.google.inject.multibindings that return ModuleAnnotatedMethodScanner Modifier and Type Method Description static 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 ModuleAnnotatedMethodScanner Modifier and Type Field Description private ModuleAnnotatedMethodScanner
Elements.RecordingBinder. currentScanner
(package private) ModuleAnnotatedMethodScanner
ElementSource. scanner
The scanner that created this binding (if it was created by a scanner).private ModuleAnnotatedMethodScanner
ModuleAnnotatedMethodScannerBinding. scanner
private ModuleAnnotatedMethodScanner
Elements.RecordingBinder. scannerSource
The current scanner.Fields in com.google.inject.spi with type parameters of type ModuleAnnotatedMethodScanner Modifier and Type Field Description private java.util.Set<ModuleAnnotatedMethodScanner>
Elements.RecordingBinder. scanners
Methods in com.google.inject.spi that return ModuleAnnotatedMethodScanner Modifier and Type Method Description ModuleAnnotatedMethodScanner
ModuleAnnotatedMethodScannerBinding. getScanner()
Methods in com.google.inject.spi that return types with arguments of type ModuleAnnotatedMethodScanner Modifier and Type Method Description private java.lang.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 ModuleAnnotatedMethodScanner Modifier and Type Method Description void
Elements.RecordingBinder. scanModulesForAnnotatedMethods(ModuleAnnotatedMethodScanner scanner)
Constructors in com.google.inject.spi with parameters of type ModuleAnnotatedMethodScanner Constructor Description ElementSource(ElementSource originalSource, boolean trustedOriginalSource, java.lang.Object declaringSource, ModuleSource moduleSource, ModuleAnnotatedMethodScanner scanner)
Creates a new from the given parameters.ModuleAnnotatedMethodScannerBinding(java.lang.Object source, ModuleAnnotatedMethodScanner scanner)
-