Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a - Variable in class com.google.inject.matcher.AbstractMatcher.AndMatcher
- a - Variable in class com.google.inject.matcher.AbstractMatcher.OrMatcher
- AbstractBindingBuilder<T> - Class in com.google.inject.internal
-
Base class used to create a new binding with the Guice EDSL described in
Binder
. - AbstractBindingBuilder(Binder, List<Element>, Object, Key<T>) - Constructor for class com.google.inject.internal.AbstractBindingBuilder
- AbstractBindingProcessor - Class in com.google.inject.internal
-
Guarantees that processing of Binding elements happens in a sane way.
- AbstractBindingProcessor(Errors, ProcessedBindingData) - Constructor for class com.google.inject.internal.AbstractBindingProcessor
- AbstractBindingProcessor.Processor<T,
V> - Class in com.google.inject.internal -
Processor for visiting bindings.
- AbstractGlueGenerator - Class in com.google.inject.internal.aop
-
Support code for generating enhancer/fast-class glue.
- AbstractGlueGenerator(Class<?>, String) - Constructor for class com.google.inject.internal.aop.AbstractGlueGenerator
- AbstractInjectorGrapher - Class in com.google.inject.grapher
-
Abstract injector grapher that builds the dependency graph but doesn't render it.
- AbstractInjectorGrapher() - Constructor for class com.google.inject.grapher.AbstractInjectorGrapher
- AbstractInjectorGrapher(AbstractInjectorGrapher.GrapherParameters) - Constructor for class com.google.inject.grapher.AbstractInjectorGrapher
- AbstractInjectorGrapher.GrapherParameters - Class in com.google.inject.grapher
-
Parameters used to override default settings of the grapher.
- AbstractMatcher<T> - Class in com.google.inject.matcher
-
Implements
and()
andor()
. - AbstractMatcher() - Constructor for class com.google.inject.matcher.AbstractMatcher
- AbstractMatcher.AndMatcher<T> - Class in com.google.inject.matcher
- AbstractMatcher.OrMatcher<T> - Class in com.google.inject.matcher
- AbstractModule - Class in com.google.inject
-
AbstractModule is a helper class used to add bindings to the Guice injector.
- AbstractModule() - Constructor for class com.google.inject.AbstractModule
- AbstractProcessor - Class in com.google.inject.internal
-
Abstract base class for creating an injector from module elements.
- AbstractProcessor(Errors) - Constructor for class com.google.inject.internal.AbstractProcessor
- AbstractServletModuleBinding<T> - Class in com.google.inject.servlet
-
Abstract implementation for all servlet module bindings
- AbstractServletModuleBinding(Map<String, String>, T, UriPatternMatcher) - Constructor for class com.google.inject.servlet.AbstractServletModuleBinding
- acceptExtensionVisitor(BindingTargetVisitor<B, R>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- acceptExtensionVisitor(BindingTargetVisitor<B, R>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- acceptExtensionVisitor(BindingTargetVisitor<B, V>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.internal.ProviderMethod
- acceptExtensionVisitor(BindingTargetVisitor<B, V>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- acceptExtensionVisitor(BindingTargetVisitor<B, V>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.servlet.FilterDefinition
- acceptExtensionVisitor(BindingTargetVisitor<B, V>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.servlet.ServletDefinition
- acceptExtensionVisitor(BindingTargetVisitor<B, V>, ProviderInstanceBinding<? extends B>) - Method in interface com.google.inject.spi.ProviderWithExtensionVisitor
-
Instructs the extension determine if the visitor is an instance of a custom extension visitor, and if so, visit it using that method.
- acceptExtensionVisitor(BindingTargetVisitor<B, W>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- acceptExtensionVisitor(BindingTargetVisitor<T, V>, ProviderInstanceBinding<? extends T>) - Method in class com.google.inject.assistedinject.FactoryProvider2
- acceptScopingVisitor(BindingScopingVisitor<V>) - Method in interface com.google.inject.Binding
-
Accepts a scoping visitor.
- acceptScopingVisitor(BindingScopingVisitor<V>) - Method in class com.google.inject.internal.BindingImpl
- acceptTargetVisitor(BindingTargetVisitor<? super Provider<T>, V>) - Method in class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in interface com.google.inject.Binding
-
Accepts a target visitor.
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.ConstructorBindingImpl
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.ExposedBindingImpl
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.InstanceBindingImpl
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.LinkedBindingImpl
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.UntargettedBindingImpl
- acceptVisitor(BindingScopingVisitor<V>) - Method in class com.google.inject.internal.Scoping
- acceptVisitor(ElementVisitor<R>) - Method in class com.google.inject.spi.InjectionRequest
- acceptVisitor(ElementVisitor<R>) - Method in class com.google.inject.spi.ProvisionListenerBinding
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.internal.PrivateElementsImpl
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.DisableCircularProxiesOption
- acceptVisitor(ElementVisitor<T>) - Method in interface com.google.inject.spi.Element
-
Accepts an element visitor.
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.InterceptorBinding
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.MembersInjectorLookup
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.Message
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.ProviderLookup
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.RequireAtInjectOnConstructorsOption
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.RequireExactBindingAnnotationsOption
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.RequireExplicitBindingsOption
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.ScopeBinding
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.StaticInjectionRequest
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.TypeConverterBinding
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.TypeListenerBinding
- acceptVisitor(ElementVisitor<V>) - Method in class com.google.inject.internal.BindingImpl
- accessDefineClass(Class<?>) - Static method in class com.google.inject.internal.aop.UnsafeClassDefiner
-
Generates helper in same package as the
ClassLoader
so it can access defineClass - ACTUAL - Enum constant in enum class com.google.inject.internal.RealOptionalBinder.Source
- ACTUAL - Enum constant in enum class com.google.inject.multibindings.ProvidesIntoOptional.Type
-
Corresponds to
OptionalBinder.setBinding()
. - actualBinding - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- actualBindingKey - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
-
lazily allocated, by
RealOptionalBinder.BindingSelection.getKeyForActualBinding()
. - ActualImpl(String) - Constructor for class com.google.inject.internal.RealOptionalBinder.ActualImpl
- add(Key<?>, InjectorBindingData, Object) - Method in class com.google.inject.internal.WeakKeySet
- add(InjectionPoint.InjectableMember) - Method in class com.google.inject.spi.InjectionPoint.InjectableMembers
- add(InjectionPoint.InjectableMethod) - Method in class com.google.inject.spi.InjectionPoint.OverrideIndex
-
Adds the given method to the list of injection points.
- addAllLockIdsAfter(Thread, CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock<?>, ListMultimap<Thread, ID>) - Method in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
-
Adds all locks held by the given thread that are after the given lock and then returns the lock the thread is currently waiting on, if any
- addBinding() - Method in class com.google.inject.internal.RealMultibinder
- addBinding() - Method in class com.google.inject.multibindings.Multibinder
-
Returns a binding builder used to add a new element in the set.
- addBinding(Key<?>, TypeLiteral<?>) - Method in class com.google.inject.assistedinject.BindingCollector
- addBinding(K) - Method in class com.google.inject.internal.RealMapBinder
-
This creates two bindings.
- addBinding(K) - Method in class com.google.inject.multibindings.MapBinder
-
Returns a binding builder used to add a new entry in the map.
- addCandidate(Method) - Method in class com.google.inject.internal.aop.MethodPartition
-
Add a new method to this partition for resolution.
- addConverter(TypeConverterBinding) - Method in class com.google.inject.internal.InjectorBindingData
- addCreationListener(CreationListener) - Method in class com.google.inject.internal.ProcessedBindingData
- addDelayedUninitializedBinding(Runnable) - Method in class com.google.inject.internal.ProcessedBindingData
- addDirectTypeBinding(Binder) - Method in class com.google.inject.internal.RealOptionalBinder
-
Adds a binding for T.
- addedAspects - Variable in class com.google.inject.internal.MembersInjectorImpl
- addError(Message) - Method in class com.google.inject.AbstractModule
- addError(Message) - Method in interface com.google.inject.Binder
-
Records an error message to be presented to the user at a later time.
- addError(Message) - Method in class com.google.inject.internal.EncounterImpl
- addError(Message) - Method in class com.google.inject.PrivateModule
- addError(Message) - Method in class com.google.inject.spi.Elements.RecordingBinder
- addError(Message) - Method in interface com.google.inject.spi.TypeEncounter
-
Records an error message to be presented to the user at a later time.
- addError(String, Object...) - Method in class com.google.inject.AbstractModule
- addError(String, Object...) - Method in interface com.google.inject.Binder
-
Records an error message which will be presented to the user at a later time.
- addError(String, Object...) - Method in class com.google.inject.internal.EncounterImpl
- addError(String, Object...) - Method in class com.google.inject.PrivateModule
- addError(String, Object...) - Method in class com.google.inject.spi.Elements.RecordingBinder
- addError(String, Object...) - Method in interface com.google.inject.spi.TypeEncounter
-
Records an error message for type
I
which will be presented to the user at a later time. - addError(Throwable) - Method in class com.google.inject.AbstractModule
- addError(Throwable) - Method in interface com.google.inject.Binder
-
Records an exception, the full details of which will be logged, and the message of which will be presented to the user at a later time.
- addError(Throwable) - Method in class com.google.inject.internal.EncounterImpl
- addError(Throwable) - Method in class com.google.inject.PrivateModule
- addError(Throwable) - Method in class com.google.inject.spi.Elements.RecordingBinder
- addError(Throwable) - Method in interface com.google.inject.spi.TypeEncounter
-
Records an exception for type
I
, the full details of which will be logged, and the message of which will be presented to the user at a later time. - addExposureBuilder(ExposureBuilder<?>) - Method in class com.google.inject.internal.PrivateElementsImpl
- addFailedJitBinding(Key<?>) - Method in class com.google.inject.internal.InjectorJitBindingData
- addField(String, String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- addInterceptorBinding(InterceptorBinding) - Method in class com.google.inject.internal.InjectorBindingData
- addMessage(ErrorId, String, Object...) - Method in class com.google.inject.internal.Errors
- addMessage(ErrorId, Throwable, String, Object...) - Method in class com.google.inject.internal.Errors
- addMessage(Message) - Method in class com.google.inject.internal.Errors
- addMessage(String, Object...) - Method in class com.google.inject.internal.Errors
- addModules(Iterable<? extends Module>) - Method in class com.google.inject.internal.InjectorShell.Builder
- addModules(Iterable<? extends Module>) - Method in class com.google.inject.internal.InternalInjectorCreator
- addNode(GraphvizNode) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- addProvisionListener(ProvisionListenerBinding) - Method in class com.google.inject.internal.InjectorBindingData
- addScanner(ModuleAnnotatedMethodScannerBinding) - Method in class com.google.inject.internal.InjectorBindingData
- addSource(Object) - Method in exception class com.google.inject.internal.InternalProvisionException
-
Prepends the given
source
to the stack of binding sources for the errors reported in this exception. - addSubtitle(int, String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- addTypeListener(TypeListenerBinding) - Method in class com.google.inject.internal.InjectorBindingData
- addUninitializedBinding(Runnable) - Method in class com.google.inject.internal.ProcessedBindingData
- afterInjection(I) - Method in interface com.google.inject.spi.InjectionListener
-
Invoked by Guice after it injects the fields and methods of instance.
- Alias - Class in com.google.inject.grapher
-
Alias between two nodes.
- Alias(NodeId, NodeId) - Constructor for class com.google.inject.grapher.Alias
- aliasCreator - Variable in class com.google.inject.grapher.AbstractInjectorGrapher
- aliasCreator - Variable in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- AliasCreator - Interface in com.google.inject.grapher
-
Creator of node aliases.
- ALL_MODES - Static variable in class com.google.inject.assistedinject.FactoryProvider2.PrivateLookup
- allowMethodHandleWorkaround - Static variable in class com.google.inject.assistedinject.FactoryProvider2
-
A constant that determines if we allow fallback to using method handle workarounds (if required).
- allowPrivateLookupFallback - Static variable in class com.google.inject.assistedinject.FactoryProvider2
-
A constant that determines if we allow fallback to using the JDK internals to make a "private lookup".
- allParameters - Variable in class com.google.inject.assistedinject.AssistedConstructor
- ALWAYS_DEFINE_ANONYMOUSLY - Static variable in class com.google.inject.internal.aop.UnsafeClassDefiner
- AMBIGUOUS_TYPE_CONVERSION - Enum constant in enum class com.google.inject.internal.ErrorId
- ambiguousTypeConversion(String, Object, TypeLiteral<?>, TypeConverterBinding, TypeConverterBinding) - Method in class com.google.inject.internal.Errors
- and(Matcher<? super T>) - Method in class com.google.inject.matcher.AbstractMatcher
- and(Matcher<? super T>) - Method in interface com.google.inject.matcher.Matcher
-
Returns a new matcher which returns
true
if both this and the given matcher returntrue
. - AndMatcher(Matcher<? super T>, Matcher<? super T>) - Constructor for class com.google.inject.matcher.AbstractMatcher.AndMatcher
- AnnotatedBindingBuilder<T> - Interface in com.google.inject.binder
-
See the EDSL examples at
Binder
. - AnnotatedConstantBindingBuilder - Interface in com.google.inject.binder
-
See the EDSL examples at
Binder
. - AnnotatedElementBuilder - Interface in com.google.inject.binder
-
See the EDSL examples at
Binder
. - annotatedWith(Annotation) - Method in interface com.google.inject.binder.AnnotatedBindingBuilder
-
See the EDSL examples at
Binder
. - annotatedWith(Annotation) - Method in interface com.google.inject.binder.AnnotatedConstantBindingBuilder
-
See the EDSL examples at
Binder
. - annotatedWith(Annotation) - Method in interface com.google.inject.binder.AnnotatedElementBuilder
-
See the EDSL examples at
Binder
. - annotatedWith(Annotation) - Method in class com.google.inject.internal.BindingBuilder
- annotatedWith(Annotation) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- annotatedWith(Annotation) - Method in class com.google.inject.internal.ExposureBuilder
- annotatedWith(Annotation) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches elements (methods, classes, etc.) with a given annotation.
- annotatedWith(Annotation) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- annotatedWith(Class<? extends Annotation>) - Method in interface com.google.inject.binder.AnnotatedBindingBuilder
-
See the EDSL examples at
Binder
. - annotatedWith(Class<? extends Annotation>) - Method in interface com.google.inject.binder.AnnotatedConstantBindingBuilder
-
See the EDSL examples at
Binder
. - annotatedWith(Class<? extends Annotation>) - Method in interface com.google.inject.binder.AnnotatedElementBuilder
-
See the EDSL examples at
Binder
. - annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.internal.BindingBuilder
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.internal.ExposureBuilder
- annotatedWith(Class<? extends Annotation>) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches elements (methods, classes, etc.) with a given annotation.
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- AnnotatedWith(Annotation) - Constructor for class com.google.inject.matcher.Matchers.AnnotatedWith
- annotatedWithInternal(Annotation) - Method in class com.google.inject.internal.AbstractBindingBuilder
-
Sets the binding to a copy with the specified annotation on the bound key
- annotatedWithInternal(Class<? extends Annotation>) - Method in class com.google.inject.internal.AbstractBindingBuilder
-
Sets the binding to a copy with the specified annotation on the bound key
- AnnotatedWithType(Class<? extends Annotation>) - Constructor for class com.google.inject.matcher.Matchers.AnnotatedWithType
- annotation - Variable in class com.google.inject.internal.ProviderMethod
- annotation - Variable in class com.google.inject.internal.ProviderMethodsModule.MethodAndAnnotation
- annotation - Variable in class com.google.inject.internal.ProvidesMethodScanner.AnnotationOrError
- annotation - Variable in class com.google.inject.Key.AnnotationInstanceStrategy
- annotation - Variable in class com.google.inject.Key.AnnotationTypeStrategy
- annotation - Variable in class com.google.inject.matcher.Matchers.AnnotatedWith
- annotation - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- ANNOTATION_ALREADY_SPECIFIED - Static variable in class com.google.inject.internal.AbstractBindingBuilder
- ANNOTATION_TO_STRING_CONFIG - Static variable in class com.google.inject.internal.Annotations
- AnnotationChecker(Collection<Class<? extends Annotation>>) - Constructor for class com.google.inject.internal.Annotations.AnnotationChecker
-
Constructs a new checker that looks for annotations of the given types.
- annotationClasses() - Method in class com.google.inject.internal.ProvidesMethodScanner
- annotationClasses() - Method in class com.google.inject.spi.ModuleAnnotatedMethodScanner
-
Returns the annotations this should scan for.
- annotationEquals(Class<? extends Annotation>, Map<String, Object>, Object) - Static method in class com.google.inject.internal.Annotations
-
Implements
Annotation.equals(java.lang.Object)
. - annotationHashCode(Class<? extends Annotation>, Map<String, Object>) - Static method in class com.google.inject.internal.Annotations
-
Implements
Annotation.hashCode()
. - AnnotationInstanceStrategy(Annotation) - Constructor for class com.google.inject.Key.AnnotationInstanceStrategy
- annotationName - Variable in class com.google.inject.internal.Indexer.IndexedBinding
- AnnotationOrError(Annotation, boolean) - Constructor for class com.google.inject.internal.ProvidesMethodScanner.AnnotationOrError
- Annotations - Class in com.google.inject.internal
-
Annotation utilities.
- Annotations() - Constructor for class com.google.inject.internal.Annotations
- ANNOTATIONS - Static variable in class com.google.inject.internal.ProvidesMethodScanner
- Annotations.AnnotationChecker - Class in com.google.inject.internal
-
Checks for the presence of annotations.
- Annotations.AnnotationToStringConfig - Class in com.google.inject.internal
- Annotations.TestAnnotation - Annotation Interface in com.google.inject.internal
- annotationStrategy - Variable in class com.google.inject.Key
- annotationToString(Class<? extends Annotation>, Map<String, Object>) - Static method in class com.google.inject.internal.Annotations
-
Implements
Annotation.toString()
. - AnnotationToStringConfig(boolean, boolean) - Constructor for class com.google.inject.internal.Annotations.AnnotationToStringConfig
- annotationType - Variable in class com.google.inject.internal.Indexer.IndexedBinding
- annotationType - Variable in class com.google.inject.Key.AnnotationTypeStrategy
- annotationType - Variable in class com.google.inject.matcher.Matchers.AnnotatedWithType
- annotationType - Variable in class com.google.inject.spi.ScopeBinding
- annotationType - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- annotationType() - Method in class com.google.inject.internal.RealElement
- annotationType() - Method in class com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- annotationType() - Method in class com.google.inject.name.NamedImpl
- annotationTypes - Variable in class com.google.inject.internal.Annotations.AnnotationChecker
- AnnotationTypeStrategy(Class<? extends Annotation>, Annotation) - Constructor for class com.google.inject.Key.AnnotationTypeStrategy
- ANONYMOUS - Enum constant in enum class com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Define fast/enhanced types anonymously as hidden nest-mates, never creates class loaders.
- ANONYMOUS_DEFINE_METHOD - Static variable in class com.google.inject.internal.aop.AnonymousClassDefiner
- AnonymousClassDefiner - Class in com.google.inject.internal.aop
-
ClassDefiner
that defines classes usingsun.misc.Unsafe#defineAnonymousClass
. - AnonymousClassDefiner() - Constructor for class com.google.inject.internal.aop.AnonymousClassDefiner
- ansiCode - Variable in enum class com.google.inject.internal.Messages.FormatOptions
- any() - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches any input.
- Any() - Constructor for class com.google.inject.matcher.Matchers.Any
- ANY - Static variable in class com.google.inject.matcher.Matchers
- AOP_DISABLED - Enum constant in enum class com.google.inject.internal.ErrorId
- aopDisabled(InterceptorBinding) - Method in class com.google.inject.internal.Errors
- append(byte) - Method in class com.google.inject.servlet.ServletUtils.ByteAccumulator
- appendModules(Object, ElementSource) - Static method in class com.google.inject.internal.Messages
- appliesTo(Object) - Method in class com.google.inject.internal.Messages.Converter
- apply(Method) - Method in class com.google.inject.throwingproviders.ProviderChecker.NotSyntheticOrBridgePredicate
- applyAsInt(String) - Method in class com.google.inject.internal.aop.ImmutableStringTrie
-
Returns the index assigned in the trie to the given string.
- applyAsInt(String) - Method in class com.google.inject.internal.aop.ImmutableStringTrie.Overflow
- applyTo(Binder) - Method in class com.google.inject.internal.ConstructorBindingImpl
- applyTo(Binder) - Method in class com.google.inject.internal.ExposedBindingImpl
- applyTo(Binder) - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- applyTo(Binder) - Method in class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- applyTo(Binder) - Method in class com.google.inject.internal.InstanceBindingImpl
- applyTo(Binder) - Method in class com.google.inject.internal.LinkedBindingImpl
- applyTo(Binder) - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- applyTo(Binder) - Method in class com.google.inject.internal.PrivateElementsImpl
- applyTo(Binder) - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- applyTo(Binder) - Method in class com.google.inject.internal.UntargettedBindingImpl
- applyTo(Binder) - Method in class com.google.inject.spi.DisableCircularProxiesOption
- applyTo(Binder) - Method in interface com.google.inject.spi.Element
-
Writes this module element to the given binder (optional operation).
- applyTo(Binder) - Method in interface com.google.inject.spi.ExposedBinding
-
Unsupported.
- applyTo(Binder) - Method in class com.google.inject.spi.InjectionRequest
- applyTo(Binder) - Method in class com.google.inject.spi.InterceptorBinding
- applyTo(Binder) - Method in class com.google.inject.spi.MembersInjectorLookup
- applyTo(Binder) - Method in class com.google.inject.spi.Message
- applyTo(Binder) - Method in class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
- applyTo(Binder) - Method in class com.google.inject.spi.ProviderLookup
- applyTo(Binder) - Method in class com.google.inject.spi.ProvisionListenerBinding
- applyTo(Binder) - Method in class com.google.inject.spi.RequireAtInjectOnConstructorsOption
- applyTo(Binder) - Method in class com.google.inject.spi.RequireExactBindingAnnotationsOption
- applyTo(Binder) - Method in class com.google.inject.spi.RequireExplicitBindingsOption
- applyTo(Binder) - Method in class com.google.inject.spi.ScopeBinding
- applyTo(Binder) - Method in class com.google.inject.spi.StaticInjectionRequest
- applyTo(Binder) - Method in class com.google.inject.spi.TypeConverterBinding
- applyTo(Binder) - Method in class com.google.inject.spi.TypeListenerBinding
- applyTo(ScopedBindingBuilder) - Method in class com.google.inject.internal.Scoping
- arguments - Variable in class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
- arrayOf(Type) - Static method in class com.google.inject.util.Types
-
Returns an array type whose elements are all instances of
componentType
. - arrowHead - Variable in class com.google.inject.grapher.graphviz.GraphvizEdge
- arrowTail - Variable in class com.google.inject.grapher.graphviz.GraphvizEdge
- arrowType - Variable in enum class com.google.inject.grapher.graphviz.ArrowType
- ArrowType - Enum Class in com.google.inject.grapher.graphviz
-
Arrow symbols that are available from Graphviz.
- ArrowType(String) - Constructor for enum class com.google.inject.grapher.graphviz.ArrowType
- asEagerSingleton() - Method in interface com.google.inject.binder.ScopedBindingBuilder
-
Instructs the
Injector
to eagerly initialize this singleton-scoped binding upon creation. - asEagerSingleton() - Method in class com.google.inject.internal.AbstractBindingBuilder
- asIfUnchecked(Throwable) - Static method in class com.google.inject.internal.aop.AbstractGlueGenerator
-
Generics trick to get compiler to treat given exception as if unchecked (as JVM does).
- ASM_API_LEVEL - Static variable in class com.google.inject.internal.util.LineNumbers
- asMap() - Method in class com.google.inject.internal.FailableCache
- asModule() - Static method in class com.google.inject.multibindings.MultibindingsScanner
-
Deprecated.This functionality is now installed by default. All references/installations can be eliminated.
- aspects - Variable in class com.google.inject.internal.EncounterImpl
- AssistData(Constructor<?>, Key<?>, ImmutableList<Key<?>>, TypeLiteral<?>, Method, Set<Dependency<?>>, boolean, List<FactoryProvider2.ThreadLocalProvider>) - Constructor for class com.google.inject.assistedinject.FactoryProvider2.AssistData
- assistDataByMethod - Variable in class com.google.inject.assistedinject.FactoryProvider2
-
Mapping from method to the data about how the method will be assisted.
- Assisted - Annotation Interface in com.google.inject.assistedinject
-
Annotates an injected parameter or field whose value comes from an argument to a factory method.
- AssistedConstructor<T> - Class in com.google.inject.assistedinject
-
Internal respresentation of a constructor annotated with
AssistedInject
- AssistedConstructor(Constructor<T>, List<TypeLiteral<?>>) - Constructor for class com.google.inject.assistedinject.AssistedConstructor
- AssistedInject - Annotation Interface in com.google.inject.assistedinject
-
When used in tandem with
FactoryModuleBuilder
, constructors annotated with@AssistedInject
indicate that multiple constructors can be injected, each with different parameters. - AssistedInjectBinding<T> - Interface in com.google.inject.assistedinject
-
A binding for a factory created by FactoryModuleBuilder.
- AssistedInjectTargetVisitor<T,
V> - Interface in com.google.inject.assistedinject -
A visitor for the AssistedInject extension.
- AssistedMethod - Interface in com.google.inject.assistedinject
-
Details about how a method in an assisted inject factory will be assisted.
- assistedParameters - Variable in class com.google.inject.assistedinject.AssistedConstructor
- assistKey(Method, Key<T>, Errors) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
Returns a key similar to
key
, but with an @Assisted binding annotation. - asStrings(Class<?>...) - Static method in class com.google.inject.internal.util.SourceProvider
-
Returns the class names as Strings
- AT_INJECT_REQUIRED - Enum constant in enum class com.google.inject.internal.ErrorId
- AT_TARGET_IS_MISSING_PARAMETER - Enum constant in enum class com.google.inject.internal.ErrorId
- atInjectRequired - Variable in class com.google.inject.internal.InjectorImpl.InjectorOptions
- atInjectRequired - Variable in class com.google.inject.internal.InjectorOptionsProcessor
- atInjectRequired - Variable in class com.google.inject.internal.MissingConstructorError
- atInjectRequired(TypeLiteral<?>) - Method in class com.google.inject.internal.Errors
- atTargetIsMissingParameter(Annotation, String, Class<?>) - Method in class com.google.inject.internal.Errors
- attributes - Variable in class com.google.inject.servlet.ContinuingHttpServletRequest
- AUTO - Enum constant in enum class com.google.inject.internal.InternalFlags.ColorizeOption
B
- b - Variable in class com.google.inject.matcher.AbstractMatcher.AndMatcher
- b - Variable in class com.google.inject.matcher.AbstractMatcher.OrMatcher
- backingMap - Variable in class com.google.inject.internal.WeakKeySet
- Backwards compatibility using @AssistedInject - Search tag in class com.google.inject.assistedinject.FactoryProvider
- Section
- BackwardsCompatibleServletContextProvider() - Constructor for class com.google.inject.servlet.InternalServletModule.BackwardsCompatibleServletContextProvider
- banKey(Key<?>, InjectorBindingData, Object) - Method in class com.google.inject.internal.InjectorJitBindingData
-
Forbids the corresponding injector and its ancestors from creating a binding to
key
. - banKeyInParent(Key<?>, InjectorBindingData, Object) - Method in class com.google.inject.internal.InjectorJitBindingData
-
Similar to
InjectorJitBindingData.banKey(Key, InjectorBindingData, Object)
but we only begin banning the binding at the parent level. - bannedKeys - Variable in class com.google.inject.internal.InjectorJitBindingData
- BaseAnnotation(Class<? extends Annotation>, String) - Constructor for class com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- BaseFactory(RealMultibinder.BindingSelection<ValueT>, Function<RealMultibinder.BindingSelection<ValueT>, ImmutableSet<Dependency<?>>>) - Constructor for class com.google.inject.internal.RealMultibinder.BaseFactory
- baseModules - Variable in class com.google.inject.util.Modules.OverrideModule
- baseModules - Variable in class com.google.inject.util.Modules.RealOverriddenModuleBuilder
- bind(Key<T>) - Method in class com.google.inject.AbstractModule
- bind(Key<T>) - Method in interface com.google.inject.Binder
-
See the EDSL examples at
Binder
. - bind(Key<T>) - Method in class com.google.inject.PrivateModule
- bind(Key<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- bind(TypeLiteral<T>) - Method in class com.google.inject.AbstractModule
- bind(TypeLiteral<T>) - Method in interface com.google.inject.Binder
-
See the EDSL examples at
Binder
. - bind(TypeLiteral<T>) - Method in class com.google.inject.PrivateModule
- bind(TypeLiteral<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- bind(Class<P>, TypeLiteral<T>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder
- bind(Class<P>, Class<T>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder
- bind(Class<P>, Type) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder
-
Deprecated.
- bind(Class<T>) - Method in class com.google.inject.AbstractModule
- bind(Class<T>) - Method in interface com.google.inject.Binder
-
See the EDSL examples at
Binder
. - bind(Class<T>) - Method in class com.google.inject.PrivateModule
- bind(Class<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- bindClassDefiner() - Static method in class com.google.inject.internal.aop.ClassDefining
-
Binds the preferred
ClassDefiner
instance. - bindConstant() - Method in class com.google.inject.AbstractModule
- bindConstant() - Method in interface com.google.inject.Binder
-
See the EDSL examples at
Binder
. - bindConstant() - Method in class com.google.inject.PrivateModule
- bindConstant() - Method in class com.google.inject.spi.Elements.RecordingBinder
- binder - Variable in class com.google.inject.AbstractModule
- binder - Variable in class com.google.inject.internal.AbstractBindingBuilder
-
The binder that the new binding will be added to.
- binder - Variable in class com.google.inject.internal.ExposureBuilder
- binder - Variable in class com.google.inject.internal.RealMapBinder
- binder - Variable in class com.google.inject.internal.RealMultibinder
- binder - Variable in class com.google.inject.internal.RealOptionalBinder
- binder - Variable in class com.google.inject.PrivateModule
-
Like abstract module, the binder of the current private module
- binder - Variable in class com.google.inject.servlet.FiltersModuleBuilder
- binder - Variable in class com.google.inject.servlet.ServletsModuleBuilder
- binder - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder
- binder - Variable in class com.google.inject.util.Modules.ModuleWriter
- binder() - Method in class com.google.inject.AbstractModule
-
Gets direct access to the underlying
Binder
. - binder() - Method in class com.google.inject.PrivateModule
-
Returns the current binder.
- Binder - Interface in com.google.inject
-
Collects configuration information (primarily bindings) which will be used to create an
Injector
. - bindExposed(PrivateElements, Key<T>) - Method in class com.google.inject.internal.BindingProcessor
- binding - Variable in class com.google.inject.internal.AbstractBindingBuilder
-
The new binding being added to the
AbstractBindingBuilder.binder
'sAbstractBindingBuilder.elements
list - binding - Variable in class com.google.inject.internal.BindingAlreadySetError
- binding - Variable in class com.google.inject.internal.DuplicateElementError.Element
- binding - Variable in class com.google.inject.internal.ProvisionListenerCallbackStore.KeyBinding
- binding - Variable in class com.google.inject.internal.ProvisionListenerStackCallback
- binding - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- binding - Variable in class com.google.inject.internal.SingleFieldInjector
- binding - Variable in class com.google.inject.tools.jmx.ManagedBinding
- Binding<T> - Interface in com.google.inject
-
A mapping from a
Key
to the strategy for getting instances of the type. - BINDING_ALREADY_SET - Enum constant in enum class com.google.inject.internal.ErrorId
- BINDING_TO_GUICE_TYPE - Enum constant in enum class com.google.inject.internal.ErrorId
- BINDING_TO_NULL - Static variable in class com.google.inject.internal.AbstractBindingBuilder
- BINDING_TO_PROVIDER - Enum constant in enum class com.google.inject.internal.ErrorId
- bindingAlreadySet(Binding<?>, Binding<?>) - Method in class com.google.inject.internal.Errors
- bindingAlreadySet(Key<?>, Object) - Method in class com.google.inject.internal.Errors
- BindingAlreadySetError - Class in com.google.inject.internal
-
Error reported by Guice when a key is bound at multiple places the injector.
- BindingAlreadySetError(Binding<?>, Binding<?>, List<Object>) - Constructor for class com.google.inject.internal.BindingAlreadySetError
- bindingAnnotation - Variable in class com.google.inject.assistedinject.Parameter
- BindingAnnotation - Annotation Interface in com.google.inject
-
Annotates annotations which are used for binding.
- bindingAnnotationChecker - Static variable in class com.google.inject.internal.Annotations
- BindingBuilder<T> - Class in com.google.inject.internal
-
Bind a non-constant key.
- BindingBuilder(Binder, List<Element>, Object, Key<T>) - Constructor for class com.google.inject.internal.BindingBuilder
- BindingCollector - Class in com.google.inject.assistedinject
-
Utility class for collecting factory bindings.
- BindingCollector() - Constructor for class com.google.inject.assistedinject.BindingCollector
- bindingData - Variable in class com.google.inject.internal.InjectorImpl
- bindingData - Variable in class com.google.inject.internal.InjectorShell.Builder
- bindingData - Variable in class com.google.inject.internal.InjectorShell.InheritedScannersModule
- BindingEdge - Class in com.google.inject.grapher
-
Edge that connects an interface to the type or instance that is bound to implement it.
- BindingEdge(NodeId, NodeId, BindingEdge.Type) - Constructor for class com.google.inject.grapher.BindingEdge
- BindingEdge.Type - Enum Class in com.google.inject.grapher
-
Classification for what kind of binding this edge represents.
- BindingImpl<T> - Class in com.google.inject.internal
- BindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping) - Constructor for class com.google.inject.internal.BindingImpl
- BindingImpl(Object, Key<T>, Scoping) - Constructor for class com.google.inject.internal.BindingImpl
- Binding Keys - Search tag in com.google.inject.servlet.ServletModule.configureServlets()
- Section
- bindingMatcher - Variable in class com.google.inject.spi.ProvisionListenerBinding
- bindingName - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
-
lazily allocated, by
RealOptionalBinder.BindingSelection.getBindingName()
. - BindingProcessor - Class in com.google.inject.internal
-
Handles
Binder.bind(com.google.inject.Key<T>)
andBinder.bindConstant()
elements. - BindingProcessor(Errors, Initializer, ProcessedBindingData) - Constructor for class com.google.inject.internal.BindingProcessor
- bindings - Variable in class com.google.inject.assistedinject.BindingCollector
- bindings - Variable in class com.google.inject.assistedinject.FactoryModuleBuilder
- bindings - Variable in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider.PerKeyData
- bindings - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- bindings - Variable in class com.google.inject.internal.RealMultibinder.RealMultibinderProvider
- BindingScopingVisitor<V> - Interface in com.google.inject.spi
-
Visits each of the strategies used to scope an injection.
- bindingSelection - Variable in class com.google.inject.internal.RealMapBinder
- bindingSelection - Variable in class com.google.inject.internal.RealMapBinder.MultimapBinder
- bindingSelection - Variable in class com.google.inject.internal.RealMapBinder.RealMapBinderProviderWithDependencies
- bindingSelection - Variable in class com.google.inject.internal.RealMapBinder.RealMultimapBinderProviderWithDependencies
- bindingSelection - Variable in class com.google.inject.internal.RealMultibinder.BaseFactory
- bindingSelection - Variable in class com.google.inject.internal.RealMultibinder
- bindingSelection - Variable in class com.google.inject.internal.RealOptionalBinder
- bindingSelection - Variable in class com.google.inject.internal.RealOptionalBinder.RealOptionalBinderProviderWithDependencies
- BindingSelection(Key<T>) - Constructor for class com.google.inject.internal.RealMultibinder.BindingSelection
- BindingSelection(Key<T>) - Constructor for class com.google.inject.internal.RealOptionalBinder.BindingSelection
- BindingSelection(TypeLiteral<K>, TypeLiteral<V>, Key<Map<K, V>>, RealMultibinder<Map.Entry<K, Provider<V>>>) - Constructor for class com.google.inject.internal.RealMapBinder.BindingSelection
- BindingSourceRestriction - Class in com.google.inject.spi
-
Contains abstractions for enforcing
RestrictedBindingSource
. - BindingSourceRestriction() - Constructor for class com.google.inject.spi.BindingSourceRestriction
- BindingSourceRestriction.PermitMap - Interface in com.google.inject.spi
-
Mapping between an element source and its permit annotations.
- BindingSourceRestriction.PermitMapConstruction - Class in com.google.inject.spi
-
Builds the map from each module to all the permit annotations on its module stack.
- BindingSourceRestriction.PermitMapConstruction.PermitMapImpl - Class in com.google.inject.spi
- BindingTargetVisitor<T,
V> - Interface in com.google.inject.spi -
Visits each of the strategies used to find an instance to satisfy an injection.
- bindingToProvider() - Method in class com.google.inject.internal.Errors
- BindingType() - Constructor for enum class com.google.inject.internal.Indexer.BindingType
- bindInjector(InjectorImpl) - Static method in class com.google.inject.internal.InjectorShell
-
The Injector is a special case because we allow both parent and child injectors to both have a binding for that key.
- bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - Method in class com.google.inject.AbstractModule
- bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - Method in interface com.google.inject.Binder
-
Binds method interceptor[s] to methods matched by class and method matchers.
- bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - Method in class com.google.inject.PrivateModule
- bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - Method in class com.google.inject.spi.Elements.RecordingBinder
- bindInterceptor(Matcher<? super Method>, MethodInterceptor...) - Method in class com.google.inject.internal.EncounterImpl
- bindInterceptor(Matcher<? super Method>, MethodInterceptor...) - Method in interface com.google.inject.spi.TypeEncounter
-
Binds method interceptor[s] to methods matched in type
I
and its supertypes. - bindListener(Matcher<? super Binding<?>>, ProvisionListener...) - Method in class com.google.inject.AbstractModule
- bindListener(Matcher<? super Binding<?>>, ProvisionListener...) - Method in interface com.google.inject.Binder
-
Registers listeners for provisioned objects.
- bindListener(Matcher<? super Binding<?>>, ProvisionListener...) - Method in class com.google.inject.PrivateModule
- bindListener(Matcher<? super Binding<?>>, ProvisionListener...) - Method in class com.google.inject.spi.Elements.RecordingBinder
- bindListener(Matcher<? super TypeLiteral<?>>, TypeListener) - Method in class com.google.inject.AbstractModule
- bindListener(Matcher<? super TypeLiteral<?>>, TypeListener) - Method in interface com.google.inject.Binder
-
Registers a listener for injectable types.
- bindListener(Matcher<? super TypeLiteral<?>>, TypeListener) - Method in class com.google.inject.PrivateModule
- bindListener(Matcher<? super TypeLiteral<?>>, TypeListener) - Method in class com.google.inject.spi.Elements.RecordingBinder
- bindLogger(InjectorImpl) - Static method in class com.google.inject.internal.InjectorShell
-
The Logger is a special case because it knows the injection point of the injected member.
- bindProperties(Binder, Map<String, String>) - Static method in class com.google.inject.name.Names
-
Creates a constant binding to
@Named(key)
for each entry inproperties
. - bindProperties(Binder, Properties) - Static method in class com.google.inject.name.Names
-
Creates a constant binding to
@Named(key)
for each property. - bindScope(Class<? extends Annotation>, Scope) - Method in class com.google.inject.AbstractModule
- bindScope(Class<? extends Annotation>, Scope) - Method in interface com.google.inject.Binder
-
Binds a scope to an annotation.
- bindScope(Class<? extends Annotation>, Scope) - Method in class com.google.inject.PrivateModule
- bindScope(Class<? extends Annotation>, Scope) - Method in class com.google.inject.spi.Elements.RecordingBinder
- bindSignaturesToInvokers(ToIntFunction<String>, MethodHandle) - Static method in class com.google.inject.internal.aop.AbstractGlueGenerator
-
Combines the signature and invoker tables into a mapping from signature to invoker.
- bindStage(InjectorImpl, Stage) - Static method in class com.google.inject.internal.InjectorShell
- bold(String) - Static method in class com.google.inject.internal.Messages
- BOLD - Enum constant in enum class com.google.inject.grapher.graphviz.EdgeStyle
- BOLD - Enum constant in enum class com.google.inject.grapher.graphviz.NodeStyle
- BOLD - Enum constant in enum class com.google.inject.internal.Messages.FormatOptions
- BOTTOM - Enum constant in enum class com.google.inject.spi.InjectionPoint.Position
- BoundProviderFactory<T> - Class in com.google.inject.internal
-
Delegates to a custom factory which is also bound in the injector.
- BoundProviderFactory(InjectorImpl, Key<? extends Provider<? extends T>>, Object, ProvisionListenerStackCallback<T>) - Constructor for class com.google.inject.internal.BoundProviderFactory
- box(MethodVisitor, Type) - Static method in class com.google.inject.internal.aop.BytecodeTasks
-
Boxes a primitive value on the Java stack.
- BOX - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- BOX - Enum constant in enum class com.google.inject.grapher.graphviz.NodeShape
- BOX_OPEN - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- BRIDGE - Enum constant in enum class com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Attempt to define fast/enhanced types in the same class loader as their original type.
- bridgeDelegates - Variable in class com.google.inject.internal.aop.Enhancer
- bridgeDelegates - Variable in class com.google.inject.internal.aop.EnhancerBuilderImpl
- BUD_MARKER - Static variable in class com.google.inject.internal.aop.ImmutableStringTrie
-
Marks a 'bud' in the tree; the same as a leaf except the trie continues beneath it.
- build() - Method in class com.google.inject.internal.InternalInjectorCreator
- build(Initializer, ProcessedBindingData, ContinuousStopwatch, Errors) - Method in class com.google.inject.internal.InjectorShell.Builder
-
Creates and returns the injector shells for the current modules.
- build(Key<F>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
- build(TypeLiteral<F>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - build(Class<F>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - buildClassNameLegend(Map<String, String>) - Static method in class com.google.inject.internal.PackageNameCompressor
- buildDefineClassAccess(Class<?>) - Static method in class com.google.inject.internal.aop.UnsafeClassDefiner
-
ClassLoader
helper that sits in the same package and passes on defineClass requests - buildEnhancer(BitSet) - Method in class com.google.inject.internal.aop.EnhancerBuilderImpl
- buildEnhancer(BitSet) - Method in interface com.google.inject.internal.BytecodeGen.EnhancerBuilder
-
Generates an enhancer for the selected subset of methods.
- buildEnhancerBuilder(Class<?>) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Builder of enhancers that provide method interception via bytecode generation.
- Builder() - Constructor for class com.google.inject.internal.InjectorShell.Builder
- buildFastClass(Class<?>) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Builds a 'fast-class' invoker that uses bytecode generation in place of reflection.
- buildSubTrie(StringBuilder, String[], int, int, int) - Static method in class com.google.inject.internal.aop.ImmutableStringTrie
-
Recursively builds a trie for a slice of rows at a particular column.
- buildTrie(StringBuilder, String[], int, int) - Static method in class com.google.inject.internal.aop.ImmutableStringTrie
-
Builds a trie, overflowing to additional tries if there are too many rows
- buildTrie(Collection<String>) - Static method in class com.google.inject.internal.aop.ImmutableStringTrie
-
Builds an immutable trie that indexes the given table of strings.
- bySignature - Variable in class com.google.inject.spi.InjectionPoint.OverrideIndex
- BYTE_ARRAY_TYPE - Static variable in class com.google.inject.internal.aop.UnsafeClassDefiner
- ByteAccumulator(int, Charset) - Constructor for class com.google.inject.servlet.ServletUtils.ByteAccumulator
- BYTECODE_GEN_OPTION - Static variable in class com.google.inject.internal.InternalFlags
- BytecodeGen - Class in com.google.inject.internal
-
Utility methods for circular proxies, faster reflection, and method interception.
- BytecodeGen() - Constructor for class com.google.inject.internal.BytecodeGen
- BytecodeGen.EnhancerBuilder - Interface in com.google.inject.internal
-
Builder of enhanced classes.
- BytecodeGenOption() - Constructor for enum class com.google.inject.internal.InternalFlags.BytecodeGenOption
- BytecodeTasks - Class in com.google.inject.internal.aop
-
Utility methods to generate common bytecode tasks.
- BytecodeTasks() - Constructor for class com.google.inject.internal.aop.BytecodeTasks
- bytes - Variable in class com.google.inject.servlet.ServletUtils.ByteAccumulator
C
- cache - Variable in class com.google.inject.internal.Annotations.AnnotationChecker
- cache - Static variable in class com.google.inject.internal.Annotations
- cache - Variable in class com.google.inject.internal.ConstructorInjectorStore
- cache - Variable in class com.google.inject.internal.MembersInjectorStore
- cache - Variable in class com.google.inject.internal.ProvisionListenerCallbackStore
- cachedBinding - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
-
used to perform optimized factory creations.
- call() - Method in interface com.google.inject.internal.ProvisionListenerStackCallback.ProvisionCallback
- callable - Variable in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
- CALLBACK_DESCRIPTOR - Static variable in class com.google.inject.internal.aop.Enhancer
- callbacks - Variable in class com.google.inject.internal.ProxyFactory
- callbacks - Variable in class com.google.inject.internal.ProxyFactory.ProxyConstructor
- CAN_NOT_PROXY_CLASS - Enum constant in enum class com.google.inject.internal.ErrorId
- canAccess(Executable, boolean) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Can we access this member from a subclass which may be in the same package?
- candidates - Variable in class com.google.inject.internal.aop.MethodPartition
-
Reverse order of declaration; super-methods appear later in the list.
- canDowncastToProxy(Class<?>) - Static method in class com.google.inject.internal.aop.ClassDefining
-
Returns true if it's possible to downcast to proxies defined from the given host.
- canDowncastToProxy(Class<?>) - Static method in class com.google.inject.internal.aop.UnsafeClassDefiner
-
Returns true if it's possible to downcast to proxies defined from the given host.
- canEnhance(Executable) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Returns true if the given member can be enhanced using bytecode.
- canFastInvoke(Executable) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Returns true if the given member can be fast-invoked.
- canLoadProxyByName(Class<?>) - Static method in class com.google.inject.internal.aop.ClassDefining
-
Returns true if it's possible to load by name proxies defined from the given host.
- canLoadProxyByName(Class<?>) - Static method in class com.google.inject.internal.aop.UnsafeClassDefiner
-
Returns true if it's possible to load by name proxies defined from the given host.
- cannotBindToGuiceType(String) - Method in class com.google.inject.internal.Errors
- cannotInjectAbstractMethod(Method) - Method in class com.google.inject.internal.Errors
- cannotInjectFinalField(Field) - Method in class com.google.inject.internal.Errors
- cannotInjectInnerClass(Class<?>) - Method in class com.google.inject.internal.Errors
- cannotInjectLocalClass(Class<?>) - Method in class com.google.inject.internal.Errors
- cannotInjectMethodWithTypeParameters(Method) - Method in class com.google.inject.internal.Errors
- cannotInjectRawMembersInjector() - Method in class com.google.inject.internal.Errors
- cannotInjectRawProvider() - Method in class com.google.inject.internal.Errors
- cannotInjectRawTypeLiteral() - Method in class com.google.inject.internal.Errors
- cannotInjectTypeLiteralOf(Type) - Method in class com.google.inject.internal.Errors
- cannotProxyClass(Class<?>) - Static method in exception class com.google.inject.internal.InternalProvisionException
- canonicalize(Type) - Static method in class com.google.inject.internal.MoreTypes
-
Returns a type that is functionally equal but not necessarily equal according to
Object.equals()
. - canonicalizeForKey(TypeLiteral<T>) - Static method in class com.google.inject.internal.MoreTypes
-
Returns an type that's appropriate for use in a key.
- canonicalizeIfNamed(Annotation) - Static method in class com.google.inject.internal.Annotations
-
If the annotation is an instance of
javax.inject.Named
, canonicalizes to com.google.guice.name.Named. - canonicalizeIfNamed(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
If the annotation is the class
javax.inject.Named
, canonicalizes to com.google.guice.name.Named. - canonicalizeKey(Key<T>) - Static method in class com.google.inject.internal.MoreTypes
-
Returns a key that doesn't hold any references to parent classes.
- canRethrow(Method, Throwable) - Static method in class com.google.inject.assistedinject.FactoryProvider2
-
Returns true if
thrown
can be thrown byinvoked
without wrapping. - capitalize(String) - Static method in class com.google.inject.internal.TypeConverterBindingProcessor
- cause - Variable in class com.google.inject.spi.ErrorDetail
- CENTER - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- check(Binding<?>) - Static method in class com.google.inject.spi.BindingSourceRestriction
- check(GuiceInternal, List<Element>) - Static method in class com.google.inject.spi.BindingSourceRestriction
-
Returns all the restriction violations found on the given Module Elements, as error messages.
- check(Element) - Static method in class com.google.inject.spi.BindingSourceRestriction
- check(List<Element>) - Static method in class com.google.inject.spi.BindingSourceRestriction
- checkArgument(boolean, String, Object...) - Static method in class com.google.inject.throwingproviders.ProviderChecker
- checkBindingIsNotRecursive(Errors) - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- checkcastToProxy - Variable in class com.google.inject.internal.aop.Enhancer
- checkConfiguration(boolean, String, Object...) - Static method in class com.google.inject.internal.Errors
-
Throws a ConfigurationException with a formatted
Message
if this condition isfalse
. - checkConstructorParameterAnnotations(Constructor<?>, Errors) - Method in class com.google.inject.internal.KotlinSupport.KotlinUnsupported
- checkConstructorParameterAnnotations(Constructor<?>, Errors) - Method in interface com.google.inject.internal.KotlinSupportInterface
-
Checks for any errors on the constructor's parameters's annotations.
- checkDeclaredExceptionsMatch() - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- CHECKED_PROVIDER_METHOD_TYPE - Static variable in class com.google.inject.throwingproviders.ThrowingProviderBinder
- CHECKED_PROVIDER_TYPE - Static variable in class com.google.inject.throwingproviders.ThrowingProviderBinder
- checkedProvider - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- CheckedProvider<T> - Interface in com.google.inject.throwingproviders
-
Alternative to the Guice
Provider
that throws a checked Exception. - CheckedProviderInvocationHandler() - Constructor for class com.google.inject.throwingproviders.CheckedProviders.CheckedProviderInvocationHandler
- CheckedProviderMethod<T> - Class in com.google.inject.throwingproviders
-
A provider that invokes a method and returns its result.
- CheckedProviderMethod(Key<T>, Method, Object, ImmutableSet<Dependency<?>>, List<Provider<?>>, Class<? extends Annotation>, Class<? extends CheckedProvider>, List<TypeLiteral<?>>, boolean) - Constructor for class com.google.inject.throwingproviders.CheckedProviderMethod
- CheckedProviderMethodsModule - Class in com.google.inject.throwingproviders
-
Creates bindings to methods annotated with @
CheckedProvides
. - CheckedProviderMethodsModule(Object) - Constructor for class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- CheckedProviderMethodsModule.LogProvider - Class in com.google.inject.throwingproviders
-
A provider that returns a logger based on the method name.
- CheckedProviders - Class in com.google.inject.throwingproviders
-
Static utility methods for creating and working with instances of
CheckedProvider
. - CheckedProviders() - Constructor for class com.google.inject.throwingproviders.CheckedProviders
- CheckedProviders.CheckedProviderInvocationHandler<T> - Class in com.google.inject.throwingproviders
- CheckedProviders.ReturningHandler<T> - Class in com.google.inject.throwingproviders
- CheckedProviders.ThrowingHandler - Class in com.google.inject.throwingproviders
- CheckedProviderWithDependencies<T> - Interface in com.google.inject.throwingproviders
-
A checked provider with dependencies, so
HasDependencies
can be implemented when using theinvalid reference
SecondaryBinder#using
- CheckedProvides - Annotation Interface in com.google.inject.throwingproviders
-
Annotates methods of a
Module
to create aCheckedProvider
method binding that can throw exceptions. - CheckedProvideUtils - Class in com.google.inject.throwingproviders
-
Utilities for the throwing provider module.
- CheckedProvideUtils() - Constructor for class com.google.inject.throwingproviders.CheckedProvideUtils
- checkForMisplacedBindingAnnotations(Member, Errors) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns true if the binding annotation is in the wrong place.
- checkForMisplacedScopeAnnotations(Class<?>, Object, Errors) - Static method in class com.google.inject.internal.Annotations
-
Adds an error if there is a misplaced annotations on
type
. - checkForRuntimeRetention(Class<? extends Annotation>) - Static method in class com.google.inject.matcher.Matchers
- checkInterface() - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- checkInterface(Class<P>, Optional<? extends Type>) - Static method in class com.google.inject.throwingproviders.ProviderChecker
- checkNotAnnotated() - Method in class com.google.inject.internal.AbstractBindingBuilder
- checkNotAnnotated() - Method in class com.google.inject.internal.ExposureBuilder
- checkNotInitialized() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- checkNotNull(T, String) - Static method in class com.google.inject.internal.Errors
-
Throws a ConfigurationException with an NullPointerExceptions as the cause if the given reference is
null
. - checkNotPrimitive(Type, String) - Static method in class com.google.inject.internal.MoreTypes
- checkNotScoped() - Method in class com.google.inject.internal.AbstractBindingBuilder
- checkNotTargetted() - Method in class com.google.inject.internal.AbstractBindingBuilder
- checkScopingState(boolean, String) - Static method in class com.google.inject.servlet.ServletScopes
- checkState() - Method in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
-
Check consistency of an internal state.
- checkThrowable(Class<? extends CheckedProvider<?>>, Class<? extends Throwable>) - Static method in class com.google.inject.throwingproviders.CheckedProviders
- CHILD - Enum constant in enum class com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Define fast/enhanced types in a child class loader whose parent is the original class loader.
- CHILD_BINDING_ALREADY_SET - Enum constant in enum class com.google.inject.internal.ErrorId
- CHILD_LOADER_CACHE - Static variable in class com.google.inject.internal.aop.ChildClassDefiner.ChildLoaderCacheHolder
- childBindingAlreadySet(Key<?>, Set<Object>) - Method in class com.google.inject.internal.Errors
- ChildBindingAlreadySetError - Class in com.google.inject.internal
-
Error reported by Guice when a key is already bound in one or more child injectors or private modules.
- ChildBindingAlreadySetError(Key<?>, Iterable<Object>, List<Object>) - Constructor for class com.google.inject.internal.ChildBindingAlreadySetError
- ChildClassDefiner - Class in com.google.inject.internal.aop
-
ClassDefiner
that defines classes using childClassLoader
s. - ChildClassDefiner() - Constructor for class com.google.inject.internal.aop.ChildClassDefiner
- ChildClassDefiner.ChildLoader - Class in com.google.inject.internal.aop
-
Custom class loader that grants access to defineClass
- ChildClassDefiner.ChildLoaderCacheHolder - Class in com.google.inject.internal.aop
- ChildClassDefiner.SystemChildLoaderHolder - Class in com.google.inject.internal.aop
- childLoader(ClassLoader) - Static method in class com.google.inject.internal.aop.ChildClassDefiner
-
Creates a child loader for the given host loader
- ChildLoader() - Constructor for class com.google.inject.internal.aop.ChildClassDefiner.ChildLoader
- ChildLoader(ClassLoader) - Constructor for class com.google.inject.internal.aop.ChildClassDefiner.ChildLoader
- ChildLoaderCacheHolder() - Constructor for class com.google.inject.internal.aop.ChildClassDefiner.ChildLoaderCacheHolder
- CIRCULAR_PROXY_DISABLED - Enum constant in enum class com.google.inject.internal.ErrorId
- circularDependenciesDisabled(Class<?>) - Static method in exception class com.google.inject.internal.InternalProvisionException
- circularGet(Provider<? extends T>, InternalContext, Dependency<?>, ProvisionListenerStackCallback<T>) - Method in class com.google.inject.internal.ProviderInternalFactory
- circularProxyTypeCache - Static variable in class com.google.inject.internal.BytecodeGen
- CLASS_DEFINING_UNSUPPORTED - Static variable in class com.google.inject.internal.aop.ClassDefining
- CLASS_LOADER_DEFINE_CLASS - Static variable in class com.google.inject.internal.aop.UnsafeClassDefiner.ClassLoaderDefineClassHolder
- CLASS_LOADER_TYPE - Static variable in class com.google.inject.internal.aop.UnsafeClassDefiner
- ClassBuilding - Class in com.google.inject.internal.aop
-
Entry-point for building enhanced classes and 'fast-class' invocation.
- ClassBuilding() - Constructor for class com.google.inject.internal.aop.ClassBuilding
- ClassDefiner - Interface in com.google.inject.internal.aop
-
Defines dynamically generated classes.
- ClassDefinerHolder() - Constructor for class com.google.inject.internal.aop.ClassDefining.ClassDefinerHolder
- ClassDefining - Class in com.google.inject.internal.aop
-
Entry-point for defining dynamically generated classes.
- ClassDefining() - Constructor for class com.google.inject.internal.aop.ClassDefining
- ClassDefining.ClassDefinerHolder - Class in com.google.inject.internal.aop
- Classes - Class in com.google.inject.internal.util
-
Class utilities.
- Classes() - Constructor for class com.google.inject.internal.util.Classes
- ClassLoaderDefineClassHolder() - Constructor for class com.google.inject.internal.aop.UnsafeClassDefiner.ClassLoaderDefineClassHolder
- ClassMapKey - Annotation Interface in com.google.inject.multibindings
-
Allows @
ProvidesIntoMap
to specify a class map key. - classMatcher - Variable in class com.google.inject.internal.MethodAspect
- classMatcher - Variable in class com.google.inject.spi.InterceptorBinding
- CLASSNAME_PATTERN - Static variable in class com.google.inject.internal.PackageNameCompressor
- classNamesToSkip - Variable in class com.google.inject.internal.util.SourceProvider
- classOptions(String...) - Static method in class com.google.inject.internal.aop.HiddenClassDefiner
-
Creates
invalid reference
MethodHandles.Lookup.ClassOption
- clazz - Variable in class com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- cleanedStacks - Variable in class com.google.inject.servlet.FilterChainInvocation
- cleanup(BindingImpl<?>, Set<Key<?>>) - Method in class com.google.inject.internal.InjectorImpl
-
Iterates through the binding's dependencies to clean up any stray bindings that were leftover from a failed JIT binding.
- cleanupOnRemoval(RemovalNotification<InjectorBindingData, Set<WeakKeySet.KeyAndSource>>) - Method in class com.google.inject.internal.WeakKeySet
- clear() - Method in interface com.google.inject.spi.BindingSourceRestriction.PermitMap
- clear() - Method in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction.PermitMapImpl
- clear(Element) - Static method in class com.google.inject.spi.BindingSourceRestriction
- clear(ElementSource) - Static method in class com.google.inject.spi.BindingSourceRestriction
- clearCache() - Static method in class com.google.inject.internal.util.StackTraceElements
-
Clears the internal cache for
StackTraceElements
. - close() - Method in class com.google.inject.internal.InternalContext
-
Should be called any any method that received an instance via InjectorImpl.enterContext().
- close() - Method in interface com.google.inject.servlet.RequestScoper.CloseableScope
- collectEnhanceableMethods(TypeLiteral<?>, Consumer<Method>, Map<Method, Method>) - Method in class com.google.inject.internal.aop.MethodPartition
-
Resolve and collect enhanceable methods into the given list; one per method-signature.
- collectFilterDefinitions(Injector) - Method in class com.google.inject.servlet.ManagedFilterPipeline
-
Introspects the injector and collects all instances of bound
List<FilterDefinition>
into a master list. - collectionOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type modelling a
Collection
whose elements are of typeelementType
. - collectionOfJavaxProvidersKey - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- collectionOfJavaxProvidersOf(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealMultibinder
- collectionOfProvidersKey - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- collectionOfProvidersOf(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealMultibinder
- collector - Variable in class com.google.inject.assistedinject.FactoryProvider2
-
The binding collector, for equality/hashing purposes.
- collectServletDefinitions(Injector) - Method in class com.google.inject.servlet.ManagedServletPipeline
-
Introspects the injector and collects all instances of bound
List<ServletDefinition>
into a master list. - COLORIZE_OPTION - Static variable in class com.google.inject.internal.InternalFlags
- ColorizeOption() - Constructor for enum class com.google.inject.internal.InternalFlags.ColorizeOption
- com.google.inject - package com.google.inject
-
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
- com.google.inject.assistedinject - package com.google.inject.assistedinject
-
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar
. - com.google.inject.assistedinject.internal - package com.google.inject.assistedinject.internal
- com.google.inject.binder - package com.google.inject.binder
-
Interfaces which make up
Binder
's expression language. - com.google.inject.grapher - package com.google.inject.grapher
- com.google.inject.grapher.graphviz - package com.google.inject.grapher.graphviz
- com.google.inject.internal - package com.google.inject.internal
-
Guice (sounds like "juice")
- com.google.inject.internal.aop - package com.google.inject.internal.aop
- com.google.inject.internal.util - package com.google.inject.internal.util
- com.google.inject.jndi - package com.google.inject.jndi
-
JNDI integration; this extension requires
guice-jndi.jar
. - com.google.inject.matcher - package com.google.inject.matcher
-
Used for matching things.
- com.google.inject.multibindings - package com.google.inject.multibindings
-
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar
. - com.google.inject.name - package com.google.inject.name
-
Support for binding to string-based names.
- com.google.inject.servlet - package com.google.inject.servlet
-
Servlet API scopes, bindings and registration; this extension requires
guice-servlet.jar
. - com.google.inject.spi - package com.google.inject.spi
-
Guice service provider interface
- com.google.inject.throwingproviders - package com.google.inject.throwingproviders
-
Extension for injecting objects that may throw at provision time; this extension requires
guice-throwingproviders.jar
. - com.google.inject.tools.jmx - package com.google.inject.tools.jmx
-
JMX integration; this extension requires
guice-jmx.jar
. - com.google.inject.util - package com.google.inject.util
-
Helper methods for working with Guice.
- combine() - Static method in class com.google.inject.util.Modules
-
Deprecated.this method call is effectively a no-op, just remove it.
- combine(Module) - Static method in class com.google.inject.util.Modules
-
Deprecated.there's no need to "combine" one module; just install it directly.
- combine(Module...) - Static method in class com.google.inject.util.Modules
-
Returns a new module that installs all of
modules
. - combine(Iterable<? extends Module>) - Static method in class com.google.inject.util.Modules
-
Returns a new module that installs all of
modules
. - CombinedModule(Iterable<? extends Module>) - Constructor for class com.google.inject.util.Modules.CombinedModule
- COMMON_AMBIGUOUS_TYPES - Static variable in class com.google.inject.internal.MissingImplementationErrorHints
-
If the key is unknown and it is one of these types, it generally means there is a missing annotation.
- CompassPoint - Enum Class in com.google.inject.grapher.graphviz
-
Enum for the "compass point" values used to control where edge end points appear on the graph.
- CompassPoint(String) - Constructor for enum class com.google.inject.grapher.graphviz.CompassPoint
- compassPt - Variable in enum class com.google.inject.grapher.graphviz.CompassPoint
-
Graphviz "compass_pt" value.
- componentType - Variable in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
- compressPackagesInMessage(String) - Static method in class com.google.inject.internal.PackageNameCompressor
-
Compresses an error message by stripping the packages out of class names and adding them to a legend at the bottom of the error.
- computeHashCode() - Method in class com.google.inject.Key
-
Computes the hash code for this key.
- ConfigurationException - Exception Class in com.google.inject
-
Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported scope is found.
- ConfigurationException(Iterable<Message>) - Constructor for exception class com.google.inject.ConfigurationException
-
Creates a ConfigurationException containing
messages
. - configure() - Method in class com.google.inject.AbstractModule
-
Configures a
Binder
via the exposed methods. - configure() - Method in class com.google.inject.grapher.graphviz.GraphvizModule
- configure() - Method in class com.google.inject.internal.RealMultibinder.PermitDuplicatesModule
- configure() - Method in class com.google.inject.PrivateModule
-
Creates bindings and other configurations private to this module.
- configure() - Method in class com.google.inject.servlet.InternalServletModule
- configure() - Method in class com.google.inject.servlet.ServletModule
- configure() - Method in class com.google.inject.util.Modules.OverrideModule
- configure(Binder) - Method in class com.google.inject.AbstractModule
- configure(Binder) - Method in class com.google.inject.internal.InjectorShell.InheritedScannersModule
- configure(Binder) - Method in class com.google.inject.internal.InjectorShell.RootModule
- configure(Binder) - Method in class com.google.inject.internal.ProviderMethod
- configure(Binder) - Method in class com.google.inject.internal.ProviderMethodsModule
- configure(Binder) - Method in class com.google.inject.internal.RealMapBinder
- configure(Binder) - Method in class com.google.inject.internal.RealMapBinder.MultimapBinder
- configure(Binder) - Method in class com.google.inject.internal.RealMultibinder
- configure(Binder) - Method in class com.google.inject.internal.RealOptionalBinder
- configure(Binder) - Method in interface com.google.inject.Module
-
Contributes bindings and other configurations for this module to
binder
. - configure(Binder) - Method in class com.google.inject.PrivateModule
- configure(Binder) - Method in class com.google.inject.spi.Elements.ElementsAsModule
- configure(Binder) - Method in class com.google.inject.throwingproviders.CheckedProviderMethod
- configure(Binder) - Method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- configure(Binder) - Method in class com.google.inject.util.Modules.CombinedModule
- configure(Binder) - Method in class com.google.inject.util.Modules.DisableCircularProxiesModule
- configure(Binder) - Method in class com.google.inject.util.Modules.EmptyModule
- configure(Binder) - Method in class com.google.inject.util.Modules.RequireAtInjectOnConstructorsModule
- configure(Binder) - Method in class com.google.inject.util.Modules.RequireExactBindingAnnotationsModule
- configure(Binder) - Method in class com.google.inject.util.Modules.RequireExplicitBindingsModule
- configureServlets() - Method in class com.google.inject.servlet.ServletModule
-
Servlet Mapping EDSL
- Configuring complex factories - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- Configuring factories - Search tag in class com.google.inject.assistedinject.FactoryProvider
- Section
- Configuring simple factories - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- CONSTANT - Enum constant in enum class com.google.inject.internal.Indexer.BindingType
- CONSTANT_VALUE_ALREADY_SET - Static variable in class com.google.inject.internal.AbstractBindingBuilder
- ConstantBindingBuilder - Interface in com.google.inject.binder
-
Binds to a constant value.
- ConstantBindingBuilderImpl<T> - Class in com.google.inject.internal
-
Bind a constant.
- ConstantBindingBuilderImpl(Binder, List<Element>, Object) - Constructor for class com.google.inject.internal.ConstantBindingBuilderImpl
- ConstantFactory<T> - Class in com.google.inject.internal
- ConstantFactory(Initializable<T>) - Constructor for class com.google.inject.internal.ConstantFactory
- ConstantProvider(T) - Constructor for class com.google.inject.util.Providers.ConstantProvider
- construct(InternalContext, Dependency<?>, ProvisionListenerStackCallback<T>) - Method in class com.google.inject.internal.ConstructorInjector
-
Construct an instance.
- constructing - Variable in class com.google.inject.internal.ConstructionContext
- ConstructionContext<T> - Class in com.google.inject.internal
-
Context of a dependency construction.
- ConstructionContext() - Constructor for class com.google.inject.internal.ConstructionContext
- constructionContexts - Variable in class com.google.inject.internal.InternalContext
- constructionProxy - Variable in class com.google.inject.internal.ConstructorInjector
- ConstructionProxy<T> - Interface in com.google.inject.internal
-
Proxies calls to a
Constructor
for a classT
. - ConstructionProxyFactory<T> - Interface in com.google.inject.internal
-
Creates
ConstructionProxy
instances. - constructor - Variable in class com.google.inject.assistedinject.AssistedConstructor
- constructor - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
-
the constructor the implementation is constructed with.
- constructor - Variable in class com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy
- constructor - Variable in class com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy
- constructor - Variable in class com.google.inject.internal.ProxyFactory.ProxyConstructor
- CONSTRUCTOR - Enum constant in enum class com.google.inject.internal.Indexer.BindingType
- CONSTRUCTOR_NOT_DEFINED_BY_TYPE - Enum constant in enum class com.google.inject.internal.ErrorId
- CONSTRUCTOR_RULES - Static variable in class com.google.inject.internal.Errors
- CONSTRUCTOR_RULES - Static variable in class com.google.inject.throwingproviders.CheckedProvideUtils
- ConstructorBinding<T> - Interface in com.google.inject.spi
-
A binding to the constructor of a concrete clss.
- ConstructorBindingImpl<T> - Class in com.google.inject.internal
- ConstructorBindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping, ConstructorBindingImpl.Factory<T>, InjectionPoint) - Constructor for class com.google.inject.internal.ConstructorBindingImpl
- ConstructorBindingImpl(Key<T>, Object, Scoping, InjectionPoint, Set<InjectionPoint>) - Constructor for class com.google.inject.internal.ConstructorBindingImpl
- ConstructorBindingImpl.Factory<T> - Class in com.google.inject.internal
- constructorHasMatchingParams(TypeLiteral<?>, Constructor<?>, List<Key<?>>, Errors) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
Matching logic for constructors annotated with AssistedInject.
- constructorInjectionPoint - Variable in class com.google.inject.internal.ConstructorBindingImpl
- constructorInjector - Variable in class com.google.inject.internal.ConstructorBindingImpl.Factory
- ConstructorInjector<T> - Class in com.google.inject.internal
-
Creates instances using an injectable constructor.
- ConstructorInjector(Set<InjectionPoint>, ConstructionProxy<T>, SingleParameterInjector<?>[], MembersInjectorImpl<T>) - Constructor for class com.google.inject.internal.ConstructorInjector
- ConstructorInjectorStore - Class in com.google.inject.internal
-
Constructor injectors by type.
- ConstructorInjectorStore(InjectorImpl) - Constructor for class com.google.inject.internal.ConstructorInjectorStore
- constructorNotDefinedByType(Constructor<?>, TypeLiteral<?>) - Method in class com.google.inject.internal.Errors
- constructors - Variable in class com.google.inject.internal.InjectorImpl
-
Cached constructor injectors for each type
- contains(Key<?>) - Method in class com.google.inject.internal.WeakKeySet
- containsComponentAnnotation(Annotation[]) - Static method in class com.google.inject.internal.Annotations
- containsElement(Element) - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- containsElement(Element) - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- containsElement(Element) - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- containsElement(Element) - Method in class com.google.inject.internal.RealMultibinder
- containsElement(Element) - Method in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- containsElement(Element) - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
-
Implementation of
OptionalBinderBinding.containsElement(com.google.inject.spi.Element)
. - containsElement(Element) - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- containsElement(Element) - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- containsElement(Element) - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns true if this MapBinder contains the given Element in order to build the map or uses the given Element in order to support building and injecting the map.
- containsElement(Element) - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns true if this Multibinder uses the given Element.
- containsElement(Element) - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
Returns true if this OptionalBinder contains the given Element in order to build the optional binding or uses the given Element in order to support building and injecting its data.
- context - Variable in class com.google.inject.jndi.JndiIntegration.JndiProvider
- Context() - Constructor for class com.google.inject.servlet.ServletScopes.Context
- Context(HttpServletRequest, HttpServletRequest, HttpServletResponse) - Constructor for class com.google.inject.servlet.GuiceFilter.Context
- contextDestroyed(ServletContextEvent) - Method in class com.google.inject.servlet.GuiceServletContextListener
- contextInitialized(ServletContextEvent) - Method in class com.google.inject.servlet.GuiceServletContextListener
- continueRequest(Callable<T>, Map<Key<?>, Object>) - Static method in class com.google.inject.servlet.ServletScopes
-
Deprecated.You probably want to use
transferRequest
instead - continueRequest(Map<Key<?>, Object>) - Static method in class com.google.inject.servlet.ServletScopes
- ContinuingHttpServletRequest - Class in com.google.inject.servlet
-
A wrapper for requests that makes requests immutable, taking a snapshot of the original request.
- ContinuingHttpServletRequest(HttpServletRequest) - Constructor for class com.google.inject.servlet.ContinuingHttpServletRequest
- ContinuingHttpServletRequest.ImmutableCookie - Class in com.google.inject.servlet
- ContinuousStopwatch - Class in com.google.inject.internal.util
-
A continuously timing stopwatch that is used for simple performance monitoring.
- ContinuousStopwatch(Stopwatch) - Constructor for class com.google.inject.internal.util.ContinuousStopwatch
-
Constructs a ContinuousStopwatch, which will start timing immediately after construction.
- CONVERSION_TYPE_ERROR - Enum constant in enum class com.google.inject.internal.ErrorId
- conversionError(String, Object, TypeLiteral<?>, TypeConverterBinding, RuntimeException) - Method in class com.google.inject.internal.Errors
- conversionTypeError(String, Object, TypeLiteral<?>, TypeConverterBinding, Object) - Method in class com.google.inject.internal.Errors
- convert(Object) - Static method in class com.google.inject.internal.Errors
- convert(Object) - Static method in class com.google.inject.internal.Messages
-
Formats an object in a user friendly way.
- convert(Object) - Method in class com.google.inject.internal.Messages.Converter
- convert(Object, ElementSource) - Static method in class com.google.inject.internal.Errors
- convert(Object, ElementSource) - Static method in class com.google.inject.internal.Messages
- convert(String, TypeLiteral<?>) - Method in interface com.google.inject.spi.TypeConverter
-
Converts a string value.
- convertConstantStringBinding(Key<T>, Errors) - Method in class com.google.inject.internal.InjectorImpl
-
Converts a constant string binding to the required type.
- CONVERTED_CONSTANT - Enum constant in enum class com.google.inject.grapher.BindingEdge.Type
-
Binding is to the interface for a constant of a different type.
- ConvertedConstantBinding<T> - Interface in com.google.inject.spi
-
A binding created from converting a bound instance to a new type.
- ConvertedConstantBindingImpl(InjectorImpl, Key<T>, T, Binding<String>, TypeConverterBinding) - Constructor for class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- Converter(Class<T>) - Constructor for class com.google.inject.internal.Messages.Converter
- CONVERTER_RETURNED_NULL - Enum constant in enum class com.google.inject.internal.ErrorId
- converterReturnedNull(String, Object, TypeLiteral<?>, TypeConverterBinding) - Method in class com.google.inject.internal.Errors
- converters - Variable in class com.google.inject.internal.InjectorBindingData
- converters - Static variable in class com.google.inject.internal.Messages
- convertToClass(InjectorImpl, Class<T>, TypeConverter) - Static method in class com.google.inject.internal.TypeConverterBindingProcessor
- convertToClasses(InjectorImpl, Matcher<? super Class<?>>, TypeConverter) - Static method in class com.google.inject.internal.TypeConverterBindingProcessor
- convertToInMemoryStackTraceElement(StackTraceElement[]) - Static method in class com.google.inject.internal.util.StackTraceElements
-
Returns encoded in-memory version of
StackTraceElements
. - convertToPrimitiveType(InjectorImpl, Class<T>, Class<T>) - Static method in class com.google.inject.internal.TypeConverterBindingProcessor
- convertToStackTraceElement(StackTraceElements.InMemoryStackTraceElement[]) - Static method in class com.google.inject.internal.util.StackTraceElements
-
Decodes in-memory stack trace elements to regular
StackTraceElements
. - convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in class com.google.inject.AbstractModule
- convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in interface com.google.inject.Binder
-
Binds a type converter.
- convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in class com.google.inject.PrivateModule
- convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in class com.google.inject.spi.Elements.RecordingBinder
- cookies - Variable in class com.google.inject.servlet.ContinuingHttpServletRequest
- copy(NodeId) - Method in class com.google.inject.grapher.ImplementationNode
- copy(NodeId) - Method in class com.google.inject.grapher.InstanceNode
- copy(NodeId) - Method in class com.google.inject.grapher.InterfaceNode
- copy(NodeId) - Method in class com.google.inject.grapher.Node
-
Returns a copy of the node with a new ID.
- copy(NodeId, NodeId) - Method in class com.google.inject.grapher.BindingEdge
- copy(NodeId, NodeId) - Method in class com.google.inject.grapher.DependencyEdge
- copy(NodeId, NodeId) - Method in class com.google.inject.grapher.Edge
-
Returns a copy of the edge with new node IDs.
- copyErrorsToBinder(ConfigurationException) - Method in class com.google.inject.internal.BindingBuilder
- COUNTER - Static variable in class com.google.inject.internal.aop.AbstractGlueGenerator
- create() - Method in interface com.google.inject.internal.ConstructionProxyFactory
-
Gets a construction proxy for the given constructor.
- create() - Method in class com.google.inject.internal.DefaultConstructionProxyFactory
- create() - Method in class com.google.inject.internal.ProxyFactory
- create() - Static method in class com.google.inject.internal.UniqueAnnotations
-
Returns an annotation instance that is not equal to any other annotation instances, for use in creating distinct
Key
s. - create(int) - Static method in class com.google.inject.internal.UniqueAnnotations
- create(Binder) - Static method in class com.google.inject.throwingproviders.ThrowingProviderBinder
- create(Binding<T>) - Method in class com.google.inject.internal.ProvisionListenerCallbackStore
-
Creates a new
ProvisionListenerStackCallback
with the correct listeners for the key. - create(ErrorId, String, Object...) - Static method in exception class com.google.inject.internal.InternalProvisionException
- create(ErrorId, String, Object...) - Static method in class com.google.inject.internal.Messages
-
Creates a new Message without a cause.
- create(ErrorId, Throwable, String, Object...) - Static method in class com.google.inject.internal.Messages
-
Creates a new Message with the given cause.
- create(ErrorId, Throwable, List<Object>, String, Object...) - Static method in class com.google.inject.internal.Messages
-
Creates a new Message with the given cause and a binding source stack.
- create(InjectorImpl, Key<T>, InjectionPoint, Object, Scoping, Errors, boolean, boolean) - Static method in class com.google.inject.internal.ConstructorBindingImpl
- create(Key<T>, Method, Object, ImmutableSet<Dependency<?>>, Class<? extends Annotation>, boolean, Annotation) - Static method in class com.google.inject.internal.ProviderMethod
-
Creates a
ProviderMethod
. - create(ID) - Method in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory
-
Creates new lock within this factory context.
- create(Constructor<T>, List<TypeLiteral<?>>) - Static method in class com.google.inject.assistedinject.AssistedConstructor
- create(K, Errors) - Method in class com.google.inject.internal.FailableCache
- createAliases(Iterable<Binding<?>>) - Method in interface com.google.inject.grapher.AliasCreator
-
Returns aliases for the given dependency graph.
- createAliases(Iterable<Binding<?>>) - Method in class com.google.inject.grapher.ProviderAliasCreator
- createChild(Class<?>) - Method in class com.google.inject.spi.ModuleSource
-
Creates and returns a child
ModuleSource
corresponding to themodule
. - createChildInjector(Module...) - Method in interface com.google.inject.Injector
-
Returns a new injector that inherits all state from this injector.
- createChildInjector(Module...) - Method in class com.google.inject.internal.InjectorImpl
- createChildInjector(Module...) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- createChildInjector(Iterable<? extends Module>) - Method in interface com.google.inject.Injector
-
Returns a new injector that inherits all state from this injector.
- createChildInjector(Iterable<? extends Module>) - Method in class com.google.inject.internal.InjectorImpl
- createChildInjector(Iterable<? extends Module>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- createConstructor(InjectionPoint, Errors) - Method in class com.google.inject.internal.ConstructorInjectorStore
- createEdges(Iterable<Edge>, Map<NodeId, NodeId>) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
- createImplementedByBinding(Key<T>, Scoping, ImplementedBy, Errors) - Method in class com.google.inject.internal.InjectorImpl
-
Creates a binding for a type annotated with @ImplementedBy.
- createInjector(Module...) - Static method in class com.google.inject.Guice
-
Creates an injector for the given set of modules.
- createInjector(Stage, Module...) - Static method in class com.google.inject.Guice
-
Creates an injector for the given set of modules, in a given development stage.
- createInjector(Stage, Iterable<? extends Module>) - Static method in class com.google.inject.Guice
-
Creates an injector for the given set of modules, in a given development stage.
- createInjector(Iterable<? extends Module>) - Static method in class com.google.inject.Guice
-
Creates an injector for the given set of modules.
- createInternalFactory(Binding<T>) - Static method in class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- createJustInTimeBinding(Key<T>, Errors, boolean, InjectorImpl.JitLimitation) - Method in class com.google.inject.internal.InjectorImpl
-
Returns a new just-in-time binding created by resolving
key
. - createJustInTimeBindingRecursive(Key<T>, Errors, boolean, InjectorImpl.JitLimitation) - Method in class com.google.inject.internal.InjectorImpl
-
Attempts to create a just-in-time binding for
key
in the root injector, falling back to other ancestor injectors until this injector is tried. - createKey() - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- createMembersInjectorBinding(Key<MembersInjector<T>>, Errors) - Method in class com.google.inject.internal.InjectorImpl
- createMethodInvoker(Method) - Method in class com.google.inject.internal.SingleMethodInjector
- createMethodMapping(TypeLiteral<?>, TypeLiteral<?>) - Static method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- createNodes(Iterable<Node>, Map<NodeId, NodeId>) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
- createNullValueException(K, Binding<V>) - Static method in class com.google.inject.internal.RealMapBinder
- createParameterInjector(Dependency<T>, Errors) - Method in class com.google.inject.internal.InjectorImpl
- createProvidedByBinding(Key<T>, Scoping, ProvidedBy, Errors) - Method in class com.google.inject.internal.InjectorImpl
-
Creates a binding for a type annotated with @ProvidedBy.
- createProviderMethod(Binder, Method, CheckedProvides) - Method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- createProviderMethod(Binder, Method, Annotation) - Method in class com.google.inject.internal.ProviderMethodsModule
- createProxy(InjectorImpl.InjectorOptions, Class<?>) - Method in class com.google.inject.internal.ConstructionContext
- createResultProvider(Key<? extends CheckedProvider<?>>, Provider<? extends CheckedProvider<?>>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- createSyntheticProviderBinding(Key<Provider<T>>, Errors) - Method in class com.google.inject.internal.InjectorImpl
-
Creates a synthetic binding to
Provider<T>
, i.e. - createTypeLiteralBinding(Key<TypeLiteral<T>>, Errors) - Method in class com.google.inject.internal.InjectorImpl
-
Converts a binding for a
Key<TypeLiteral<T>>
to the valueTypeLiteral<T>
. - createUninitializedBinding(Key<T>, Scoping, Object, Errors, boolean) - Method in class com.google.inject.internal.InjectorImpl
-
Creates a binding for an injectable type with the given scope.
- createWithInitializer(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping, Key<? extends Provider<? extends T>>, DelayedInitialize) - Static method in class com.google.inject.internal.LinkedProviderBindingImpl
- createWithListeners(TypeLiteral<T>, Errors) - Method in class com.google.inject.internal.MembersInjectorStore
-
Creates a new members injector and attaches both injection listeners and method aspects.
- Creating a type that accepts factory parameters - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- Creating a type that accepts factory parameters - Search tag in class com.google.inject.assistedinject.FactoryProvider
- Section
- CreationException - Exception Class in com.google.inject
-
Thrown when errors occur while creating a
Injector
. - CreationException(Collection<Message>) - Constructor for exception class com.google.inject.CreationException
-
Creates a CreationException containing
messages
. - CreationListener - Interface in com.google.inject.internal
-
Something that is notified upon creation.
- creationListeners - Variable in class com.google.inject.internal.ProcessedBindingData
- CROW - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- currentModulePermits - Variable in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
- currentReference - Variable in class com.google.inject.internal.ConstructionContext
- currentScanner - Variable in class com.google.inject.spi.Elements.RecordingBinder
- currentStage() - Method in class com.google.inject.AbstractModule
- currentStage() - Method in interface com.google.inject.Binder
-
Gets the current stage.
- currentStage() - Method in class com.google.inject.PrivateModule
- currentStage() - Method in class com.google.inject.spi.Elements.RecordingBinder
- CUSTOM_CLASS_LOADING - Static variable in class com.google.inject.internal.InternalFlags
- CustomClassLoadingOption() - Constructor for enum class com.google.inject.internal.InternalFlags.CustomClassLoadingOption
- CycleDetectingLock<ID> - Interface in com.google.inject.internal
-
Simplified version of
Lock
that is special due to how it handles deadlocks detection. - CycleDetectingLock.CycleDetectingLockFactory<ID> - Class in com.google.inject.internal
-
Wraps locks so they would never cause a deadlock.
- CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock<ID> - Class in com.google.inject.internal
-
The implementation for
CycleDetectingLock
. - cycleDetectingLockFactory - Variable in class com.google.inject.internal.Initializer
-
Allows us to detect circular dependencies.
- cycleDetectingLockFactory - Static variable in class com.google.inject.internal.SingletonScope
-
Allows us to detect when circular proxies are necessary.
- CycleDetectingLockFactory() - Constructor for class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory
- CyclicFactory(InternalProviderInstanceBindingImpl.InitializationTiming) - Constructor for class com.google.inject.internal.InternalProviderInstanceBindingImpl.CyclicFactory
D
- DASHED - Enum constant in enum class com.google.inject.grapher.graphviz.EdgeStyle
- DASHED - Enum constant in enum class com.google.inject.grapher.graphviz.NodeStyle
- DeclaredMembers - Class in com.google.inject.internal
-
Utility class for retrieving declared fields or methods in a particular order, because the JVM doesn't guarantee ordering for listing declared methods.
- DeclaredMembers() - Constructor for class com.google.inject.internal.DeclaredMembers
- declaringClass - Variable in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- declaringClassOf(TypeVariable<?>) - Static method in class com.google.inject.internal.MoreTypes
-
Returns the declaring class of
typeVariable
, ornull
if it was not declared by a class. - declaringSource - Variable in class com.google.inject.spi.ElementSource
-
Refers to a single location in source code that causes the element creation.
- declaringType - Variable in class com.google.inject.spi.InjectionPoint
- declaringType - Variable in class com.google.inject.spi.InjectionPoint.InjectableMember
- DEFAULT - Enum constant in enum class com.google.inject.internal.RealOptionalBinder.Source
- DEFAULT - Enum constant in enum class com.google.inject.multibindings.ProvidesIntoOptional.Type
-
Corresponds to
OptionalBinder.setDefault()
. - DEFAULT_ANNOTATION - Static variable in class com.google.inject.assistedinject.FactoryProvider2
-
if a factory method parameter isn't annotated, it gets this annotation.
- DEFAULT_INSTANCE - Static variable in class com.google.inject.internal.util.SourceProvider
- defaultBinding - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- defaultBindingKey - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
-
lazily allocated, by
RealOptionalBinder.BindingSelection.getKeyForDefaultBinding()
. - DefaultBindingScopingVisitor<V> - Class in com.google.inject.spi
-
No-op visitor for subclassing.
- DefaultBindingScopingVisitor() - Constructor for class com.google.inject.spi.DefaultBindingScopingVisitor
- DefaultBindingTargetVisitor<T,
V> - Class in com.google.inject.spi -
No-op visitor for subclassing.
- DefaultBindingTargetVisitor() - Constructor for class com.google.inject.spi.DefaultBindingTargetVisitor
- DefaultConstructionProxyFactory<T> - Class in com.google.inject.internal
-
Produces construction proxies that invoke the class constructor.
- DefaultConstructionProxyFactory(InjectionPoint) - Constructor for class com.google.inject.internal.DefaultConstructionProxyFactory
- DefaultConstructionProxyFactory.FastClassProxy<T> - Class in com.google.inject.internal
-
A
ConstructionProxy
that uses bytecode generation to invoke the constructor. - DefaultConstructionProxyFactory.ReflectiveProxy<T> - Class in com.google.inject.internal
- DefaultEdgeCreator - Class in com.google.inject.grapher
-
Default edge creator.
- DefaultEdgeCreator() - Constructor for class com.google.inject.grapher.DefaultEdgeCreator
- DefaultEdgeCreator.EdgeVisitor - Class in com.google.inject.grapher
-
invalid reference
BindingTargetVisitor
Binding
. - DefaultElementVisitor<V> - Class in com.google.inject.spi
-
No-op visitor for subclassing.
- DefaultElementVisitor() - Constructor for class com.google.inject.spi.DefaultElementVisitor
- DefaultFilterPipeline - Class in com.google.inject.servlet
-
This default pipeline simply dispatches to web.xml's servlet pipeline.
- DefaultFilterPipeline() - Constructor for class com.google.inject.servlet.DefaultFilterPipeline
- DefaultImpl(String) - Constructor for class com.google.inject.internal.RealOptionalBinder.DefaultImpl
- DefaultNodeCreator - Class in com.google.inject.grapher
-
Default node creator.
- DefaultNodeCreator() - Constructor for class com.google.inject.grapher.DefaultNodeCreator
- DefaultNodeCreator.NodeVisitor - Class in com.google.inject.grapher
-
invalid reference
BindingTargetVisitor
Binding
. - DefaultRootKeySetCreator - Class in com.google.inject.grapher
-
Root key set creator that starts with all types that are not Guice internal types or the
Logger
type. - DefaultRootKeySetCreator() - Constructor for class com.google.inject.grapher.DefaultRootKeySetCreator
- DeferredLookups - Class in com.google.inject.internal
-
Returns providers and members injectors that haven't yet been initialized.
- DeferredLookups(InjectorImpl) - Constructor for class com.google.inject.internal.DeferredLookups
- define(Class<?>, byte[]) - Method in class com.google.inject.internal.aop.AnonymousClassDefiner
- define(Class<?>, byte[]) - Method in class com.google.inject.internal.aop.ChildClassDefiner
- define(Class<?>, byte[]) - Method in interface com.google.inject.internal.aop.ClassDefiner
-
Defines a new class relative to the host.
- define(Class<?>, byte[]) - Static method in class com.google.inject.internal.aop.ClassDefining
-
Defines a new class relative to the host.
- define(Class<?>, byte[]) - Method in class com.google.inject.internal.aop.GeneratedClassDefiner
- define(Class<?>, byte[]) - Method in class com.google.inject.internal.aop.HiddenClassDefiner
- define(Class<?>, byte[]) - Method in class com.google.inject.internal.aop.UnsafeClassDefiner
- DEFINE_CLASS_CACHE - Static variable in class com.google.inject.internal.aop.UnsafeClassDefiner.DefineClassCacheHolder
- defineAccess - Variable in class com.google.inject.internal.aop.GeneratedClassDefiner
- DEFINEACCESS_API - Static variable in class com.google.inject.internal.aop.UnsafeClassDefiner
- DEFINEACCESS_BY_GUICE_MARKER - Static variable in class com.google.inject.internal.aop.UnsafeClassDefiner
- DefineClassCacheHolder() - Constructor for class com.google.inject.internal.aop.UnsafeClassDefiner.DefineClassCacheHolder
- defineInChild(byte[]) - Method in class com.google.inject.internal.aop.ChildClassDefiner.ChildLoader
- Defining a factory - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- Defining a factory - Search tag in class com.google.inject.assistedinject.FactoryProvider
- Section
- DELAYED - Enum constant in enum class com.google.inject.internal.InternalProviderInstanceBindingImpl.InitializationTiming
-
Initialization of this factory should be delayed until after all other static initialization completes.
- DelayedInitialize - Interface in com.google.inject.internal
-
Something that needs some delayed initialization, typically a binding or internal factory that needs to be created invalid input: '&' put into the bindings map invalid input: '&' then initialized later.
- delayedInitializer - Variable in class com.google.inject.internal.LinkedProviderBindingImpl
- delayedUninitializedBindings - Variable in class com.google.inject.internal.ProcessedBindingData
- delegate - Variable in class com.google.inject.internal.DelegatingInvocationHandler
- delegate - Variable in class com.google.inject.internal.ExposedKeyFactory
- delegate - Variable in class com.google.inject.internal.FailableCache
- delegate - Variable in class com.google.inject.internal.ProviderMethodsModule
- delegate - Variable in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- delegate - Variable in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- delegate - Variable in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- delegate - Variable in class com.google.inject.matcher.Matchers.Not
- delegate - Variable in class com.google.inject.multibindings.MapBinder
- delegate - Variable in class com.google.inject.multibindings.Multibinder
- delegate - Variable in class com.google.inject.multibindings.OptionalBinder
- delegate - Variable in class com.google.inject.spi.MembersInjectorLookup
- delegate - Variable in class com.google.inject.spi.ProviderLookup
- delegate - Variable in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- delegate - Variable in class com.google.inject.util.Providers.GuicifiedProvider
- delegateInjector - Variable in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- delegateProvider - Variable in class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
- DelegatingInvocationHandler<T> - Class in com.google.inject.internal
- DelegatingInvocationHandler() - Constructor for class com.google.inject.internal.DelegatingInvocationHandler
- dependencies - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
-
All non-assisted dependencies required by this method.
- dependencies - Variable in class com.google.inject.internal.ProviderMethod
- dependencies - Variable in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider
- dependencies - Variable in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
- dependencies - Variable in class com.google.inject.internal.RealMapBinder.RealMapProvider
- dependencies - Variable in class com.google.inject.internal.RealMapBinder.RealProviderMapProvider
- dependencies - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- dependencies - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- dependencies - Variable in class com.google.inject.spi.InjectionPoint
- dependencies - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- dependencies - Variable in class com.google.inject.util.Providers.GuicifiedProviderWithDependencies
- dependencies() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- dependenciesFn - Variable in class com.google.inject.internal.RealMultibinder.BaseFactory
- dependency - Variable in class com.google.inject.internal.InternalContext
-
Keeps track of the type that is currently being requested for injection.
- dependency - Variable in class com.google.inject.internal.SingleFieldInjector
- dependency - Variable in class com.google.inject.internal.SingleParameterInjector
- dependency - Variable in class com.google.inject.spi.ProviderLookup
- Dependency<T> - Class in com.google.inject.spi
-
A variable that can be resolved by an injector.
- Dependency(InjectionPoint, Key<T>, boolean, int) - Constructor for class com.google.inject.spi.Dependency
- DependencyEdge - Class in com.google.inject.grapher
-
Edge from a class or
InjectionPoint
to the interface node that will satisfy the dependency. - DependencyEdge(NodeId, NodeId, InjectionPoint) - Constructor for class com.google.inject.grapher.DependencyEdge
- destroy() - Method in class com.google.inject.servlet.GuiceFilter
- destroy() - Method in class com.google.inject.servlet.ManagedServletPipeline
- destroy(Set<Filter>) - Method in class com.google.inject.servlet.FilterDefinition
- destroy(Set<HttpServlet>) - Method in class com.google.inject.servlet.ServletDefinition
- destroyPipeline() - Method in class com.google.inject.servlet.DefaultFilterPipeline
- destroyPipeline() - Method in interface com.google.inject.servlet.FilterPipeline
- destroyPipeline() - Method in class com.google.inject.servlet.ManagedFilterPipeline
- detectPotentialLocksCycle() - Method in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
-
Algorithm to detect a potential lock cycle.
- determineAnnotationToStringConfig() - Static method in class com.google.inject.internal.Annotations
- DEVELOPMENT - Enum constant in enum class com.google.inject.Stage
-
We want fast startup times at the expense of runtime performance and some up front error checking.
- DIAGONALS - Enum constant in enum class com.google.inject.grapher.graphviz.NodeStyle
- DIAMOND - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- DIAMOND_OPEN - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- disableCircularProxies - Variable in class com.google.inject.internal.InjectorImpl.InjectorOptions
- disableCircularProxies - Variable in class com.google.inject.internal.InjectorOptionsProcessor
- disableCircularProxies() - Method in interface com.google.inject.Binder
-
Prevents Guice from injecting dependencies that form a cycle, unless broken by a
Provider
. - disableCircularProxies() - Method in class com.google.inject.spi.Elements.RecordingBinder
- disableCircularProxiesModule() - Static method in class com.google.inject.util.Modules
-
Returns a module that will configure the injector to disable circular proxies.
- DisableCircularProxiesModule() - Constructor for class com.google.inject.util.Modules.DisableCircularProxiesModule
- DisableCircularProxiesOption - Class in com.google.inject.spi
-
A request to disable circular proxies.
- DisableCircularProxiesOption(Object) - Constructor for class com.google.inject.spi.DisableCircularProxiesOption
- DISABLED - Enum constant in enum class com.google.inject.internal.InternalFlags.BytecodeGenOption
-
Bytecode generation is disabled and using features that require it such as method interception will throw errors at run time.
- dispatch(ServletRequest, ServletResponse, FilterChain) - Method in class com.google.inject.servlet.DefaultFilterPipeline
- dispatch(ServletRequest, ServletResponse, FilterChain) - Method in interface com.google.inject.servlet.FilterPipeline
- dispatch(ServletRequest, ServletResponse, FilterChain) - Method in class com.google.inject.servlet.ManagedFilterPipeline
- Dispatch Order - Search tag in com.google.inject.servlet.ServletModule.configureServlets()
- Section
- doBuildEnhancer(BitSet) - Method in class com.google.inject.internal.aop.EnhancerBuilderImpl
- DOC_BASE_URL - Static variable in class com.google.inject.internal.InternalErrorDetail
- DOCUMENTED_ERRORS - Static variable in class com.google.inject.internal.InternalErrorDetail
- doEquivalent(Throwable, Throwable) - Method in class com.google.inject.internal.Messages.ThrowableEquivalence
- doFilter(ServletRequest, ServletResponse) - Method in class com.google.inject.servlet.FilterChainInvocation
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.google.inject.servlet.GuiceFilter
- doHash(Throwable) - Method in class com.google.inject.internal.Messages.ThrowableEquivalence
- doInitialize() - Method in class com.google.inject.internal.RealMultibinder.BaseFactory
- doInitialize() - Method in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- doInitialize() - Method in class com.google.inject.internal.RealMultibinder.RealMultibinderCollectionOfProvidersProvider
- doInitialize() - Method in class com.google.inject.internal.RealMultibinder.RealMultibinderProvider
- doInitialize() - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- doInitialize() - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProviderProvider
- doInitialize() - Method in class com.google.inject.internal.RealOptionalBinder.RealDirectTypeProvider
- doInitialize() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalBinderProviderWithDependencies
-
Initialize the factory.
- doInitialize() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- doInitialize() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalProviderProvider
- doInitialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- doInitialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider
- doInitialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
- doInitialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.RealMapBinderProviderWithDependencies
-
Initialize the factory.
- doInitialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.RealMapProvider
- doInitialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.RealMultimapBinderProviderWithDependencies
-
Initialize the factory.
- doInitialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.RealProviderMapProvider
- doPrivileged(PrivilegedAction<T>) - Static method in class com.google.inject.internal.aop.ChildClassDefiner
-
Utility method to remove doPrivileged ambiguity
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
-
Creates an object to be injected.
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.ProviderMethod
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealMapBinder.RealMapProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealMapBinder.RealProviderMapProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealMultibinder.RealMultibinderCollectionOfProvidersProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealMultibinder.RealMultibinderProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProviderProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealOptionalBinder.RealDirectTypeProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- doProvision(InternalContext, Dependency<?>) - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalProviderProvider
- doProvision(Object[]) - Method in class com.google.inject.internal.ProviderMethod
-
Extension point for our subclasses to implement the provisioning strategy.
- doProvision(Object[]) - Method in class com.google.inject.internal.ProviderMethod.FastClassProviderMethod
- doProvision(Object[]) - Method in class com.google.inject.internal.ProviderMethod.ReflectionProviderMethod
- doService(ServletRequest, ServletResponse) - Method in class com.google.inject.servlet.ServletDefinition
-
Utility that delegates to the actual service method of the servlet wrapped with a contextual request (i.e.
- doServiceImpl(HttpServletRequest, HttpServletResponse) - Method in class com.google.inject.servlet.ServletDefinition
- DOT - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- DOT_OPEN - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- DOTTED - Enum constant in enum class com.google.inject.grapher.graphviz.EdgeStyle
- DOTTED - Enum constant in enum class com.google.inject.grapher.graphviz.NodeStyle
- dumpTo(StringBuilder) - Method in class com.google.inject.servlet.ServletUtils.ByteAccumulator
- DUPLICATE_BINDING_ANNOTATIONS - Enum constant in enum class com.google.inject.internal.ErrorId
- DUPLICATE_ELEMENT - Enum constant in enum class com.google.inject.internal.ErrorId
- DUPLICATE_MAP_KEY - Enum constant in enum class com.google.inject.internal.ErrorId
- DUPLICATE_SCOPE_ANNOTATIONS - Enum constant in enum class com.google.inject.internal.ErrorId
- DUPLICATE_SCOPES - Enum constant in enum class com.google.inject.internal.ErrorId
- duplicateBindingAnnotations(Member, Class<? extends Annotation>, Class<? extends Annotation>) - Method in class com.google.inject.internal.Errors
- DuplicateElementError<T> - Class in com.google.inject.internal
-
Error reported by Guice when duplicate elements are found in a
invalid reference
Multibinder
- DuplicateElementError(Key<Set<T>>, ImmutableMultimap<T, DuplicateElementError.Element<T>>, List<Object>) - Constructor for class com.google.inject.internal.DuplicateElementError
- DuplicateElementError(Key<Set<T>>, List<Binding<T>>, T[], List<Object>) - Constructor for class com.google.inject.internal.DuplicateElementError
- DuplicateElementError.Element<T> - Class in com.google.inject.internal
- duplicateMapKey(Key<Map<K, V>>, Multimap<K, Binding<V>>) - Method in class com.google.inject.internal.Errors
- DuplicateMapKeyError<K,
V> - Class in com.google.inject.internal -
Error reported by Guice when a duplicate key is found in a
invalid reference
MapBinder
- DuplicateMapKeyError(Key<Map<K, V>>, Multimap<K, Binding<V>>, List<Object>) - Constructor for class com.google.inject.internal.DuplicateMapKeyError
- duplicates - Variable in class com.google.inject.internal.DuplicateMapKeyError
- duplicateScopeAnnotations(Class<? extends Annotation>, Class<? extends Annotation>) - Method in class com.google.inject.internal.Errors
- duplicateScopes(ScopeBinding, Class<? extends Annotation>, Scope) - Method in class com.google.inject.internal.Errors
E
- EAGER - Enum constant in enum class com.google.inject.internal.InternalProviderInstanceBindingImpl.InitializationTiming
-
This factory can be initialized eagerly.
- EAGER_SINGLETON - Static variable in class com.google.inject.internal.Indexer
- EAGER_SINGLETON - Static variable in class com.google.inject.internal.Scoping
- EAST - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- Edge - Class in com.google.inject.grapher
-
Edge in a guice dependency graph.
- Edge(NodeId, NodeId) - Constructor for class com.google.inject.grapher.Edge
- edgeCreator - Variable in class com.google.inject.grapher.AbstractInjectorGrapher
- edgeCreator - Variable in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- EdgeCreator - Interface in com.google.inject.grapher
-
Creator of graph edges to render.
- edges - Variable in class com.google.inject.grapher.graphviz.GraphvizGrapher
- EdgeStyle - Enum Class in com.google.inject.grapher.graphviz
-
Styles for edges.
- EdgeStyle(String) - Constructor for enum class com.google.inject.grapher.graphviz.EdgeStyle
- EdgeVisitor() - Constructor for class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
- Element - Interface in com.google.inject.spi
-
A core component of a module or injector.
- Element - Annotation Interface in com.google.inject.internal
-
An internal binding annotation applied to each element in a multibinding.
- Element(T, Binding<T>) - Constructor for class com.google.inject.internal.DuplicateElementError.Element
- Element.Type - Enum Class in com.google.inject.internal
- elementCache - Static variable in class com.google.inject.internal.util.StackTraceElements
- elements - Variable in class com.google.inject.internal.AbstractBindingBuilder
-
The list of elements stored inside the
AbstractBindingBuilder.binder
. - elements - Variable in class com.google.inject.internal.DuplicateElementError
- elements - Variable in class com.google.inject.internal.InjectorShell.Builder
- elements - Variable in class com.google.inject.internal.InjectorShell
- elements - Variable in class com.google.inject.internal.PrivateElementsImpl
-
lazily instantiated
- elements - Variable in class com.google.inject.spi.Elements.ElementsAsModule
- elements - Variable in class com.google.inject.spi.Elements.RecordingBinder
- Elements - Class in com.google.inject.spi
-
Exposes elements of a module so they can be inspected, validated or
rewritten
. - Elements() - Constructor for class com.google.inject.spi.Elements
- Elements.ElementsAsModule - Class in com.google.inject.spi
- Elements.ModuleInfo - Class in com.google.inject.spi
- Elements.RecordingBinder - Class in com.google.inject.spi
- ElementsAsModule(Iterable<? extends Element>) - Constructor for class com.google.inject.spi.Elements.ElementsAsModule
- elementsMutable - Variable in class com.google.inject.internal.PrivateElementsImpl
- ElementSource - Class in com.google.inject.spi
-
Contains information about where and how an
element
was bound. - ElementSource(ElementSource, boolean, Object, ModuleSource, ModuleAnnotatedMethodScanner) - Constructor for class com.google.inject.spi.ElementSource
-
Creates a new from the given parameters.
- elementType - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- ElementVisitor<V> - Interface in com.google.inject.spi
-
Visit elements.
- ELLIPSE - Enum constant in enum class com.google.inject.grapher.graphviz.NodeShape
- EMPTY_CALLBACK - Static variable in class com.google.inject.internal.ProvisionListenerStackCallback
- EMPTY_INMEMORY_STACK_TRACE - Static variable in class com.google.inject.internal.util.StackTraceElements
- EMPTY_LISTENER - Static variable in class com.google.inject.internal.ProvisionListenerStackCallback
- EMPTY_MODULE - Static variable in class com.google.inject.util.Modules
- EMPTY_STACK_TRACE - Static variable in class com.google.inject.internal.util.StackTraceElements
- EMPTY_TYPE_ARRAY - Static variable in class com.google.inject.internal.MoreTypes
- emptyListener() - Static method in class com.google.inject.internal.ProvisionListenerStackCallback
- EmptyModule() - Constructor for class com.google.inject.util.Modules.EmptyModule
- enableColorizeErrorMessages() - Static method in class com.google.inject.internal.InternalFlags
- enabled() - Method in enum class com.google.inject.internal.InternalFlags.ColorizeOption
- ENABLED - Enum constant in enum class com.google.inject.internal.InternalFlags.BytecodeGenOption
-
Bytecode generation is enabled.
- encoding - Variable in class com.google.inject.servlet.ServletUtils.ByteAccumulator
- EncounterImpl<T> - Class in com.google.inject.internal
- EncounterImpl(Errors, Lookups) - Constructor for class com.google.inject.internal.EncounterImpl
- enhanceableMethods - Variable in class com.google.inject.internal.aop.EnhancerBuilderImpl
- enhanceConstructor(ClassWriter, Constructor<?>) - Method in class com.google.inject.internal.aop.Enhancer
-
Generate enhanced constructor that takes a handler array along with the expected arguments.
- enhancedConstructor - Variable in class com.google.inject.internal.ProxyFactory.ProxyConstructor
- enhancedConstructor(Function<String, BiFunction<Object, Object[], Object>>, Constructor<?>) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns an invoker that constructs an enhanced instance.
- enhanceMethod(ClassWriter, Method, int) - Method in class com.google.inject.internal.aop.Enhancer
-
Generate enhanced method that calls the handler with the same index.
- enhancer - Variable in class com.google.inject.internal.ProxyFactory
- Enhancer - Class in com.google.inject.internal.aop
-
Generates enhanced classes.
- Enhancer(Class<?>, Map<Method, Method>) - Constructor for class com.google.inject.internal.aop.Enhancer
- ENHANCER_BUILDERS - Static variable in class com.google.inject.internal.BytecodeGen
-
Cache of recent
BytecodeGen.EnhancerBuilder
s. - ENHANCER_BY_GUICE_MARKER - Static variable in class com.google.inject.internal.BytecodeGen
- enhancerBuilder(Class<?>) - Static method in class com.google.inject.internal.BytecodeGen
-
Create a builder of enhancers for the given class.
- EnhancerBuilderImpl - Class in com.google.inject.internal.aop
-
Builder of enhancers that provide method interception via bytecode generation.
- EnhancerBuilderImpl(Class<?>, Collection<Method>, Map<Method, Method>) - Constructor for class com.google.inject.internal.aop.EnhancerBuilderImpl
- ENHANCERS - Static variable in class com.google.inject.internal.aop.EnhancerBuilderImpl
-
Lazy association between classes and their generated enhancers.
- ensureCapacity(int) - Method in class com.google.inject.servlet.ServletUtils.ByteAccumulator
- ensureIsBindingAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.Key
- ensureOwnerType(Type, Type) - Static method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- ensureRetainedAtRuntime(Class<? extends Annotation>) - Static method in class com.google.inject.Key
- enter() - Method in class com.google.inject.internal.InternalContext
-
Should only be called by InjectorImpl.enterContext().
- enterContext() - Method in class com.google.inject.internal.InjectorImpl
-
Looks up thread local context and
enters
it or creates a new context if necessary. - enterCount - Variable in class com.google.inject.internal.InternalContext
-
The number of times
InternalContext.enter()
has been called + 1 for initial construction. - entries - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- entry - Variable in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- entryOfJavaxProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- entryOfProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- entrySetBinder - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- entrySetBinder - Variable in class com.google.inject.internal.RealMapBinder
- entrySetJavaxProviderKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- equals(Object) - Method in class com.google.inject.assistedinject.BindingCollector
- equals(Object) - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- equals(Object) - Method in class com.google.inject.assistedinject.FactoryProvider2
- equals(Object) - Method in class com.google.inject.assistedinject.ParameterListKey
- equals(Object) - Method in class com.google.inject.grapher.BindingEdge
- equals(Object) - Method in class com.google.inject.grapher.DependencyEdge
- equals(Object) - Method in class com.google.inject.grapher.Edge
- equals(Object) - Method in class com.google.inject.grapher.ImplementationNode
- equals(Object) - Method in class com.google.inject.grapher.InstanceNode
- equals(Object) - Method in class com.google.inject.grapher.InterfaceNode
- equals(Object) - Method in class com.google.inject.grapher.Node
- equals(Object) - Method in class com.google.inject.grapher.NodeId
- equals(Object) - Method in class com.google.inject.internal.ConstructorBindingImpl
- equals(Object) - Method in class com.google.inject.internal.Indexer.IndexedBinding
- equals(Object) - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- equals(Object) - Method in class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- equals(Object) - Method in class com.google.inject.internal.InstanceBindingImpl
- equals(Object) - Method in class com.google.inject.internal.LinkedBindingImpl
- equals(Object) - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- equals(Object) - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
- equals(Object) - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- equals(Object) - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
- equals(Object) - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- equals(Object) - Method in class com.google.inject.internal.ProviderMethod
- equals(Object) - Method in class com.google.inject.internal.ProviderMethodsModule
- equals(Object) - Method in class com.google.inject.internal.ProviderMethodsModule.Signature
- equals(Object) - Method in class com.google.inject.internal.ProvisionListenerCallbackStore.KeyBinding
- equals(Object) - Method in class com.google.inject.internal.RealElement
- equals(Object) - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- equals(Object) - Method in class com.google.inject.internal.RealMapBinder
- equals(Object) - Method in class com.google.inject.internal.RealMapBinder.MultimapBinder
- equals(Object) - Method in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- equals(Object) - Method in class com.google.inject.internal.RealMapBinder.RealMapBinderProviderWithDependencies
- equals(Object) - Method in class com.google.inject.internal.RealMapBinder.RealMultimapBinderProviderWithDependencies
- equals(Object) - Method in class com.google.inject.internal.RealMultibinder.BaseFactory
- equals(Object) - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- equals(Object) - Method in class com.google.inject.internal.RealMultibinder
- equals(Object) - Method in class com.google.inject.internal.RealMultibinder.PermitDuplicatesModule
- equals(Object) - Method in class com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- equals(Object) - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- equals(Object) - Method in class com.google.inject.internal.RealOptionalBinder
- equals(Object) - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalBinderProviderWithDependencies
- equals(Object) - Method in class com.google.inject.internal.Scoping
- equals(Object) - Method in class com.google.inject.internal.UntargettedBindingImpl
- equals(Object) - Method in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- equals(Object) - Method in class com.google.inject.internal.WeakKeySet.KeyAndSource
- equals(Object) - Method in class com.google.inject.Key.AnnotationInstanceStrategy
- equals(Object) - Method in class com.google.inject.Key.AnnotationTypeStrategy
- equals(Object) - Method in class com.google.inject.Key
- equals(Object) - Method in class com.google.inject.matcher.AbstractMatcher.AndMatcher
- equals(Object) - Method in class com.google.inject.matcher.AbstractMatcher.OrMatcher
- equals(Object) - Method in class com.google.inject.matcher.Matchers.AnnotatedWith
- equals(Object) - Method in class com.google.inject.matcher.Matchers.AnnotatedWithType
- equals(Object) - Method in class com.google.inject.matcher.Matchers.IdenticalTo
- equals(Object) - Method in class com.google.inject.matcher.Matchers.InPackage
- equals(Object) - Method in class com.google.inject.matcher.Matchers.InSubpackage
- equals(Object) - Method in class com.google.inject.matcher.Matchers.Not
- equals(Object) - Method in class com.google.inject.matcher.Matchers.Only
- equals(Object) - Method in class com.google.inject.matcher.Matchers.Returns
- equals(Object) - Method in class com.google.inject.matcher.Matchers.SubclassesOf
- equals(Object) - Method in class com.google.inject.multibindings.MapBinder
- equals(Object) - Method in class com.google.inject.multibindings.Multibinder
- equals(Object) - Method in class com.google.inject.multibindings.OptionalBinder
- equals(Object) - Method in class com.google.inject.name.NamedImpl
- equals(Object) - Method in class com.google.inject.servlet.InternalServletModule
- equals(Object) - Method in class com.google.inject.spi.Dependency
- equals(Object) - Method in class com.google.inject.spi.ErrorDetail
- equals(Object) - Method in class com.google.inject.spi.InjectionPoint
- equals(Object) - Method in class com.google.inject.spi.InjectionPoint.Signature
- equals(Object) - Method in class com.google.inject.spi.InjectionRequest
- equals(Object) - Method in class com.google.inject.spi.MembersInjectorLookup
- equals(Object) - Method in class com.google.inject.spi.Message
- equals(Object) - Method in class com.google.inject.spi.ProviderLookup
- equals(Object) - Method in class com.google.inject.spi.StaticInjectionRequest
- equals(Object) - Method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- equals(Object) - Method in class com.google.inject.TypeLiteral
- equals(Object) - Method in class com.google.inject.util.Providers.ConstantProvider
- equals(Object) - Method in class com.google.inject.util.Providers.GuicifiedProvider
- equals(Type, Type) - Static method in class com.google.inject.internal.MoreTypes
-
Returns true if
a
andb
are equal. - erredListener - Variable in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
- error - Variable in class com.google.inject.internal.ProvidesMethodScanner.AnnotationOrError
- ERROR - Enum constant in enum class com.google.inject.internal.InternalFlags.NullableProvidesOption
-
Error if null parameters are passed to non-@Nullable parameters of provides parameters
- ERROR - Enum constant in enum class com.google.inject.RestrictedBindingSource.RestrictionLevel
- ERROR_ENHANCING_CLASS - Enum constant in enum class com.google.inject.internal.ErrorId
- ERROR_IN_CUSTOM_PROVIDER - Enum constant in enum class com.google.inject.internal.ErrorId
- ERROR_IN_USER_CODE - Enum constant in enum class com.google.inject.internal.ErrorId
- ERROR_IN_USER_INJECTOR - Enum constant in enum class com.google.inject.internal.ErrorId
- ERROR_INJECTING_CONSTRUCTOR - Enum constant in enum class com.google.inject.internal.ErrorId
- ERROR_INJECTING_METHOD - Enum constant in enum class com.google.inject.internal.ErrorId
- ERROR_NOTIFYING_TYPE_LISTENER - Enum constant in enum class com.google.inject.internal.ErrorId
- errorCheckingDuplicateBinding(Key<?>, Object, Throwable) - Method in class com.google.inject.internal.Errors
- errorDetail - Variable in class com.google.inject.spi.Message
- ErrorDetail<SelfT> - Class in com.google.inject.spi
-
Details about a single Guice error and supports formatting itself in the context of other Guice errors.
- ErrorDetail(String, List<Object>, Throwable) - Constructor for class com.google.inject.spi.ErrorDetail
- errorEnhancingClass(Class<?>, Throwable) - Method in class com.google.inject.internal.Errors
- ErrorFormatter - Class in com.google.inject.internal
-
Helper for formatting Guice errors.
- ErrorFormatter() - Constructor for class com.google.inject.internal.ErrorFormatter
- ErrorHandler - Interface in com.google.inject.internal
-
Handles errors in the Injector.
- errorId - Variable in class com.google.inject.internal.InternalErrorDetail
- errorId - Variable in class com.google.inject.spi.Message
- ErrorId - Enum Class in com.google.inject.internal
-
Enum used to identify a specific Guice error.
- ErrorId() - Constructor for enum class com.google.inject.internal.ErrorId
- errorInjectingConstructor(Throwable) - Static method in exception class com.google.inject.internal.InternalProvisionException
- errorInjectingMethod(Throwable) - Static method in exception class com.google.inject.internal.InternalProvisionException
- errorInProvider(Throwable) - Static method in exception class com.google.inject.internal.InternalProvisionException
- errorInUserCode(ErrorId, Throwable, String, Object...) - Static method in exception class com.google.inject.internal.InternalProvisionException
- errorInUserCode(Throwable, String, Object...) - Method in class com.google.inject.internal.Errors
- errorInUserInjector(MembersInjector<?>, TypeLiteral<?>, RuntimeException) - Static method in exception class com.google.inject.internal.InternalProvisionException
- errorNotifyingInjectionListener(InjectionListener<?>, TypeLiteral<?>, RuntimeException) - Static method in exception class com.google.inject.internal.InternalProvisionException
- errorNotifyingTypeListener(TypeListenerBinding, TypeLiteral<?>, Throwable) - Method in class com.google.inject.internal.Errors
- errors - Variable in class com.google.inject.internal.AbstractProcessor
- errors - Variable in class com.google.inject.internal.EncounterImpl
- errors - Variable in class com.google.inject.internal.Errors
-
null unless (root == this) and error messages exist.
- errors - Variable in exception class com.google.inject.internal.ErrorsException
- errors - Variable in class com.google.inject.internal.InternalInjectorCreator
- errors - Variable in exception class com.google.inject.internal.InternalProvisionException
- Errors - Class in com.google.inject.internal
-
A collection of error messages.
- Errors() - Constructor for class com.google.inject.internal.Errors
- Errors(Errors, Object) - Constructor for class com.google.inject.internal.Errors
- Errors(Object) - Constructor for class com.google.inject.internal.Errors
- ErrorsException - Exception Class in com.google.inject.internal
-
Indicates that a result could not be returned while preparing or resolving a binding.
- ErrorsException(Errors) - Constructor for exception class com.google.inject.internal.ErrorsException
- evictionCache - Variable in class com.google.inject.internal.WeakKeySet
-
Tracks child injector lifetimes and evicts banned keys/sources after the child injector is garbage collected.
- exactBindingAnnotationsRequired - Variable in class com.google.inject.internal.InjectorImpl.InjectorOptions
- exactBindingAnnotationsRequired - Variable in class com.google.inject.internal.InjectorOptionsProcessor
- exception - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.Result
- exceptionDuringProvision - Variable in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
- exceptionNames(Executable) - Static method in class com.google.inject.internal.aop.Enhancer
-
Returns internal names of exceptions declared by the given constructor/method.
- exceptionTypes - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- exceptionTypes - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- exemptModules() - Element in annotation interface com.google.inject.RestrictedBindingSource
-
Exempt modules whose fully qualified class names match this regex.
- EXISTING_JIT - Enum constant in enum class com.google.inject.internal.InjectorImpl.JitLimitation
-
allows existing just in time bindings, but does not allow new ones
- existingSources - Variable in class com.google.inject.internal.ChildBindingAlreadySetError
- explanation() - Element in annotation interface com.google.inject.RestrictedBindingSource
-
Explanation of why binding this target type is restricted.
- explicitBindings - Variable in class com.google.inject.internal.InjectorBindingData
- explicitBindingsMutable - Variable in class com.google.inject.internal.InjectorBindingData
- EXPLICITLY_UNSCOPED - Static variable in class com.google.inject.internal.Scoping
-
No scoping annotation has been applied explicitly.
- expose(Key<?>) - Method in interface com.google.inject.PrivateBinder
-
Makes the binding for
key
available to the enclosing environment - expose(Key<?>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- expose(Key<T>) - Method in class com.google.inject.PrivateModule
-
Makes the binding for
key
available to other modules and the injector. - expose(TypeLiteral<?>) - Method in interface com.google.inject.PrivateBinder
-
Makes a binding for
type
available to the enclosing environment. - expose(TypeLiteral<?>) - Method in class com.google.inject.PrivateModule
-
Makes a binding for
type
available to other modules and the injector. - expose(TypeLiteral<?>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- expose(Class<?>) - Method in interface com.google.inject.PrivateBinder
-
Makes a binding for
type
available to the enclosing environment. - expose(Class<?>) - Method in class com.google.inject.PrivateModule
-
Makes a binding for
type
available to other modules and the injector. - expose(Class<?>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- exposed - Variable in class com.google.inject.internal.ProviderMethod
- exposed - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- Exposed - Annotation Interface in com.google.inject
-
Acccompanies a @
Provides
method annotation in a private module to indicate that the provided binding is exposed. - EXPOSED - Enum constant in enum class com.google.inject.internal.Indexer.BindingType
- EXPOSED_BUT_NOT_BOUND - Enum constant in enum class com.google.inject.internal.ErrorId
- ExposedBinding<T> - Interface in com.google.inject.spi
-
A binding to a key exposed from an enclosed private environment.
- ExposedBindingImpl<T> - Class in com.google.inject.internal
- ExposedBindingImpl(InjectorImpl, Object, Key<T>, InternalFactory<T>, PrivateElements) - Constructor for class com.google.inject.internal.ExposedBindingImpl
- exposedButNotBound(Key<?>) - Method in class com.google.inject.internal.Errors
- ExposedKeyFactory<T> - Class in com.google.inject.internal
-
This factory exists in a parent injector.
- ExposedKeyFactory(Key<T>, PrivateElements) - Constructor for class com.google.inject.internal.ExposedKeyFactory
- exposedKeysToSources - Variable in class com.google.inject.internal.PrivateElementsImpl
-
lazily instantiated
- exposeInternal(Key<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- ExposureBuilder<T> - Class in com.google.inject.internal
-
For private binder's expose() method.
- ExposureBuilder(Binder, Object, Key<T>) - Constructor for class com.google.inject.internal.ExposureBuilder
- exposureBuilders - Variable in class com.google.inject.internal.PrivateElementsImpl
- ExtensionRealMapProvider(RealMapBinder.RealMapProvider<K, V>) - Constructor for class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- ExtensionRealMultibinderProvider(RealMultibinder.RealMultibinderProvider<T>) - Constructor for class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- EXTERIOR_SIDE - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- extractPath(String) - Method in interface com.google.inject.servlet.UriPatternMatcher
- extractPath(String) - Method in class com.google.inject.servlet.UriPatternType.RegexUriPatternMatcher
- extractPath(String) - Method in class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher
- extractScanners(Iterable<Element>) - Static method in class com.google.inject.util.Modules
- extraEquality - Variable in class com.google.inject.internal.Indexer.IndexedBinding
F
- factory - Variable in class com.google.inject.assistedinject.FactoryProvider2
-
the factory interface, implemented and provided
- factory - Variable in class com.google.inject.internal.ConstructorBindingImpl
- factory - Variable in class com.google.inject.internal.SingleParameterInjector
- Factory(boolean, Key<?>) - Constructor for class com.google.inject.internal.ConstructorBindingImpl.Factory
- Factory(InternalProviderInstanceBindingImpl.InitializationTiming) - Constructor for class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
- factoryKey - Variable in class com.google.inject.assistedinject.FactoryProvider2
-
The key that this is bound to.
- factoryMethod - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
-
The factory method associated with this data
- factoryMethodToConstructor - Variable in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- FactoryModuleBuilder - Class in com.google.inject.assistedinject
-
Provides a factory that combines the caller's arguments with injector-supplied values to construct objects.
- FactoryModuleBuilder() - Constructor for class com.google.inject.assistedinject.FactoryModuleBuilder
- FactoryProvider<F> - Class in com.google.inject.assistedinject
-
Deprecated.use
FactoryModuleBuilder
instead. - FactoryProvider(TypeLiteral<F>, TypeLiteral<?>, Map<Method, AssistedConstructor<?>>) - Constructor for class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- FactoryProvider2<F> - Class in com.google.inject.assistedinject
-
The newer implementation of factory provider.
- FactoryProvider2(Key<F>, BindingCollector, MethodHandles.Lookup) - Constructor for class com.google.inject.assistedinject.FactoryProvider2
- FactoryProvider2.AssistData - Class in com.google.inject.assistedinject
-
All the data necessary to perform an assisted inject.
- FactoryProvider2.PrivateLookup - Class in com.google.inject.assistedinject
- FactoryProvider2.SuperMethodLookup - Enum Class in com.google.inject.assistedinject
- FactoryProvider2.SuperMethodSupport - Class in com.google.inject.assistedinject
-
Holder for the appropriate kind of method lookup to use.
- FactoryProvider2.ThreadLocalProvider - Class in com.google.inject.assistedinject
- FactoryProxy<T> - Class in com.google.inject.internal
-
A placeholder which enables us to swap in the real factory once the injector is created.
- FactoryProxy(InjectorImpl, Key<T>, Key<? extends T>, Object) - Constructor for class com.google.inject.internal.FactoryProxy
- factoryType - Variable in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- FailableCache<K,
V> - Class in com.google.inject.internal -
Lazily creates (and caches) values for keys.
- FailableCache() - Constructor for class com.google.inject.internal.FailableCache
- failedJitBindings - Variable in class com.google.inject.internal.InjectorJitBindingData
-
Cache of Keys that we were unable to create JIT bindings for, so we don't keep trying.
- failIfNotLinked - Variable in class com.google.inject.internal.ConstructorBindingImpl.Factory
- faint(String) - Static method in class com.google.inject.internal.Messages
- FAINT - Enum constant in enum class com.google.inject.internal.Messages.FormatOptions
- FALSE_PREDICATE - Static variable in class com.google.inject.internal.KotlinSupport.KotlinUnsupported
- FAST_CLASS_API - Static variable in class com.google.inject.internal.aop.FastClass
- FAST_CLASSES - Static variable in class com.google.inject.internal.BytecodeGen
-
Lazy association between classes and their generated fast-classes.
- fastClass(Executable) - Static method in class com.google.inject.internal.BytecodeGen
-
Prepares the class declaring the given member for fast invocation using bytecode generation.
- FastClass - Class in com.google.inject.internal.aop
-
Generates fast-classes.
- FastClass(Class<?>) - Constructor for class com.google.inject.internal.aop.FastClass
- FASTCLASS_BY_GUICE_MARKER - Static variable in class com.google.inject.internal.BytecodeGen
- FastClassProviderMethod(Key<T>, Method, Object, ImmutableSet<Dependency<?>>, Class<? extends Annotation>, Annotation, BiFunction<Object, Object[], Object>) - Constructor for class com.google.inject.internal.ProviderMethod.FastClassProviderMethod
- FastClassProxy(InjectionPoint, Constructor<T>, BiFunction<Object, Object[], Object>) - Constructor for class com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy
- fastConstructor - Variable in class com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy
- fastConstructor(Constructor<?>) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns a fast invoker for the given constructor.
- fastMethod - Variable in class com.google.inject.internal.ProviderMethod.FastClassProviderMethod
- fastMethod(Method) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns a fast invoker for the given method.
- field - Variable in class com.google.inject.internal.SingleFieldInjector
- field - Variable in class com.google.inject.spi.InjectionPoint.InjectableField
- fields - Variable in class com.google.inject.grapher.graphviz.GraphvizNode
-
Map
from port ID to field title - FILLED - Enum constant in enum class com.google.inject.grapher.graphviz.NodeStyle
- filter - Variable in class com.google.inject.servlet.FilterDefinition
- filter(Iterable<String>) - Method in class com.google.inject.servlet.ServletModule
- filter(String, String...) - Method in class com.google.inject.servlet.ServletModule
- filter(List<String>) - Method in class com.google.inject.servlet.FiltersModuleBuilder
- FILTER_DEFS - Static variable in class com.google.inject.servlet.ManagedFilterPipeline
- FilterChainInvocation - Class in com.google.inject.servlet
-
A Filter chain impl which basically passes itself to the "current" filter and iterates the chain on
doFilter()
. - FilterChainInvocation(FilterDefinition[], ManagedServletPipeline, FilterChain) - Constructor for class com.google.inject.servlet.FilterChainInvocation
- FilterDefinition - Class in com.google.inject.servlet
-
An internal representation of a filter definition against a particular URI pattern.
- FilterDefinition(Key<? extends Filter>, UriPatternMatcher, Map<String, String>, Filter) - Constructor for class com.google.inject.servlet.FilterDefinition
- filterDefinitions - Variable in class com.google.inject.servlet.FilterChainInvocation
- filterDefinitions - Variable in class com.google.inject.servlet.ManagedFilterPipeline
- filterInstance - Variable in class com.google.inject.servlet.FilterDefinition
- filterKey - Variable in class com.google.inject.servlet.FilterDefinition
- FilterKeyBindingBuilderImpl(List<UriPatternMatcher>) - Constructor for class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl
- FilterPipeline - Interface in com.google.inject.servlet
-
An internal dispatcher for guice-servlet registered servlets and filters.
- filterRegex(Iterable<String>) - Method in class com.google.inject.servlet.ServletModule
- filterRegex(String, String...) - Method in class com.google.inject.servlet.ServletModule
- filterRegex(List<String>) - Method in class com.google.inject.servlet.FiltersModuleBuilder
- filtersModuleBuilder - Variable in class com.google.inject.servlet.ServletModule
- FiltersModuleBuilder - Class in com.google.inject.servlet
-
Builds the guice module that binds configured filters, with their wrapper FilterDefinitions.
- FiltersModuleBuilder(Binder) - Constructor for class com.google.inject.servlet.FiltersModuleBuilder
- FiltersModuleBuilder.FilterKeyBindingBuilderImpl - Class in com.google.inject.servlet
- FIND_SPECIAL - Enum constant in enum class com.google.inject.assistedinject.FactoryProvider2.SuperMethodLookup
- findBindingAnnotation(Errors, Member, Annotation[]) - Static method in class com.google.inject.internal.Annotations
-
Returns the binding annotation on
member
, or null if there isn't one. - findBindingsByType(TypeLiteral<T>) - Method in interface com.google.inject.Injector
-
Returns all explicit bindings for
type
. - findBindingsByType(TypeLiteral<T>) - Method in class com.google.inject.internal.InjectorImpl
- findBindingsByType(TypeLiteral<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- findClassDefiner(ClassLoader) - Static method in class com.google.inject.internal.aop.UnsafeClassDefiner
-
Finds the appropriate class definer for the given class loader.
- findMapKeyAnnotation(Binder, Method) - Static method in class com.google.inject.internal.ProvidesMethodScanner
- findMatchingConstructorInjectionPoint(Method, Key<?>, TypeLiteral<T>, List<Key<?>>) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
Finds a constructor suitable for the method.
- findNextFilter(HttpServletRequest) - Method in class com.google.inject.servlet.FilterChainInvocation
-
Iterates over the remaining filter definitions.
- findPrivateLookupCxtor() - Static method in class com.google.inject.assistedinject.FactoryProvider2.PrivateLookup
- findScopeAnnotation(Errors, Annotation[]) - Static method in class com.google.inject.internal.Annotations
-
Returns the scoping annotation, or null if there isn't one.
- findScopeAnnotation(Errors, Class<?>) - Static method in class com.google.inject.internal.Annotations
-
Returns the scope annotation on
type
, or null if none is specified. - findThrowingConstructor(TypeLiteral<? extends T>, Binder) - Static method in class com.google.inject.throwingproviders.CheckedProvideUtils
- finish() - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- finish() - Method in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
-
Finishes the
BindingSourceRestriction.PermitMap
. - finishConstruction() - Method in class com.google.inject.internal.ConstructionContext
- firstLine - Variable in class com.google.inject.internal.util.LineNumbers
- fixAnnotations(Key<?>) - Method in class com.google.inject.assistedinject.Parameter
-
Replace annotation instances with annotation types, this is only appropriate for testing if a key is bound and not for injecting.
- forAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Scoping
- FORBIDDEN_TYPES - Static variable in class com.google.inject.internal.AbstractBindingProcessor
- forbidNestedScannerMethods(Module) - Method in class com.google.inject.spi.Elements.RecordingBinder
- forClass(Class<? extends Throwable>) - Static method in class com.google.inject.throwingproviders.CheckedProviders.ThrowingHandler
- forConstructor(Constructor<T>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the specified constructor.
- forConstructor(Constructor<T>, TypeLiteral<? extends T>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the specified constructor of
type
. - forConstructorOf(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the injectable constructor of
type
. - forConstructorOf(TypeLiteral<?>, boolean) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the injectable constructor of
type
. - forConstructorOf(Class<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the injectable constructor of
type
. - forError() - Static method in class com.google.inject.internal.ProvidesMethodScanner.AnnotationOrError
- forException(Exception) - Static method in class com.google.inject.throwingproviders.ThrowingProviderBinder.Result
- forInjectionPoints(Set<InjectionPoint>) - Static method in class com.google.inject.spi.Dependency
-
Returns the dependencies from the given injection points.
- forInstance(Scope) - Static method in class com.google.inject.internal.Scoping
- forInstanceMethodsAndFields(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns all instance method and field injection points on
type
. - forInstanceMethodsAndFields(Class<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns all instance method and field injection points on
type
. - format() - Method in class com.google.inject.internal.SourceFormatter
- format(int, List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.spi.ErrorDetail
-
Formats this error along with other errors that are mergeable with this error.
- format(String, Object...) - Static method in class com.google.inject.internal.Errors
- format(String, Object...) - Static method in class com.google.inject.internal.Messages
-
Calls
String.format(java.lang.String, java.lang.Object...)
after converting the arguments using some standard guice formatting forKey
,Class
andMember
objects. - formatDependency(Dependency<?>) - Method in class com.google.inject.internal.SourceFormatter
- formatDetail(List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.internal.BindingAlreadySetError
- formatDetail(List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.internal.ChildBindingAlreadySetError
- formatDetail(List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.internal.DuplicateElementError
- formatDetail(List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.internal.DuplicateMapKeyError
- formatDetail(List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.internal.GenericErrorDetail
- formatDetail(List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.internal.MissingConstructorError
- formatDetail(List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.internal.MissingImplementationError
- formatDetail(List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.internal.ScopeNotFoundError
- formatDetail(List<ErrorDetail<?>>, Formatter) - Method in class com.google.inject.spi.ErrorDetail
-
Formats the detail of this error message along with other errors that are mergeable with this error.
- formatElement(DuplicateElementError.Element<T>, Formatter) - Method in class com.google.inject.internal.DuplicateElementError
- formatInjectionPoint(Dependency<?>, InjectionPoint) - Method in class com.google.inject.internal.SourceFormatter
- formatKey(Key<?>) - Method in class com.google.inject.internal.SourceFormatter
- formatMember(Member) - Method in class com.google.inject.internal.SourceFormatter
- formatMessages(String, Collection<Message>) - Static method in class com.google.inject.internal.Messages
-
Returns the formatted message for an exception with the specified messages.
- FormatOptions(String) - Constructor for enum class com.google.inject.internal.Messages.FormatOptions
- formatSource(Formatter, Object) - Static method in class com.google.inject.internal.Errors
- formatSources(int, List<Object>, Formatter) - Static method in class com.google.inject.internal.ErrorFormatter
-
Format a list of sources to the given
formatter
, prefixed by the giveindex
. - formatSources(List<Object>, Formatter) - Static method in class com.google.inject.internal.ErrorFormatter
-
Format a list of sources to the given
formatter
. - formatter - Variable in class com.google.inject.internal.SourceFormatter
- formatText(String, Messages.FormatOptions...) - Static method in class com.google.inject.internal.Messages
- forMember(Errors, Member, TypeLiteral<?>, AnnotatedType[], Annotation[][], Predicate<Integer>) - Method in class com.google.inject.spi.InjectionPoint
- forMember(Member) - Static method in class com.google.inject.internal.util.StackTraceElements
- forMethod(Method, TypeLiteral<T>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the specified method of
type
. - forModule(Module) - Static method in class com.google.inject.internal.ProviderMethodsModule
-
Returns a module which creates bindings for provider methods from the given module.
- forModule(Module) - Static method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
-
Returns a module which creates bindings for provider methods from the given module.
- forModule(Module) - Static method in class com.google.inject.throwingproviders.ThrowingProviderBinder
-
Returns a module that installs @
CheckedProvides
methods. - forModule(Object, ModuleAnnotatedMethodScanner) - Static method in class com.google.inject.internal.ProviderMethodsModule
-
Returns a module which creates bindings methods in the module that match the scanner.
- forObject(Object) - Static method in class com.google.inject.internal.ProviderMethodsModule
-
Returns a module which creates bindings for provider methods from the given object.
- forObject(Object, boolean, ModuleAnnotatedMethodScanner) - Static method in class com.google.inject.internal.ProviderMethodsModule
- forPossiblyNullAnnotation(Annotation) - Static method in class com.google.inject.internal.ProvidesMethodScanner.AnnotationOrError
- forStaticMethodsAndFields(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns all static method and field injection points on
type
. - forStaticMethodsAndFields(Class<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns all static method and field injection points on
type
. - forType(Class<?>) - Static method in class com.google.inject.internal.util.StackTraceElements
- forValue(Object) - Static method in class com.google.inject.throwingproviders.ThrowingProviderBinder.Result
- fromBinding(InterceptorBinding) - Static method in class com.google.inject.internal.MethodAspect
- fromId - Variable in class com.google.inject.grapher.Alias
- fromId - Variable in class com.google.inject.grapher.Edge
- fromJndi(Class<T>, String) - Static method in class com.google.inject.jndi.JndiIntegration
-
Creates a provider which looks up objects in JNDI using the given name.
- fromSuperclassTypeParameter(Class<?>) - Static method in class com.google.inject.TypeLiteral
-
Gets type literal from super class's type parameter.
G
- generateAnnotation(Class<T>) - Static method in class com.google.inject.internal.Annotations
-
Generates an Annotation for the annotation class.
- generateAnnotationImpl(Class<T>) - Static method in class com.google.inject.internal.Annotations
- generateConstructorInvoker(MethodVisitor, Constructor<?>) - Method in class com.google.inject.internal.aop.AbstractGlueGenerator
-
Generate invoker that takes a context and an argument array and calls the constructor.
- generateConstructorInvoker(MethodVisitor, Constructor<?>) - Method in class com.google.inject.internal.aop.Enhancer
- generateConstructorInvoker(MethodVisitor, Constructor<?>) - Method in class com.google.inject.internal.aop.FastClass
- GENERATED_SOURCE - Static variable in class com.google.inject.internal.aop.AbstractGlueGenerator
- GeneratedClassDefiner - Class in com.google.inject.internal.aop
-
ClassDefiner
that defines classes using a generated access function. - GeneratedClassDefiner(BiFunction<ClassLoader, byte[], Class<?>>) - Constructor for class com.google.inject.internal.aop.GeneratedClassDefiner
- generateGlue(Collection<Executable>) - Method in class com.google.inject.internal.aop.AbstractGlueGenerator
-
Generates enhancer/fast-class bytecode for the given constructors/methods.
- generateGlue(Collection<Executable>) - Method in class com.google.inject.internal.aop.Enhancer
- generateGlue(Collection<Executable>) - Method in class com.google.inject.internal.aop.FastClass
- generateMethodInvoker(MethodVisitor, Method) - Method in class com.google.inject.internal.aop.AbstractGlueGenerator
-
Generate invoker that takes an instance and an argument array and calls the method.
- generateMethodInvoker(MethodVisitor, Method) - Method in class com.google.inject.internal.aop.Enhancer
- generateMethodInvoker(MethodVisitor, Method) - Method in class com.google.inject.internal.aop.FastClass
- generateProvider(TypeLiteral<P>, Optional<T>, InvocationHandler) - Static method in class com.google.inject.throwingproviders.CheckedProviders
- generateProvider(Class<P>, Optional<T>, InvocationHandler) - Static method in class com.google.inject.throwingproviders.CheckedProviders
- generateTrampoline(ClassWriter, Collection<Executable>) - Method in class com.google.inject.internal.aop.AbstractGlueGenerator
-
Generate trampoline that takes an index, along with a context object and array of argument objects, and invokes the appropriate constructor/method returning the result as an object.
- generateVirtualBridge(ClassWriter, Method, Method) - Method in class com.google.inject.internal.aop.Enhancer
-
Override the original bridge method and replace it with virtual dispatch to the target.
- GenericArrayTypeImpl(Type) - Constructor for class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
- GenericErrorDetail - Class in com.google.inject.internal
-
Generic error message representing a Guice internal error.
- GenericErrorDetail(ErrorId, String, List<Object>, Throwable) - Constructor for class com.google.inject.internal.GenericErrorDetail
- get() - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- get() - Method in class com.google.inject.assistedinject.FactoryProvider2
- get() - Method in interface com.google.inject.internal.Initializable
-
Ensures the reference is initialized, then returns it.
- get() - Method in class com.google.inject.internal.Initializer.InjectableReference
-
Reentrant.
- get() - Method in class com.google.inject.internal.InjectorShell.InjectorFactory
- get() - Method in class com.google.inject.internal.InjectorShell.LoggerFactory
- get() - Method in class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
- get() - Method in class com.google.inject.internal.ProviderToInternalFactoryAdapter
- get() - Method in class com.google.inject.jndi.JndiIntegration.JndiProvider
- get() - Method in interface com.google.inject.Provider
-
Provides an instance of
T
. - get() - Method in class com.google.inject.servlet.FilterDefinition
- get() - Method in class com.google.inject.servlet.InternalServletModule.BackwardsCompatibleServletContextProvider
- get() - Method in class com.google.inject.servlet.ServletDefinition
- get() - Method in interface com.google.inject.throwingproviders.CheckedProvider
- get() - Method in class com.google.inject.throwingproviders.CheckedProviderMethod
- get() - Method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule.LogProvider
- get() - Method in interface com.google.inject.throwingproviders.ThrowingProvider
-
Deprecated.
- get() - Method in class com.google.inject.util.Providers.ConstantProvider
- get() - Method in class com.google.inject.util.Providers.GuicifiedProvider
- get(Binding<T>) - Method in class com.google.inject.internal.ProvisionListenerCallbackStore
-
Returns a new
ProvisionListenerStackCallback
for the key ornull
if there are no listeners - get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.BoundProviderFactory
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.ConstantFactory
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.ConstructorBindingImpl.Factory
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.ExposedKeyFactory
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.FactoryProxy
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InjectorShell.InjectorFactory
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InjectorShell.LoggerFactory
- get(InternalContext, Dependency<?>, boolean) - Method in interface com.google.inject.internal.InternalFactory
-
Creates an object to be injected.
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InternalFactoryToInitializableAdapter
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InternalFactoryToProviderAdapter
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InternalProviderInstanceBindingImpl.CyclicFactory
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
- get(InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.ProvidedByInternalFactory
- get(Key<T>) - Static method in class com.google.inject.spi.Dependency
-
Returns a new dependency that is not attached to an injection point.
- get(UriPatternType, String) - Static method in enum class com.google.inject.servlet.UriPatternType
- get(InjectionPoint, Errors) - Method in class com.google.inject.internal.ConstructorInjectorStore
-
Returns a new complete constructor injector with injection listeners registered.
- get(TypeLiteral<T>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type.
- get(TypeLiteral<T>, Errors) - Method in class com.google.inject.internal.MembersInjectorStore
-
Returns a new complete members injector with injection listeners registered.
- get(TypeLiteral<T>, Annotation) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation.
- get(TypeLiteral<T>, Class<? extends Annotation>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation type.
- get(Class<T>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type.
- get(Class<T>) - Static method in class com.google.inject.TypeLiteral
-
Gets type literal for the given
Class
instance. - get(Class<T>, Key.AnnotationStrategy) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation strategy.
- get(Class<T>, Annotation) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation.
- get(Class<T>, Class<? extends Annotation>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation type.
- get(Type) - Static method in class com.google.inject.Key
-
Gets a key for an injection type.
- get(Type) - Static method in class com.google.inject.TypeLiteral
-
Gets type literal for the given
Type
instance. - get(Type, Annotation) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation.
- get(Type, Class<? extends Annotation>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation type.
- get(StackTraceElement[]) - Method in class com.google.inject.internal.util.SourceProvider
-
Returns the calling line of code.
- get(K, Errors) - Method in class com.google.inject.internal.FailableCache
- GET_INSTANCE_VISITOR - Static variable in class com.google.inject.spi.Elements
- GET_OBJECT_METHOD - Static variable in class com.google.inject.internal.aop.HiddenClassDefiner
- getActualBinding() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- getActualBinding() - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- getActualBinding() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- getActualBinding() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
Returns the actual binding (set by
OptionalBinder.setBinding()
) or null if not set. - getActualTypeArguments() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- getAddedAspects() - Method in class com.google.inject.internal.MembersInjectorImpl
- getAliasCreator() - Method in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- getAll(InternalContext, SingleParameterInjector<?>[]) - Static method in class com.google.inject.internal.SingleParameterInjector
-
Returns an array of parameter values.
- getAllBindings() - Method in interface com.google.inject.Injector
-
Returns a snapshot of this injector's bindings, both explicit and just-in-time.
- getAllBindings() - Method in class com.google.inject.internal.InjectorImpl
- getAllBindings() - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getAllInjectionPoints() - Method in class com.google.inject.internal.MembersInjectorStore
- getAllMembersInjectorInjectionPoints() - Method in interface com.google.inject.Injector
-
Returns the injection points created for calls to
Injector.getMembersInjector(com.google.inject.TypeLiteral<T>)
(either directly or indirectly, e.g. - getAllMembersInjectorInjectionPoints() - Method in class com.google.inject.internal.InjectorImpl
- getAllMembersInjectorInjectionPoints() - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getAllModules(ElementSource) - Static method in class com.google.inject.spi.BindingSourceRestriction
- getAllParameters() - Method in class com.google.inject.assistedinject.AssistedConstructor
- getAllPermits(ElementSource) - Static method in class com.google.inject.spi.BindingSourceRestriction
-
Get all permits on the element source chain.
- getAllScanners() - Method in class com.google.inject.spi.Elements.RecordingBinder
-
Get all scanners registered in this binder and its ancestors.
- getAlternateKeys() - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- getAlternateKeys() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- getAlternateKeys() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
Returns the keys of other bindings that represent this OptionalBinder.
- getAlternateMapKeys() - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- getAlternateMapKeys() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the keys of other bindings that represent this map.
- getAlternateSetKeys() - Method in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- getAlternateSetKeys() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns the keys of other bindings that represent this set.
- getAnnotation() - Method in class com.google.inject.internal.ProviderMethod
- getAnnotation() - Method in class com.google.inject.Key.AnnotationInstanceStrategy
- getAnnotation() - Method in interface com.google.inject.Key.AnnotationStrategy
- getAnnotation() - Method in class com.google.inject.Key.AnnotationTypeStrategy
- getAnnotation() - Method in class com.google.inject.Key
-
Gets the annotation instance if available.
- getAnnotation() - Method in enum class com.google.inject.Key.NullAnnotationStrategy
- getAnnotation() - Method in interface com.google.inject.spi.ProvidesMethodBinding
-
Returns the annotation that caused this binding to be created.
- getAnnotation(Binder, Method) - Method in class com.google.inject.internal.ProviderMethodsModule
-
Returns the annotation that is claimed by the scanner, or null if there is none.
- getAnnotationName() - Method in class com.google.inject.Key
- getAnnotationName(Key<?>) - Method in interface com.google.inject.grapher.NameFactory
- getAnnotationName(Key<?>) - Method in class com.google.inject.grapher.ShortNameFactory
- getAnnotations(Field) - Method in class com.google.inject.internal.KotlinSupport.KotlinUnsupported
- getAnnotations(Field) - Method in interface com.google.inject.internal.KotlinSupportInterface
-
Returns an array of
Annotation
s on the field's Kotlin property (if applicable). - getAnnotations(Field) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns all the annotations on a field.
- getAnnotationType() - Method in class com.google.inject.Key.AnnotationInstanceStrategy
- getAnnotationType() - Method in interface com.google.inject.Key.AnnotationStrategy
- getAnnotationType() - Method in class com.google.inject.Key.AnnotationTypeStrategy
- getAnnotationType() - Method in class com.google.inject.Key
-
Gets the annotation type.
- getAnnotationType() - Method in enum class com.google.inject.Key.NullAnnotationStrategy
- getAnnotationType() - Method in class com.google.inject.spi.ScopeBinding
- getArguments() - Method in class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
- getArrowHead() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- getArrowString(List<ArrowType>) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- getArrowTail() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- getAspects() - Method in class com.google.inject.internal.EncounterImpl
- getAssistedMethods() - Method in interface com.google.inject.assistedinject.AssistedInjectBinding
-
Returns an
AssistedMethod
for each method in the factory. - getAssistedMethods() - Method in class com.google.inject.assistedinject.FactoryProvider2
- getAssistedParameters() - Method in class com.google.inject.assistedinject.AssistedConstructor
-
Returns the
ParameterListKey
for this constructor. - getAtInject(AnnotatedElement) - Static method in class com.google.inject.spi.InjectionPoint
- getAttribute(String) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest
- getAttrString(Map<String, String>) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- getBinding() - Method in class com.google.inject.internal.AbstractBindingBuilder
- getBinding() - Method in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
- getBinding() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- getBinding() - Method in class com.google.inject.spi.ProvisionListener.ProvisionInvocation
-
Returns the Binding this is provisioning.
- getBinding(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the binding for the given injection key.
- getBinding(Key<T>) - Method in class com.google.inject.internal.InjectorImpl
-
Returns the binding for
key
- getBinding(Key<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getBinding(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the binding for the given type.
- getBinding(Class<T>) - Method in class com.google.inject.internal.InjectorImpl
- getBinding(Class<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getBindingAnnotation(Annotation[]) - Method in class com.google.inject.assistedinject.Parameter
-
Returns the unique binding annotation from the specified list, or
null
if there are none. - getBindingData() - Method in class com.google.inject.internal.InjectorImpl
- getBindingForType(Type) - Method in class com.google.inject.assistedinject.Parameter
- getBindingFromNewInjector(Method, Object[], FactoryProvider2.AssistData) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
Creates a child injector that binds the args, and returns the binding for the method's result.
- getBindingMatcher() - Method in class com.google.inject.spi.ProvisionListenerBinding
-
Returns the binding matcher which chooses which bindings the listener should be notified of.
- getBindingName() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- getBindingOrThrow(Key<T>, Errors, InjectorImpl.JitLimitation) - Method in class com.google.inject.internal.InjectorImpl
-
Gets a binding implementation.
- getBindings() - Method in class com.google.inject.assistedinject.BindingCollector
- getBindings() - Method in interface com.google.inject.Injector
-
Returns this injector's explicit bindings.
- getBindings() - Method in class com.google.inject.internal.InjectorImpl
- getBindings() - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getBindings() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getBindings(Injector, Set<Key<?>>) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Returns the bindings for the root keys and their transitive dependencies.
- getBindingSelection() - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- getBindingSelection() - Method in class com.google.inject.internal.RealMapBinder.RealMapProvider
- getCause() - Method in class com.google.inject.spi.ErrorDetail
- getCause() - Method in class com.google.inject.spi.Message
-
Returns the throwable that caused this message, or
null
if this message was not caused by a throwable. - getClassMatcher() - Method in class com.google.inject.spi.InterceptorBinding
- getClassName() - Method in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- getClassName(Key<?>) - Method in interface com.google.inject.grapher.NameFactory
- getClassName(Key<?>) - Method in class com.google.inject.grapher.ShortNameFactory
- getClassOptional(Optional<?>) - Static method in class com.google.inject.throwingproviders.CheckedProviders
- getCollectionOfJavaxProvidersKey() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getCollectionOfProvidersKey() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getConstructionContext(Object) - Method in class com.google.inject.internal.InternalContext
- getConstructionProxy() - Method in class com.google.inject.internal.ConstructorInjector
- getConstructor() - Method in interface com.google.inject.internal.ConstructionProxy
-
Returns the injected constructor.
- getConstructor() - Method in class com.google.inject.internal.ConstructorBindingImpl
- getConstructor() - Method in class com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy
- getConstructor() - Method in class com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy
- getConstructor() - Method in class com.google.inject.internal.ProxyFactory.ProxyConstructor
- getConstructor() - Method in interface com.google.inject.spi.ConstructorBinding
-
Gets the constructor this binding injects.
- getContext(Key<?>) - Static method in class com.google.inject.servlet.GuiceFilter
- getContextRelativePath(HttpServletRequest) - Static method in class com.google.inject.servlet.ServletUtils
-
Gets the context path relative path of the URI.
- getConverter(String, TypeLiteral<?>, Errors, Object) - Method in class com.google.inject.internal.InjectorBindingData
- getConvertersThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getCookies() - Method in class com.google.inject.servlet.ContinuingHttpServletRequest
- getCurrentReference() - Method in class com.google.inject.internal.ConstructionContext
- getCustomClassLoadingOption() - Static method in class com.google.inject.internal.InternalFlags
- getDeclaredExceptions() - Method in class com.google.inject.assistedinject.AssistedConstructor
- getDeclaredFields(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
- getDeclaredFields(Class<?>) - Static method in class com.google.inject.internal.DeclaredMembers
- getDeclaredMethods(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
- getDeclaredMethods(Class<?>) - Static method in class com.google.inject.internal.DeclaredMembers
- getDeclaringSource() - Method in class com.google.inject.spi.ElementSource
-
Returns a single location in source code that defines the element.
- getDeclaringType() - Method in class com.google.inject.spi.InjectionPoint
-
Returns the generic type that defines this injection point.
- getDefaultBinding() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- getDefaultBinding() - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- getDefaultBinding() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- getDefaultBinding() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
Returns the default binding (set by
OptionalBinder.setDefault()
) if one exists or null if no default binding is set. - getDelegate() - Method in class com.google.inject.spi.MembersInjectorLookup
-
Returns the delegate members injector, or
null
if it has not yet been initialized. - getDelegate() - Method in class com.google.inject.spi.ProviderLookup
-
Returns the delegate provider, or
null
if it has not yet been initialized. - getDelegateModuleClass() - Method in class com.google.inject.internal.ProviderMethodsModule
- getDependencies() - Method in interface com.google.inject.assistedinject.AssistedMethod
-
Returns all non-assisted dependencies required to construct and inject the implementation.
- getDependencies() - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- getDependencies() - Method in class com.google.inject.assistedinject.FactoryProvider2.AssistData
- getDependencies() - Method in class com.google.inject.assistedinject.FactoryProvider2
- getDependencies() - Method in class com.google.inject.internal.ConstructorBindingImpl
- getDependencies() - Method in class com.google.inject.internal.ExposedBindingImpl
- getDependencies() - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- getDependencies() - Method in class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- getDependencies() - Method in class com.google.inject.internal.InstanceBindingImpl
- getDependencies() - Method in class com.google.inject.internal.LinkedBindingImpl
- getDependencies() - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- getDependencies() - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- getDependencies() - Method in class com.google.inject.internal.ProviderMethod
- getDependencies() - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- getDependencies() - Method in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider
- getDependencies() - Method in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
- getDependencies() - Method in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- getDependencies() - Method in class com.google.inject.internal.RealMapBinder.RealMapProvider
- getDependencies() - Method in class com.google.inject.internal.RealMapBinder.RealProviderMapProvider
- getDependencies() - Method in class com.google.inject.internal.RealMultibinder.BaseFactory
- getDependencies() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getDependencies() - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- getDependencies() - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProviderProvider
- getDependencies() - Method in class com.google.inject.internal.RealOptionalBinder.RealDirectTypeProvider
- getDependencies() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- getDependencies() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalProviderProvider
- getDependencies() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns a singleton set containing only the converted key.
- getDependencies() - Method in interface com.google.inject.spi.HasDependencies
-
Returns the known dependencies for this type.
- getDependencies() - Method in class com.google.inject.spi.InjectionPoint
-
Returns the dependencies for this injection point.
- getDependencies() - Method in class com.google.inject.throwingproviders.CheckedProviderMethod
- getDependencies() - Method in class com.google.inject.util.Providers.GuicifiedProviderWithDependencies
- getDependencies(InjectionPoint, TypeLiteral<?>) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
Calculates all dependencies required by the implementation and constructor.
- getDependency() - Method in class com.google.inject.internal.InternalContext
- getDependency() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
-
Returns the Dependency for the target binding, throws NoSuchElementException if no target exists.
- getDependency() - Method in class com.google.inject.spi.ProviderLookup
- getDirectKey() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- getDuplicateKeysMessage(Key<Map<K, V>>, Multimap<K, Binding<V>>) - Static method in class com.google.inject.internal.DuplicateMapKeyError
- getEdgeAttributes(GraphvizEdge) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- getEdgeCreator() - Method in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- getEdgeEndPoint(String, String, CompassPoint) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- getEdges(Iterable<Binding<?>>) - Method in class com.google.inject.grapher.DefaultEdgeCreator
- getEdges(Iterable<Binding<?>>) - Method in interface com.google.inject.grapher.EdgeCreator
-
Returns edges for the given dependency graph.
- getElements() - Method in interface com.google.inject.Injector
-
Returns the elements that make up this injector.
- getElements() - Method in class com.google.inject.internal.InjectorImpl
- getElements() - Method in class com.google.inject.internal.InjectorShell
- getElements() - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getElements() - Method in class com.google.inject.internal.PrivateElementsImpl
- getElements() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getElements() - Method in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- getElements() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns all bindings that make up the set.
- getElements() - Method in interface com.google.inject.spi.PrivateElements
-
Returns the configuration information in this private environment.
- getElements(Module...) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by
modules
. - getElements(Stage, Module...) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by
modules
. - getElements(Stage, Iterable<? extends Module>) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by
modules
. - getElements(Iterable<? extends Module>) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by
modules
. - getElementsMutable() - Method in class com.google.inject.internal.PrivateElementsImpl
- getElementSource() - Method in class com.google.inject.spi.Elements.RecordingBinder
- getElementTypeLiteral() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getElementTypeLiteral() - Method in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- getElementTypeLiteral() - Method in class com.google.inject.internal.RealMultibinder
- getElementTypeLiteral() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns the TypeLiteral that describes the type of elements in the set.
- getEnclosingInstance() - Method in class com.google.inject.internal.ProviderMethod
- getEnclosingInstance() - Method in interface com.google.inject.spi.ProvidesMethodBinding
-
Returns the instance of the object the method is defined in.
- getEnhanceableMethods() - Method in class com.google.inject.internal.aop.EnhancerBuilderImpl
- getEnhanceableMethods() - Method in interface com.google.inject.internal.BytecodeGen.EnhancerBuilder
-
Lists the methods in the host class that can be enhanced.
- getEntries() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getEntries() - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- getEntries() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns all entries in the Map.
- getEntries(Iterable<? extends Element>) - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- getEntries(Iterable<? extends Element>) - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Similar to
MapBinderBinding.getEntries()
, but can be used on a MapBinderBinding retrieved fromElements.getElements(com.google.inject.Module...)
. - getEntrySetBinder() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getEntrySetJavaxProviderKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getErrorDetail() - Method in class com.google.inject.spi.Message
-
Returns details about this error message.
- getErrorIdentifier() - Method in class com.google.inject.internal.InternalErrorDetail
- getErrorIdentifier() - Method in class com.google.inject.spi.ErrorDetail
-
Returns an optional string identifier for this error.
- getErrorMessages() - Method in exception class com.google.inject.ConfigurationException
-
Returns messages for the errors that caused this exception.
- getErrorMessages() - Method in exception class com.google.inject.CreationException
-
Returns messages for the errors that caused this exception.
- getErrorMessages() - Method in exception class com.google.inject.ProvisionException
-
Returns messages for the errors that caused this exception.
- getErrors() - Method in exception class com.google.inject.internal.ErrorsException
- getErrors() - Method in exception class com.google.inject.internal.InternalProvisionException
- getExceptionType(Class<P>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
Returns the exception type declared to be thrown by the get method of
interfaceType
. - getExceptionTypes() - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- getExceptionTypes(Member) - Method in class com.google.inject.TypeLiteral
-
Returns the resolved generic exception types thrown by
constructor
. - getExistingBinding(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the binding if it already exists, or null if does not exist.
- getExistingBinding(Key<T>) - Method in class com.google.inject.internal.InjectorImpl
- getExistingBinding(Key<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getExplicitBinding(Key<T>) - Method in class com.google.inject.internal.InjectorBindingData
- getExplicitBindingsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getExposedKeys() - Method in class com.google.inject.internal.PrivateElementsImpl
- getExposedKeys() - Method in interface com.google.inject.spi.PrivateElements
-
Returns the unique exposed keys for these private elements.
- getExposedSource(Key<?>) - Method in class com.google.inject.internal.PrivateElementsImpl
- getExposedSource(Key<?>) - Method in interface com.google.inject.spi.PrivateElements
-
Returns an arbitrary object containing information about the "place" where this key was exposed.
- getFactoryMethod() - Method in interface com.google.inject.assistedinject.AssistedMethod
-
Returns the factory method that is being assisted.
- getFactoryMethod() - Method in class com.google.inject.assistedinject.FactoryProvider2.AssistData
- getFields() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- getFieldType(Field) - Method in class com.google.inject.TypeLiteral
-
Returns the resolved generic type of
field
. - getFileString(StackTraceElement) - Method in class com.google.inject.grapher.ShortNameFactory
- getFilter() - Method in class com.google.inject.servlet.FilterDefinition
- getFilterIfMatching(HttpServletRequest) - Method in class com.google.inject.servlet.FilterDefinition
- getFilterInstance() - Method in interface com.google.inject.servlet.InstanceFilterBinding
-
Returns the filter instance that will be used.
- getFilterInstance() - Method in class com.google.inject.servlet.InstanceFilterBindingImpl
- getFilterPipeline() - Method in class com.google.inject.servlet.GuiceFilter
- getFiltersModuleBuilder() - Method in class com.google.inject.servlet.ServletModule
- getFirstLine() - Method in class com.google.inject.internal.util.LineNumbers
-
Gets the first line number.
- getFromClassNames(List<String>) - Method in class com.google.inject.internal.util.SourceProvider
-
Returns the non-skipped module class name.
- getFromId() - Method in class com.google.inject.grapher.Alias
- getFromId() - Method in class com.google.inject.grapher.Edge
- getGenericComponentType() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
- getGenericSupertype(Type, Class<?>, Class<?>) - Static method in class com.google.inject.internal.MoreTypes
-
Returns the generic supertype for
type
. - getGraphAttributes() - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- getHeadCompassPoint() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- getHeaderBackgroundColor() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- getHeaderTextColor() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- getHeadNodeId() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- getHeadPortId() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- getId() - Method in class com.google.inject.grapher.Node
- getIdentifier() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- getImplementationConstructor() - Method in interface com.google.inject.assistedinject.AssistedMethod
-
Returns the constructor that will be used to construct instances of the implementation.
- getImplementationConstructor() - Method in class com.google.inject.assistedinject.FactoryProvider2.AssistData
- getImplementationType() - Method in interface com.google.inject.assistedinject.AssistedMethod
-
Returns the implementation type that will be created when the method is used.
- getImplementationType() - Method in class com.google.inject.assistedinject.FactoryProvider2.AssistData
- getIncludeStackTraceOption() - Static method in class com.google.inject.internal.InternalFlags
- getIndexedExplicitBindings() - Method in class com.google.inject.internal.InjectorBindingData
- getInitializationTiming() - Method in class com.google.inject.internal.InternalProviderInstanceBindingImpl
- getInitParams() - Method in class com.google.inject.servlet.AbstractServletModuleBinding
- getInitParams() - Method in interface com.google.inject.servlet.ServletModuleBinding
-
Returns any context params supplied when creating the binding.
- getInjectableMembers() - Method in class com.google.inject.internal.ConstructorBindingImpl
- getInjectableMembers() - Method in class com.google.inject.internal.ConstructorInjector
- getInjectableMembers() - Method in interface com.google.inject.spi.ConstructorBinding
-
Returns all instance method and field injection points on
type
. - getInjectionListeners() - Method in class com.google.inject.internal.EncounterImpl
- getInjectionPoint() - Method in class com.google.inject.grapher.DependencyEdge
- getInjectionPoint() - Method in interface com.google.inject.internal.ConstructionProxy
-
Returns the injection point for this constructor.
- getInjectionPoint() - Method in class com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy
- getInjectionPoint() - Method in class com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy
- getInjectionPoint() - Method in class com.google.inject.internal.ProxyFactory.ProxyConstructor
- getInjectionPoint() - Method in class com.google.inject.internal.SingleFieldInjector
- getInjectionPoint() - Method in interface com.google.inject.internal.SingleMemberInjector
- getInjectionPoint() - Method in class com.google.inject.internal.SingleMethodInjector
- getInjectionPoint() - Method in class com.google.inject.spi.Dependency
-
Returns the injection point to which this dependency belongs, or null if this dependency isn't attached to a particular injection point.
- getInjectionPoints() - Method in class com.google.inject.internal.InstanceBindingImpl
- getInjectionPoints() - Method in class com.google.inject.internal.MembersInjectorImpl
- getInjectionPoints() - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- getInjectionPoints() - Method in class com.google.inject.spi.InjectionRequest
-
Returns the instance methods and fields of
instance
that will be injected to fulfill this request. - getInjectionPoints() - Method in interface com.google.inject.spi.InstanceBinding
-
Returns the field and method injection points of the instance, injected at injector-creation time only.
- getInjectionPoints() - Method in class com.google.inject.spi.MembersInjectorLookup
-
Returns the instance methods and fields that will be injected to fulfill this request.
- getInjectionPoints() - Method in interface com.google.inject.spi.ProviderInstanceBinding
-
Returns the field and method injection points of the provider, injected at injector-creation time only.
- getInjectionPoints() - Method in class com.google.inject.spi.StaticInjectionRequest
-
Returns the static methods and fields of
type
that will be injected to fulfill this request. - getInjectionPoints(TypeLiteral<?>, boolean, Errors) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns an ordered, immutable set of injection points for the given type.
- getInjectionRequestsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getInjector() - Method in class com.google.inject.internal.BindingImpl
- getInjector() - Method in class com.google.inject.internal.InjectorShell
- getInjector() - Method in class com.google.inject.internal.PrivateElementsImpl
- getInjector() - Method in class com.google.inject.internal.ProviderToInternalFactoryAdapter
-
Exposed for SingletonScope.
- getInjector() - Method in class com.google.inject.servlet.GuiceServletContextListener
-
Override this method to create (or otherwise obtain a reference to) your injector.
- getInjector() - Method in interface com.google.inject.spi.PrivateElements
-
Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector.
- getInjector(LinkedKeyBinding<?>) - Static method in class com.google.inject.Scopes
- getInjectorOptions() - Method in class com.google.inject.internal.InternalContext
- getInjectors(Set<InjectionPoint>, Errors) - Method in class com.google.inject.internal.MembersInjectorStore
-
Returns the injectors for the specified injection points.
- getInjectorShellBuilders() - Method in class com.google.inject.internal.PrivateElementProcessor
- getInputStream() - Method in class com.google.inject.servlet.ContinuingHttpServletRequest
- getInstance() - Method in class com.google.inject.grapher.InstanceNode
- getInstance() - Method in class com.google.inject.internal.InstanceBindingImpl
- getInstance() - Static method in class com.google.inject.internal.KotlinSupport
- getInstance() - Method in class com.google.inject.internal.ProviderMethod
- getInstance() - Method in class com.google.inject.spi.InjectionRequest
-
Returns the instance that injection is being requested on.
- getInstance() - Method in interface com.google.inject.spi.InstanceBinding
-
Returns the user-supplied instance.
- getInstance(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the appropriate instance for the given injection key; equivalent to
getProvider(key).get()
. - getInstance(Key<T>) - Method in class com.google.inject.internal.InjectorImpl
- getInstance(Key<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getInstance(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the appropriate instance for the given injection type; equivalent to
getProvider(type).get()
. - getInstance(Class<T>) - Method in class com.google.inject.internal.InjectorImpl
- getInstance(Class<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getInstanceName(Object) - Method in interface com.google.inject.grapher.NameFactory
- getInstanceName(Object) - Method in class com.google.inject.grapher.ShortNameFactory
- getInstanceVisitor() - Static method in class com.google.inject.spi.Elements
- getInterceptorBindings() - Method in class com.google.inject.internal.InjectorBindingData
- getInterceptorBindingsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getInterceptors() - Method in class com.google.inject.internal.ProxyFactory
-
Returns the interceptors that apply to the constructed type.
- getInterceptors() - Method in class com.google.inject.spi.InterceptorBinding
- getInternalConstructor() - Method in class com.google.inject.internal.ConstructorBindingImpl
-
Returns an injection point that can be used to clean up the constructor store.
- getInternalDependencies() - Method in class com.google.inject.internal.ConstructorBindingImpl
-
Returns a set of dependencies that can be iterated over to clean up stray JIT bindings.
- getInternalDependencies(BindingImpl<?>) - Method in class com.google.inject.internal.InjectorImpl
-
Safely gets the dependencies of possibly not initialized bindings.
- getInternalFactory() - Method in class com.google.inject.internal.BindingImpl
- getInternalFactory(Key<T>, Errors, InjectorImpl.JitLimitation) - Method in class com.google.inject.internal.InjectorImpl
- getIsParameterKotlinNullablePredicate(Constructor<?>) - Method in class com.google.inject.internal.KotlinSupport.KotlinUnsupported
- getIsParameterKotlinNullablePredicate(Constructor<?>) - Method in interface com.google.inject.internal.KotlinSupportInterface
-
Returns a
Predicate
that says whether the constructor's i-th parameter is Kotlin-nullable. - getIsParameterKotlinNullablePredicate(Method) - Method in class com.google.inject.internal.KotlinSupport.KotlinUnsupported
- getIsParameterKotlinNullablePredicate(Method) - Method in interface com.google.inject.internal.KotlinSupportInterface
-
Returns a
Predicate
that says whether the method's i-th parameter is Kotlin-nullable. - getJavaxProviderCollectionMultimapKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getJavaxProviderMapKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getJavaxProviderSetMultimapKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getJitBinding(Key<?>) - Method in class com.google.inject.internal.InjectorJitBindingData
- getJitBindingData() - Method in class com.google.inject.internal.InjectorImpl
- getJitBindings() - Method in class com.google.inject.internal.InjectorJitBindingData
- getJustInTimeBinding(Key<T>, Errors, InjectorImpl.JitLimitation) - Method in class com.google.inject.internal.InjectorImpl
-
Returns a just-in-time binding for
key
, creating it if necessary. - getKey() - Method in interface com.google.inject.assistedinject.AssistedInjectBinding
-
Returns the
Key
for the factory binding. - getKey() - Method in class com.google.inject.assistedinject.FactoryProvider2
- getKey() - Method in interface com.google.inject.Binding
-
Returns the key for this binding.
- getKey() - Method in class com.google.inject.grapher.NodeId
- getKey() - Method in class com.google.inject.internal.BindingImpl
- getKey() - Method in class com.google.inject.internal.ExposureBuilder
- getKey() - Method in class com.google.inject.internal.ProviderMethod
- getKey() - Method in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- getKey() - Method in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- getKey() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- getKey() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
Returns the
Key
for this binding. - getKey() - Method in class com.google.inject.servlet.ServletDefinition
- getKey() - Method in class com.google.inject.spi.Dependency
-
Returns the key to the binding that satisfies this dependency.
- getKey() - Method in class com.google.inject.spi.ProviderLookup
- getKey() - Method in interface com.google.inject.spi.ProvidesMethodBinding
-
Returns the key of the binding.
- getKey() - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- getKey() - Method in class com.google.inject.tools.jmx.ManagedBinding
- getKey() - Method in interface com.google.inject.tools.jmx.ManagedBindingMBean
-
Gets the binding key.
- getKey(Errors, TypeLiteral<T>, Member, Annotation[]) - Method in class com.google.inject.internal.ProviderMethodsModule
- getKey(Errors, TypeLiteral<T>, Member, Annotation[]) - Method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- getKey(TypeLiteral<?>, Member, Annotation[], Errors) - Static method in class com.google.inject.internal.Annotations
-
Gets a key for the given type, member and annotations.
- getKeyForActualBinding() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- getKeyForActualBinding() - Method in class com.google.inject.internal.RealOptionalBinder
-
Returns the key to use for the actual binding, overrides the default if set.
- getKeyForDefaultBinding() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- getKeyForDefaultBinding() - Method in class com.google.inject.internal.RealOptionalBinder
-
Returns the key to use for the default binding.
- getKeyForNewItem() - Method in class com.google.inject.internal.RealMultibinder
-
Adds a new entry to the set and returns the key for it.
- getKeyForNewValue(K) - Method in class com.google.inject.internal.RealMapBinder
-
Adds a binding to the map for the given key.
- getKeyOfProvider(Key<T>) - Static method in class com.google.inject.internal.RealMapBinder
-
Given a Key
will return a Keyinvalid input: '<'Provider > - getKeyType() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getKeyTypeLiteral() - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- getKeyTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the TypeLiteral describing the keys of the map.
- getLearnMoreLink() - Method in class com.google.inject.internal.InternalErrorDetail
- getLearnMoreLink() - Method in class com.google.inject.spi.ErrorDetail
-
Returns an optional link to additional documentation about this error to be included in the formatted error message.
- getLineNumber() - Method in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- getLineNumber(Member) - Method in class com.google.inject.internal.util.LineNumbers
-
Get the line number associated with the given member.
- getLinkedKey() - Method in class com.google.inject.internal.LinkedBindingImpl
- getLinkedKey() - Method in interface com.google.inject.servlet.LinkedFilterBinding
-
Returns the key used to lookup the filter instance.
- getLinkedKey() - Method in class com.google.inject.servlet.LinkedFilterBindingImpl
- getLinkedKey() - Method in interface com.google.inject.servlet.LinkedServletBinding
-
Returns the key used to lookup the servlet instance.
- getLinkedKey() - Method in class com.google.inject.servlet.LinkedServletBindingImpl
- getLinkedKey() - Method in interface com.google.inject.spi.LinkedKeyBinding
-
Returns the linked key used to resolve injections.
- getListener() - Method in class com.google.inject.spi.TypeListenerBinding
-
Returns the registered listener.
- getListeners() - Method in class com.google.inject.spi.ProvisionListenerBinding
-
Returns the registered listeners.
- getLocalContext() - Method in class com.google.inject.internal.InjectorImpl
-
Only to be called by the
SingletonScope
provider. - getLowerBounds() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
- getMapBindings() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getMapKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getMapKey() - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- getMapKey() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the
Key
for the map. - getMapOfKeyExtendsValueKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getMember() - Method in class com.google.inject.spi.InjectionPoint
-
Returns the injected constructor, field, or method.
- getMemberInjectors() - Method in class com.google.inject.internal.MembersInjectorImpl
- getMemberName(Member) - Method in interface com.google.inject.grapher.NameFactory
- getMemberName(Member) - Method in class com.google.inject.grapher.ShortNameFactory
- getMembers() - Method in class com.google.inject.grapher.ImplementationNode
- getMembers() - Method in class com.google.inject.grapher.InstanceNode
- getMembersInjector() - Method in class com.google.inject.spi.MembersInjectorLookup
-
Returns the looked up members injector.
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.AbstractModule
- getMembersInjector(TypeLiteral<T>) - Method in interface com.google.inject.Binder
-
Returns the members injector used to inject dependencies into methods and fields on instances of the given type
T
. - getMembersInjector(TypeLiteral<T>) - Method in interface com.google.inject.Injector
-
Returns the members injector used to inject dependencies into methods and fields on instances of the given type
T
. - getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.internal.DeferredLookups
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.internal.EncounterImpl
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.internal.InjectorImpl
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getMembersInjector(TypeLiteral<T>) - Method in interface com.google.inject.internal.Lookups
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.PrivateModule
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- getMembersInjector(TypeLiteral<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the members injector used to inject dependencies into methods and fields on instances of the given type
T
. - getMembersInjector(Class<T>) - Method in class com.google.inject.AbstractModule
- getMembersInjector(Class<T>) - Method in interface com.google.inject.Binder
-
Returns the members injector used to inject dependencies into methods and fields on instances of the given type
T
. - getMembersInjector(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the members injector used to inject dependencies into methods and fields on instances of the given type
T
. - getMembersInjector(Class<T>) - Method in class com.google.inject.internal.EncounterImpl
- getMembersInjector(Class<T>) - Method in class com.google.inject.internal.InjectorImpl
- getMembersInjector(Class<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getMembersInjector(Class<T>) - Method in class com.google.inject.PrivateModule
- getMembersInjector(Class<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- getMembersInjector(Class<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the members injector used to inject dependencies into methods and fields on instances of the given type
T
. - getMembersInjectorLookupsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getMembersInjectors() - Method in class com.google.inject.internal.EncounterImpl
- getMessage() - Method in exception class com.google.inject.ConfigurationException
- getMessage() - Method in exception class com.google.inject.CreationException
- getMessage() - Method in exception class com.google.inject.ProvisionException
- getMessage() - Method in class com.google.inject.spi.ErrorDetail
- getMessage() - Method in class com.google.inject.spi.Message
-
Gets the error message text.
- getMessages() - Method in class com.google.inject.internal.Errors
- getMessagesFromThrowable(Throwable) - Static method in class com.google.inject.internal.Errors
- getMethod() - Method in class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
- getMethod() - Method in class com.google.inject.internal.ProviderMethod
- getMethod() - Method in interface com.google.inject.spi.ProvidesMethodBinding
-
Returns the method this binding uses.
- getMethodInterceptors() - Method in interface com.google.inject.internal.ConstructionProxy
-
Returns the interceptors applied to each method, in order of invocation.
- getMethodInterceptors() - Method in class com.google.inject.internal.ConstructorBindingImpl
- getMethodInterceptors() - Method in class com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy
- getMethodInterceptors() - Method in class com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy
- getMethodInterceptors() - Method in class com.google.inject.internal.ProxyFactory.ProxyConstructor
- getMethodInterceptors() - Method in interface com.google.inject.spi.ConstructorBinding
-
Returns the interceptors applied to each method, in the order that they will be applied.
- getMethodMatcher() - Method in class com.google.inject.spi.InterceptorBinding
- getMethodName() - Method in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- getMethodString(Method) - Method in class com.google.inject.grapher.ShortNameFactory
- getMissingImplementationSuggestion(GuiceInternal, Key<?>) - Static method in class com.google.inject.spi.BindingSourceRestriction
-
Returns a suggestion for how a restricted binding should be created in case it's missing.
- getModule(Iterable<? extends Element>) - Static method in class com.google.inject.spi.Elements
-
Returns the module composed of
elements
. - getModuleClassName() - Method in class com.google.inject.spi.ModuleSource
-
Returns the corresponding module class name.
- getModuleClassNames() - Method in class com.google.inject.spi.ElementSource
-
Returns the class names of modules involved in creating this
Element
. - getModuleClassNames() - Method in class com.google.inject.spi.ModuleSource
-
Returns the class names of modules in this module source.
- getModuleSource(Class<?>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- getModuleStack(ElementSource) - Static method in class com.google.inject.internal.SourceFormatter
- getMultimapBindings() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getMultimapKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getNodeAttributes(GraphvizNode) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- getNodeCreator() - Method in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- getNodeId() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- getNodeLabel(GraphvizNode) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
-
Creates the "label" for a node.
- getNodes(Iterable<Binding<?>>) - Method in class com.google.inject.grapher.DefaultNodeCreator
- getNodes(Iterable<Binding<?>>) - Method in interface com.google.inject.grapher.NodeCreator
-
Returns nodes for the given dependency graph.
- getNullableProvidesOption() - Static method in class com.google.inject.internal.InternalFlags
- getOnlyCause(Collection<Message>) - Static method in class com.google.inject.internal.Messages
-
Returns the cause throwable if there is exactly one cause in
messages
. - getOptions(Stage, InjectorImpl.InjectorOptions) - Method in class com.google.inject.internal.InjectorOptionsProcessor
- getOrdinalSuffix(int) - Static method in class com.google.inject.internal.SourceFormatter
-
Maps
1
to the string"1st"
ditto for all non-negative numbers - getOriginalElementSource() - Method in class com.google.inject.spi.ElementSource
-
Returns the
ElementSource
of the element this was created or copied from. - getOriginalPattern() - Method in interface com.google.inject.servlet.UriPatternMatcher
-
Returns the original pattern that was registered.
- getOriginalPattern() - Method in class com.google.inject.servlet.UriPatternType.RegexUriPatternMatcher
- getOriginalPattern() - Method in class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher
- getOriginalRequest() - Method in class com.google.inject.servlet.GuiceFilter.Context
- getOriginalRequest(Key<?>) - Static method in class com.google.inject.servlet.GuiceFilter
- getOrThrow() - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.Result
- getOverridableObjectMethods() - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Cache common overridable Object methods.
- getOwnerType() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- getParameterIndex() - Method in class com.google.inject.spi.Dependency
-
Returns the index of this dependency in the injection point's parameter list, or
-1
if this dependency does not belong to a parameter list. - getParameterInjectors() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getParameterName(Dependency<?>) - Static method in class com.google.inject.internal.SourceFormatter
- getParametersInjectors(List<Dependency<?>>, Errors) - Method in class com.google.inject.internal.InjectorImpl
-
Returns parameter injectors, or
null
if there are no parameters. - getParameterTypes(Member) - Method in class com.google.inject.TypeLiteral
-
Returns the resolved generic parameter types of
methodOrConstructor
. - getParent() - Method in interface com.google.inject.Injector
-
Returns this injector's parent, or
null
if this is a top-level injector. - getParent() - Method in class com.google.inject.internal.InjectorImpl
- getParent() - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getParent() - Method in class com.google.inject.spi.ModuleSource
-
Returns the parent module
source
. - getPartialValue() - Method in exception class com.google.inject.ConfigurationException
-
Returns a value that was only partially computed due to this exception.
- getPattern() - Method in class com.google.inject.servlet.AbstractServletModuleBinding
- getPattern() - Method in interface com.google.inject.servlet.ServletModuleBinding
-
Returns the pattern used to match against the binding.
- getPatternType() - Method in interface com.google.inject.servlet.UriPatternMatcher
-
Returns the type of pattern this is.
- getPatternType() - Method in class com.google.inject.servlet.UriPatternType.RegexUriPatternMatcher
- getPatternType() - Method in class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher
- getPermitDuplicatesKey() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getPermitMap() - Method in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
-
Returns a possibly unfinished map.
- getPermitMap() - Method in class com.google.inject.spi.ModuleSource
-
Returns the permit map created by the binder that installed this module.
- getPermits(ElementSource) - Method in interface com.google.inject.spi.BindingSourceRestriction.PermitMap
- getPermits(ElementSource) - Method in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction.PermitMapImpl
- getPermits(Class<?>) - Static method in class com.google.inject.spi.BindingSourceRestriction
- getPortId(Member) - Method in interface com.google.inject.grapher.graphviz.PortIdFactory
- getPortId(Member) - Method in class com.google.inject.grapher.graphviz.PortIdFactoryImpl
- getPrimaryBindingKey() - Method in class com.google.inject.assistedinject.Parameter
- getPrivateElements() - Method in class com.google.inject.internal.ExposedBindingImpl
- getPrivateElements() - Method in interface com.google.inject.spi.ExposedBinding
-
Returns the enclosed environment that holds the original binding.
- getProvidedKey() - Method in class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- getProvidedKey() - Method in interface com.google.inject.spi.ProviderBinding
-
Returns the key whose binding is used to
provide instances
. - getProvidedKey(Key<Provider<T>>, Errors) - Static method in class com.google.inject.internal.InjectorImpl
- getProvidedType(Type) - Method in class com.google.inject.assistedinject.Parameter
- getProvider() - Method in interface com.google.inject.Binding
-
Returns the scoped provider guice uses to fulfill requests for this binding.
- getProvider() - Method in class com.google.inject.internal.BindingImpl
- getProvider() - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- getProvider() - Method in class com.google.inject.spi.ProviderLookup
-
Returns the looked up provider.
- getProvider() - Method in class com.google.inject.tools.jmx.ManagedBinding
- getProvider() - Method in interface com.google.inject.tools.jmx.ManagedBindingMBean
-
Gets the provider to which this binding is bound.
- getProvider(Key<T>) - Method in class com.google.inject.AbstractModule
- getProvider(Key<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Key<T>) - Method in class com.google.inject.internal.DeferredLookups
- getProvider(Key<T>) - Method in class com.google.inject.internal.EncounterImpl
- getProvider(Key<T>) - Method in class com.google.inject.internal.InjectorImpl
- getProvider(Key<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getProvider(Key<T>) - Method in interface com.google.inject.internal.Lookups
- getProvider(Key<T>) - Method in class com.google.inject.PrivateModule
- getProvider(Key<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- getProvider(Key<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Dependency<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Dependency<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- getProvider(Class<T>) - Method in class com.google.inject.AbstractModule
- getProvider(Class<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection type.
- getProvider(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the provider used to obtain instances for the given type.
- getProvider(Class<T>) - Method in class com.google.inject.internal.EncounterImpl
- getProvider(Class<T>) - Method in class com.google.inject.internal.InjectorImpl
- getProvider(Class<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getProvider(Class<T>) - Method in class com.google.inject.PrivateModule
- getProvider(Class<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
- getProvider(Class<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the provider used to obtain instances for the given injection type.
- getProviderCollectionMultimapKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getProviderDependencies() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getProviderInstance() - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- getProviderInstance() - Method in interface com.google.inject.spi.ProviderInstanceBinding
-
Deprecated.Use
ProviderInstanceBinding.getUserSuppliedProvider()
instead. - getProviderKey() - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- getProviderKey() - Method in interface com.google.inject.spi.ProviderKeyBinding
-
Returns the key used to resolve the provider's binding.
- getProviderLookupsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getProviderMapKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getProviderMethods(Binder) - Method in class com.google.inject.internal.ProviderMethodsModule
- getProviderMethods(Binder) - Method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- getProviderOrThrow(Dependency<T>, Errors) - Method in class com.google.inject.internal.InjectorImpl
- getProviderSetMultimapKey() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getProvisionListenerBindings() - Method in class com.google.inject.internal.InjectorBindingData
- getProvisionListenerBindingsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getRawType() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- getRawType() - Method in class com.google.inject.Key
- getRawType() - Method in class com.google.inject.TypeLiteral
-
Returns the raw (non-generic) type for this type.
- getRawType(Type) - Static method in class com.google.inject.internal.MoreTypes
- getRequest() - Method in class com.google.inject.servlet.GuiceFilter.Context
- getRequest(Key<?>) - Static method in class com.google.inject.servlet.GuiceFilter
- getRequestDispatcher(String) - Method in class com.google.inject.servlet.ManagedServletPipeline
- getRequestURI() - Method in class com.google.inject.servlet.ManagedServletPipeline.RequestDispatcherRequestWrapper
- getRequestURL() - Method in class com.google.inject.servlet.ManagedServletPipeline.RequestDispatcherRequestWrapper
- getResponse() - Method in class com.google.inject.servlet.GuiceFilter.Context
- getResponse(Key<?>) - Static method in class com.google.inject.servlet.GuiceFilter
- getRestriction(Key<?>) - Static method in class com.google.inject.spi.BindingSourceRestriction
- getReturnType(Method) - Method in class com.google.inject.TypeLiteral
-
Returns the resolved generic return type of
method
. - getRootKeys(Injector) - Method in class com.google.inject.grapher.DefaultRootKeySetCreator
- getRootKeys(Injector) - Method in interface com.google.inject.grapher.RootKeySetCreator
-
Returns the set of starting keys to graph.
- getRootKeySetCreator() - Method in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- getRootMessage(Throwable) - Static method in class com.google.inject.internal.MessageProcessor
- getScanner() - Method in class com.google.inject.internal.ProviderMethodsModule
- getScanner() - Method in class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
- getScannerBindings() - Method in class com.google.inject.internal.InjectorBindingData
- getScannerBindingsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getScope() - Method in class com.google.inject.spi.ScopeBinding
- getScopeAnnotation() - Method in class com.google.inject.internal.Scoping
-
Returns the scope annotation, or
null
if that isn't known for this instance. - getScopeBinding(Class<? extends Annotation>) - Method in class com.google.inject.internal.InjectorBindingData
- getScopeBindings() - Method in interface com.google.inject.Injector
-
Returns a map containing all scopes in the injector.
- getScopeBindings() - Method in class com.google.inject.internal.InjectorImpl
- getScopeBindings() - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getScopeBindingsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getScopeInstance() - Method in class com.google.inject.internal.Scoping
-
Returns the scope instance, or
null
if that isn't known for this instance. - getScopeInstanceOrNull(Binding<?>) - Method in class com.google.inject.util.Modules.OverrideModule
- getScopes() - Method in class com.google.inject.internal.InjectorBindingData
- getScoping() - Method in class com.google.inject.internal.BindingImpl
- getServletContext() - Static method in class com.google.inject.servlet.GuiceFilter
- getServletContext() - Method in class com.google.inject.servlet.ServletModule
-
This method only works if you are using the GuiceServletContextListener to create your injector.
- getServletInstance() - Method in interface com.google.inject.servlet.InstanceServletBinding
-
Returns the servlet instance that will be used.
- getServletInstance() - Method in class com.google.inject.servlet.InstanceServletBindingImpl
- getServletModuleBuilder() - Method in class com.google.inject.servlet.ServletModule
- getSession() - Method in class com.google.inject.servlet.ContinuingHttpServletRequest
- getSession(boolean) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest
- getSetKey() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getSetKey() - Method in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- getSetKey() - Method in class com.google.inject.internal.RealMultibinder
- getSetKey() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns the key for the set.
- getSetName() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getSetName() - Method in class com.google.inject.internal.RealMultibinder
- getSetOfExtendsKey() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- getShape() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- getSharedTypeArguments(ParameterizedType) - Static method in class com.google.inject.internal.MoreTypes
-
This method is used as a performance optimization to prevent unnecessary clones of typeArguments from being made by ParameterizedTypeImpl.
- getSource() - Method in class com.google.inject.grapher.Node
- getSource() - Method in class com.google.inject.internal.BindingImpl
- getSource() - Method in class com.google.inject.internal.ExposureBuilder
- getSource() - Method in class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
-
The binding source.
- getSource() - Method in class com.google.inject.internal.PrivateElementsImpl
- getSource() - Method in class com.google.inject.internal.util.LineNumbers
-
Get the source file name as read from the bytecode.
- getSource() - Method in class com.google.inject.spi.DisableCircularProxiesOption
- getSource() - Method in interface com.google.inject.spi.Element
-
Returns an arbitrary object containing information about the "place" where this element was configured.
- getSource() - Method in class com.google.inject.spi.InjectionRequest
- getSource() - Method in class com.google.inject.spi.InterceptorBinding
- getSource() - Method in class com.google.inject.spi.MembersInjectorLookup
- getSource() - Method in class com.google.inject.spi.Message
- getSource() - Method in class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
- getSource() - Method in class com.google.inject.spi.ProviderLookup
- getSource() - Method in class com.google.inject.spi.ProvisionListenerBinding
- getSource() - Method in class com.google.inject.spi.RequireAtInjectOnConstructorsOption
- getSource() - Method in class com.google.inject.spi.RequireExactBindingAnnotationsOption
- getSource() - Method in class com.google.inject.spi.RequireExplicitBindingsOption
- getSource() - Method in class com.google.inject.spi.ScopeBinding
- getSource() - Method in class com.google.inject.spi.StaticInjectionRequest
- getSource() - Method in class com.google.inject.spi.TypeConverterBinding
- getSource() - Method in class com.google.inject.spi.TypeListenerBinding
- getSource() - Method in class com.google.inject.tools.jmx.ManagedBinding
- getSource() - Method in interface com.google.inject.tools.jmx.ManagedBindingMBean
-
Gets the source of this binding.
- getSourceKey() - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- getSourceKey() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns the key for the source binding.
- getSourceName(Object) - Method in interface com.google.inject.grapher.NameFactory
- getSourceName(Object) - Method in class com.google.inject.grapher.ShortNameFactory
-
Returns a name for a Guice "source" object.
- getSources() - Method in class com.google.inject.internal.Errors
- getSources() - Method in class com.google.inject.spi.ErrorDetail
- getSources() - Method in class com.google.inject.spi.Message
- getSources(Key<?>) - Method in class com.google.inject.internal.WeakKeySet
- getSourcesForBannedKey(Key<?>) - Method in class com.google.inject.internal.InjectorJitBindingData
-
Returns the source of a banned key.
- getStage() - Method in class com.google.inject.internal.InjectorShell.Builder
- getStaticInjectionRequestsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getStaticPart() - Method in class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
- getStyle() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- getStyle() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- getSubtitles() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- getSuggestions(Key<T>, Injector) - Static method in class com.google.inject.internal.MissingImplementationErrorHints
- getSuperclassTypeParameter(Class<?>) - Static method in class com.google.inject.TypeLiteral
-
Returns the type from super class's type parameter in
canonical form
. - getSupertype(Class<?>) - Method in class com.google.inject.TypeLiteral
-
Returns the generic form of
supertype
. - getSystemOption(String, T) - Static method in class com.google.inject.internal.InternalFlags
-
Gets the system option indicated by the specified key; runs as a privileged action.
- getSystemOption(String, T, T) - Static method in class com.google.inject.internal.InternalFlags
-
Gets the system option indicated by the specified key; runs as a privileged action.
- getTailCompassPoint() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- getTailNodeId() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- getTailPortId() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- getTarget() - Method in class com.google.inject.servlet.AbstractServletModuleBinding
- getThis() - Method in class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
- getTitle() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- getToId() - Method in class com.google.inject.grapher.Alias
- getToId() - Method in class com.google.inject.grapher.Edge
- getType() - Method in class com.google.inject.assistedinject.Parameter
- getType() - Method in class com.google.inject.grapher.BindingEdge
- getType() - Method in class com.google.inject.spi.InjectionRequest
- getType() - Method in class com.google.inject.spi.MembersInjectorLookup
-
Gets the type containing the members to be injected.
- getType() - Method in class com.google.inject.spi.StaticInjectionRequest
- getType() - Method in class com.google.inject.TypeLiteral
-
Gets underlying
Type
instance. - getTypeConverter() - Method in class com.google.inject.spi.TypeConverterBinding
- getTypeConverterBinding() - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- getTypeConverterBinding() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns the type converter binding used to convert the constant.
- getTypeConverterBindings() - Method in interface com.google.inject.Injector
-
Returns a set containing all type converter bindings in the injector.
- getTypeConverterBindings() - Method in class com.google.inject.internal.InjectorImpl
- getTypeConverterBindings() - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- getTypeListenerBindings() - Method in class com.google.inject.internal.InjectorBindingData
- getTypeListenerBindingsThisLevel() - Method in class com.google.inject.internal.InjectorBindingData
- getTypeLiteral() - Method in class com.google.inject.Key
-
Gets the key type.
- getTypeMatcher() - Method in class com.google.inject.spi.TypeConverterBinding
- getTypeMatcher() - Method in class com.google.inject.spi.TypeListenerBinding
-
Returns the type matcher which chooses which types the listener should be notified of.
- getUpperBounds() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
- getUri(String) - Static method in enum class com.google.inject.servlet.UriPatternType
- getUriPatternType() - Method in class com.google.inject.servlet.AbstractServletModuleBinding
- getUriPatternType() - Method in interface com.google.inject.servlet.ServletModuleBinding
-
Returns the pattern type that this binding was created with.
- getUserSuppliedProvider() - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- getUserSuppliedProvider() - Method in interface com.google.inject.spi.ProviderInstanceBinding
-
Returns the user-supplied, unscoped provider.
- getValue() - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- getValue() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns the converted value.
- getValue(Injector) - Method in class com.google.inject.assistedinject.Parameter
-
Returns the Guice
Key
for this parameter. - getValueKey() - Method in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- getValueType() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- getValueTypeLiteral() - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- getValueTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the TypeLiteral describing the values of the map.
- getViolationMessage(Key<?>, String, ImmutableSet<Class<? extends Annotation>>, boolean) - Static method in class com.google.inject.spi.BindingSourceRestriction
- glue(NavigableMap<String, Executable>) - Method in class com.google.inject.internal.aop.AbstractGlueGenerator
-
Generates the enhancer/fast-class and returns a mapping from signature to invoker.
- GlueException - Exception Class in com.google.inject.internal.aop
-
Thrown when errors occur defining enhancer/fast-class glue.
- GlueException(String, Throwable) - Constructor for exception class com.google.inject.internal.aop.GlueException
- graph(Injector) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
- graph(Injector) - Method in interface com.google.inject.grapher.InjectorGrapher
-
Graphs the guice dependency graph for the given injector using default starting keys.
- graph(Injector, Set<Key<?>>) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
- graph(Injector, Set<Key<?>>) - Method in interface com.google.inject.grapher.InjectorGrapher
-
Graphs the guice dependency graph for the given injector using the given starting keys and their transitive dependencies.
- GrapherParameters() - Constructor for class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- Graphviz - Annotation Interface in com.google.inject.grapher.graphviz
-
Annotation for types used by the graphviz grapher.
- GraphvizEdge - Class in com.google.inject.grapher.graphviz
-
Data object to encapsulate the attributes of Graphviz edges that we're interested in drawing.
- GraphvizEdge(NodeId, NodeId) - Constructor for class com.google.inject.grapher.graphviz.GraphvizEdge
- GraphvizGrapher - Class in com.google.inject.grapher.graphviz
-
InjectorGrapher
implementation that writes out a Graphviz DOT file of the graph. - GraphvizGrapher(NameFactory, PortIdFactory) - Constructor for class com.google.inject.grapher.graphviz.GraphvizGrapher
- GraphvizModule - Class in com.google.inject.grapher.graphviz
-
Module that provides classes needed by
GraphvizGrapher
. - GraphvizModule() - Constructor for class com.google.inject.grapher.graphviz.GraphvizModule
- GraphvizNode - Class in com.google.inject.grapher.graphviz
-
Data object to encapsulate the attributes of Graphviz nodes that we're interested in drawing.
- GraphvizNode(NodeId) - Constructor for class com.google.inject.grapher.graphviz.GraphvizNode
- Guice - Class in com.google.inject
-
The entry point to the Guice framework.
- Guice() - Constructor for class com.google.inject.Guice
- GUICE_INTERNAL - Static variable in class com.google.inject.internal.GuiceInternal
- GUICE_INTERNAL_AOP_PACKAGE - Static variable in class com.google.inject.internal.InterceptorStackCallback
- GuiceFilter - Class in com.google.inject.servlet
-
Apply this filter in web.xml above all other filters (typically), to all requests where you plan to use servlet scopes.
- GuiceFilter() - Constructor for class com.google.inject.servlet.GuiceFilter
- GuiceFilter(FilterPipeline) - Constructor for class com.google.inject.servlet.GuiceFilter
- GuiceFilter.Context - Class in com.google.inject.servlet
- GuiceInternal - Class in com.google.inject.internal
-
Class used for restricting APIs in other packages to only be used by this package.
- GuiceInternal() - Constructor for class com.google.inject.internal.GuiceInternal
- GuiceServletContextListener - Class in com.google.inject.servlet
-
As of Guice 2.0 you can still use (your subclasses of)
GuiceServletContextListener
class as a logical place to create and configure your injector. - GuiceServletContextListener() - Constructor for class com.google.inject.servlet.GuiceServletContextListener
- GuicifiedProvider(Provider<T>) - Constructor for class com.google.inject.util.Providers.GuicifiedProvider
- GuicifiedProviderWithDependencies(Set<Dependency<?>>, Provider<T>) - Constructor for class com.google.inject.util.Providers.GuicifiedProviderWithDependencies
- guicify(Provider<T>) - Static method in class com.google.inject.util.Providers
-
Returns a Guice-friendly
com.google.inject.Provider
for the given JSR-330javax.inject.Provider
.
H
- handle(Message) - Method in interface com.google.inject.internal.ErrorHandler
-
Handles a user-reported error.
- handle(Object, Errors) - Method in interface com.google.inject.internal.ErrorHandler
-
Handles an error.
- HANDLER_ARRAY_TYPE - Static variable in class com.google.inject.internal.aop.Enhancer
- HANDLER_TYPE - Static variable in class com.google.inject.internal.aop.Enhancer
- HANDLERS_DESCRIPTOR - Static variable in class com.google.inject.internal.aop.Enhancer
- HANDLERS_NAME - Static variable in class com.google.inject.internal.aop.Enhancer
- HAS_ERRORS - Enum constant in enum class com.google.inject.internal.RealMapBinder.BindingSelection.InitializationState
- hasAnnotations - Variable in class com.google.inject.internal.Annotations.AnnotationChecker
-
Returns true if the given class has one of the desired annotations.
- hasAnnotations(Class<? extends Annotation>) - Method in class com.google.inject.internal.Annotations.AnnotationChecker
-
Returns true if the given type has one of the desired annotations.
- hasAnnotationType() - Method in class com.google.inject.Key
- hasAssistedAnnotation(Annotation[]) - Method in class com.google.inject.assistedinject.Parameter
- hasAttributes() - Method in class com.google.inject.Key.AnnotationInstanceStrategy
- hasAttributes() - Method in interface com.google.inject.Key.AnnotationStrategy
- hasAttributes() - Method in class com.google.inject.Key.AnnotationTypeStrategy
- hasAttributes() - Method in class com.google.inject.Key
-
Returns true if this key has annotation attributes.
- hasAttributes() - Method in enum class com.google.inject.Key.NullAnnotationStrategy
- HasDependencies - Interface in com.google.inject.spi
- hasErrors() - Method in class com.google.inject.internal.Errors
- hash - Variable in class com.google.inject.spi.InjectionPoint.Signature
- hashCode - Variable in class com.google.inject.internal.ProviderMethodsModule.Signature
- hashCode - Variable in class com.google.inject.Key
- hashCode - Variable in class com.google.inject.TypeLiteral
- hashCode() - Method in class com.google.inject.assistedinject.BindingCollector
- hashCode() - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- hashCode() - Method in class com.google.inject.assistedinject.FactoryProvider2
- hashCode() - Method in class com.google.inject.assistedinject.ParameterListKey
- hashCode() - Method in class com.google.inject.grapher.BindingEdge
- hashCode() - Method in class com.google.inject.grapher.DependencyEdge
- hashCode() - Method in class com.google.inject.grapher.Edge
- hashCode() - Method in class com.google.inject.grapher.ImplementationNode
- hashCode() - Method in class com.google.inject.grapher.InstanceNode
- hashCode() - Method in class com.google.inject.grapher.Node
- hashCode() - Method in class com.google.inject.grapher.NodeId
- hashCode() - Method in class com.google.inject.internal.ConstructorBindingImpl
- hashCode() - Method in class com.google.inject.internal.Indexer.IndexedBinding
- hashCode() - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- hashCode() - Method in class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- hashCode() - Method in class com.google.inject.internal.InstanceBindingImpl
- hashCode() - Method in class com.google.inject.internal.LinkedBindingImpl
- hashCode() - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- hashCode() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
- hashCode() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- hashCode() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
- hashCode() - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- hashCode() - Method in class com.google.inject.internal.ProviderMethod
- hashCode() - Method in class com.google.inject.internal.ProviderMethodsModule
- hashCode() - Method in class com.google.inject.internal.ProviderMethodsModule.Signature
- hashCode() - Method in class com.google.inject.internal.ProvisionListenerCallbackStore.KeyBinding
- hashCode() - Method in class com.google.inject.internal.RealElement
- hashCode() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- hashCode() - Method in class com.google.inject.internal.RealMapBinder
- hashCode() - Method in class com.google.inject.internal.RealMapBinder.MultimapBinder
- hashCode() - Method in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- hashCode() - Method in class com.google.inject.internal.RealMapBinder.RealMapBinderProviderWithDependencies
- hashCode() - Method in class com.google.inject.internal.RealMapBinder.RealMultimapBinderProviderWithDependencies
- hashCode() - Method in class com.google.inject.internal.RealMultibinder.BaseFactory
- hashCode() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- hashCode() - Method in class com.google.inject.internal.RealMultibinder
- hashCode() - Method in class com.google.inject.internal.RealMultibinder.PermitDuplicatesModule
- hashCode() - Method in class com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- hashCode() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- hashCode() - Method in class com.google.inject.internal.RealOptionalBinder
- hashCode() - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalBinderProviderWithDependencies
- hashCode() - Method in class com.google.inject.internal.Scoping
- hashCode() - Method in class com.google.inject.internal.UntargettedBindingImpl
- hashCode() - Method in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- hashCode() - Method in class com.google.inject.internal.WeakKeySet.KeyAndSource
- hashCode() - Method in class com.google.inject.Key.AnnotationInstanceStrategy
- hashCode() - Method in class com.google.inject.Key.AnnotationTypeStrategy
- hashCode() - Method in class com.google.inject.Key
- hashCode() - Method in class com.google.inject.matcher.AbstractMatcher.AndMatcher
- hashCode() - Method in class com.google.inject.matcher.AbstractMatcher.OrMatcher
- hashCode() - Method in class com.google.inject.matcher.Matchers.AnnotatedWith
- hashCode() - Method in class com.google.inject.matcher.Matchers.AnnotatedWithType
- hashCode() - Method in class com.google.inject.matcher.Matchers.IdenticalTo
- hashCode() - Method in class com.google.inject.matcher.Matchers.InPackage
- hashCode() - Method in class com.google.inject.matcher.Matchers.InSubpackage
- hashCode() - Method in class com.google.inject.matcher.Matchers.Not
- hashCode() - Method in class com.google.inject.matcher.Matchers.Only
- hashCode() - Method in class com.google.inject.matcher.Matchers.Returns
- hashCode() - Method in class com.google.inject.matcher.Matchers.SubclassesOf
- hashCode() - Method in class com.google.inject.multibindings.MapBinder
- hashCode() - Method in class com.google.inject.multibindings.Multibinder
- hashCode() - Method in class com.google.inject.multibindings.OptionalBinder
- hashCode() - Method in class com.google.inject.name.NamedImpl
- hashCode() - Method in class com.google.inject.servlet.InternalServletModule
- hashCode() - Method in class com.google.inject.spi.Dependency
- hashCode() - Method in class com.google.inject.spi.ErrorDetail
- hashCode() - Method in class com.google.inject.spi.InjectionPoint
- hashCode() - Method in class com.google.inject.spi.InjectionPoint.Signature
- hashCode() - Method in class com.google.inject.spi.InjectionRequest
- hashCode() - Method in class com.google.inject.spi.MembersInjectorLookup
- hashCode() - Method in class com.google.inject.spi.Message
- hashCode() - Method in class com.google.inject.spi.ProviderLookup
- hashCode() - Method in class com.google.inject.spi.StaticInjectionRequest
- hashCode() - Method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- hashCode() - Method in class com.google.inject.TypeLiteral
- hashCode() - Method in class com.google.inject.util.Providers.ConstantProvider
- hashCode() - Method in class com.google.inject.util.Providers.GuicifiedProvider
- hashCodeOrZero(Object) - Static method in class com.google.inject.internal.MoreTypes
- hasListeners() - Method in class com.google.inject.internal.ProvisionListenerStackCallback
- hasNullableAnnotation(Annotation[]) - Static method in class com.google.inject.internal.Nullability
-
Returns true if the given annotation array contains an annotation named
Nullable
. - hasPackageAccess() - Static method in class com.google.inject.internal.aop.ClassDefining
-
Returns true if the current class definer allows access to package-private members.
- hasServletsMapped() - Method in class com.google.inject.servlet.ManagedServletPipeline
- hasTypeListeners() - Method in class com.google.inject.internal.MembersInjectorStore
-
Returns true if any type listeners are installed.
- head - Variable in class com.google.inject.spi.InjectionPoint.InjectableMembers
- headCompassPoint - Variable in class com.google.inject.grapher.graphviz.GraphvizEdge
- headerBackgroundColor - Variable in class com.google.inject.grapher.graphviz.GraphvizNode
- headerTextColor - Variable in class com.google.inject.grapher.graphviz.GraphvizNode
- headNodeId - Variable in class com.google.inject.grapher.graphviz.GraphvizEdge
- headPortId - Variable in class com.google.inject.grapher.graphviz.GraphvizEdge
- hear(TypeLiteral<I>, TypeEncounter<I>) - Method in interface com.google.inject.spi.TypeListener
-
Invoked when Guice encounters a new type eligible for constructor or members injection.
- HIDDEN_CLASS_OPTIONS - Static variable in class com.google.inject.internal.aop.HiddenClassDefiner
- HIDDEN_DEFINE_METHOD - Static variable in class com.google.inject.internal.aop.HiddenClassDefiner
- HiddenClassDefiner - Class in com.google.inject.internal.aop
-
ClassDefiner
that defines classes usingMethodHandles.Lookup#defineHiddenClass
. - HiddenClassDefiner() - Constructor for class com.google.inject.internal.aop.HiddenClassDefiner
- hierarchyFor(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
- hostClass - Variable in class com.google.inject.internal.aop.AbstractGlueGenerator
- hostClass - Variable in class com.google.inject.internal.aop.EnhancerBuilderImpl
- hostIsInterface - Variable in class com.google.inject.internal.aop.FastClass
- hostName - Variable in class com.google.inject.internal.aop.AbstractGlueGenerator
- htmlEscape(String) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- htmlEscape(List<String>) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- httpServlet - Variable in class com.google.inject.servlet.ServletDefinition
I
- id - Variable in class com.google.inject.grapher.Node
- identicalTo(Object) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches only the given object.
- IdenticalTo(Object) - Constructor for class com.google.inject.matcher.Matchers.IdenticalTo
- identifier - Variable in class com.google.inject.grapher.graphviz.GraphvizNode
- IGNORE - Enum constant in enum class com.google.inject.internal.InternalFlags.NullableProvidesOption
-
Ignore null parameters to @Provides methods.
- ignoreSourceInComparisons - Static variable in class com.google.inject.grapher.Node
-
When set to true, the source object is ignored in
Node.equals(java.lang.Object)
andNode.hashCode()
. - ImmutableCookie(Cookie) - Constructor for class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
- ImmutableStringTrie - Class in com.google.inject.internal.aop
-
Immutable space-efficient trie that provides a quick lookup index for a sorted set of non empty strings.
- ImmutableStringTrie(char[]) - Constructor for class com.google.inject.internal.aop.ImmutableStringTrie
- ImmutableStringTrie.Overflow - Class in com.google.inject.internal.aop
-
Immutable trie that delegates searches that lie outside its range to an overflow trie.
- implement(Key<T>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(Key<T>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(TypeLiteral<T>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(TypeLiteral<T>, Annotation, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(TypeLiteral<T>, Annotation, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(TypeLiteral<T>, Class<? extends Annotation>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(TypeLiteral<T>, Class<? extends Annotation>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(TypeLiteral<T>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(Class<T>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(Class<T>, Annotation, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(Class<T>, Annotation, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(Class<T>, Class<? extends Annotation>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(Class<T>, Class<? extends Annotation>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - implement(Class<T>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
See the factory configuration examples at
FactoryModuleBuilder
. - IMPLEMENTATION_ALREADY_SET - Static variable in class com.google.inject.internal.AbstractBindingBuilder
- Implementation limitations - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- ImplementationNode - Class in com.google.inject.grapher
-
Node for types that have
Dependency
s and are bound toInterfaceNode
s. - ImplementationNode(NodeId, Object, Collection<Member>) - Constructor for class com.google.inject.grapher.ImplementationNode
- implementationType - Variable in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- implementationType - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
-
the type of the implementation constructed
- ImplementedBy - Annotation Interface in com.google.inject
-
A pointer to the default implementation of a type.
- in(Scope) - Method in interface com.google.inject.binder.ScopedBindingBuilder
-
See the EDSL examples at
Binder
. - in(Scope) - Method in class com.google.inject.internal.AbstractBindingBuilder
- in(Class<? extends Annotation>) - Method in interface com.google.inject.binder.ScopedBindingBuilder
-
See the EDSL examples at
Binder
. - in(Class<? extends Annotation>) - Method in class com.google.inject.internal.AbstractBindingBuilder
- INCLUDE_STACK_TRACES - Static variable in class com.google.inject.internal.InternalFlags
- includeMemberName - Variable in class com.google.inject.internal.Annotations.AnnotationToStringConfig
- IncludeStackTraceOption() - Constructor for enum class com.google.inject.internal.InternalFlags.IncludeStackTraceOption
- INDENT - Static variable in class com.google.inject.internal.SourceFormatter
- index - Variable in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
- index - Variable in class com.google.inject.servlet.FilterChainInvocation
- INDEX_TO_INVOKER_METHOD_TYPE - Static variable in class com.google.inject.internal.aop.Enhancer
- INDEX_TO_INVOKER_METHOD_TYPE - Static variable in class com.google.inject.internal.aop.FastClass
- indexBindingsByType() - Method in class com.google.inject.internal.InjectorBindingData
-
Once the injector's explicit bindings are finalized, this method is called to index all explicit bindings by their return type.
- IndexedBinding(Binding<?>, Indexer.BindingType, Object, Object) - Constructor for class com.google.inject.internal.Indexer.IndexedBinding
- indexedExplicitBindings - Variable in class com.google.inject.internal.InjectorBindingData
- indexElements(List<Binding<T>>, T[]) - Static method in class com.google.inject.internal.DuplicateElementError
- Indexer - Class in com.google.inject.internal
-
Visits bindings to return a
IndexedBinding
that can be used to emulate the binding deduplication that Guice internally performs. - Indexer(Injector) - Constructor for class com.google.inject.internal.Indexer
- Indexer.BindingType - Enum Class in com.google.inject.internal
- Indexer.IndexedBinding - Class in com.google.inject.internal
- indexOf(Object[], Object) - Static method in class com.google.inject.internal.MoreTypes
- InheritedScannersModule(InjectorBindingData) - Constructor for class com.google.inject.internal.InjectorShell.InheritedScannersModule
- init(FilterConfig) - Method in class com.google.inject.servlet.GuiceFilter
- init(ServletContext, Injector) - Method in class com.google.inject.servlet.ManagedServletPipeline
- init(ServletContext, Injector, Set<Filter>) - Method in class com.google.inject.servlet.FilterDefinition
- init(ServletContext, Injector, Set<HttpServlet>) - Method in class com.google.inject.servlet.ServletDefinition
- initializable - Variable in class com.google.inject.internal.ConstantFactory
- initializable - Variable in class com.google.inject.internal.InternalFactoryToInitializableAdapter
- Initializable<T> - Interface in com.google.inject.internal
-
Holds a reference that requires initialization to be performed before it can be used.
- Initializables - Class in com.google.inject.internal
- Initializables() - Constructor for class com.google.inject.internal.Initializables
- initializablesCache - Variable in class com.google.inject.internal.Initializer
-
Map that guarantees that no instance would get two references.
- Initialization Parameters - Search tag in com.google.inject.servlet.ServletModule.configureServlets()
- Section
- initializationState - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- InitializationState() - Constructor for enum class com.google.inject.internal.RealMapBinder.BindingSelection.InitializationState
- initializationTiming - Variable in class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
- InitializationTiming() - Constructor for enum class com.google.inject.internal.InternalProviderInstanceBindingImpl.InitializationTiming
- initialize(Injector) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
At injector-creation time, we initialize the invocation handler.
- initialize(Injector) - Method in class com.google.inject.util.Providers.GuicifiedProviderWithDependencies
- initialize(Errors) - Method in class com.google.inject.internal.DeferredLookups
-
Initialize the specified lookups, either immediately or when the injector is created.
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.ConstructorBindingImpl
- initialize(InjectorImpl, Errors) - Method in interface com.google.inject.internal.DelayedInitialize
-
Initializes this binding, throwing any errors if necessary.
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
-
A callback that allows for implementations to fetch dependencies on other bindings.
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.InternalProviderInstanceBindingImpl
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.ProvidedByInternalFactory
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.ProviderMethod
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.RealMapBinderProviderWithDependencies
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.RealMultimapBinderProviderWithDependencies
-
This will get the authoritative
RealMapBinder.BindingSelection
from the map provider. - initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMultibinder.BaseFactory
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealOptionalBinder.RealOptionalBinderProviderWithDependencies
- initializeBinding(BindingImpl<?>) - Method in class com.google.inject.internal.AbstractBindingProcessor.Processor
- initializeBinding(BindingImpl<T>, Errors) - Method in class com.google.inject.internal.InjectorImpl
- initializeBindings() - Method in class com.google.inject.internal.ProcessedBindingData
-
Initialize bindings.
- initialized - Variable in class com.google.inject.internal.DelegatingInvocationHandler
- initialized - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- initialized - Variable in class com.google.inject.servlet.ManagedFilterPipeline
- INITIALIZED - Enum constant in enum class com.google.inject.internal.RealMapBinder.BindingSelection.InitializationState
- initializeDelayedBindings() - Method in class com.google.inject.internal.ProcessedBindingData
-
Initialized bindings that need to be delayed until after all injection points and other bindings are processed.
- initializeDelegate(MembersInjector<T>) - Method in class com.google.inject.spi.MembersInjectorLookup
-
Sets the actual members injector.
- initializeDelegate(Provider<T>) - Method in class com.google.inject.spi.ProviderLookup
-
Sets the actual provider.
- initializeJitBinding(BindingImpl<T>, Errors) - Method in class com.google.inject.internal.InjectorImpl
- initializer - Variable in class com.google.inject.internal.BindingProcessor
- initializer - Variable in class com.google.inject.internal.InjectionRequestProcessor
- initializer - Variable in class com.google.inject.internal.InternalInjectorCreator
- Initializer - Class in com.google.inject.internal
-
Manages and injects instances at injector-creation time.
- Initializer() - Constructor for class com.google.inject.internal.Initializer
- Initializer.InjectableReference<T> - Class in com.google.inject.internal
- Initializer.InjectableReferenceState - Enum Class in com.google.inject.internal
- initializeStatically() - Method in class com.google.inject.internal.InternalInjectorCreator
-
Initialize and validate everything.
- initialValue() - Method in class com.google.inject.assistedinject.FactoryProvider2.ThreadLocalProvider
- initInjector(Injector) - Method in class com.google.inject.internal.PrivateElementsImpl
- initParams - Variable in class com.google.inject.servlet.AbstractServletModuleBinding
- initParams - Variable in class com.google.inject.servlet.FilterDefinition
- initParams - Variable in class com.google.inject.servlet.ServletDefinition
- initPipeline(ServletContext) - Method in class com.google.inject.servlet.DefaultFilterPipeline
- initPipeline(ServletContext) - Method in interface com.google.inject.servlet.FilterPipeline
- initPipeline(ServletContext) - Method in class com.google.inject.servlet.ManagedFilterPipeline
- inject(InternalContext) - Method in class com.google.inject.internal.SingleParameterInjector
- inject(InternalContext, Object) - Method in class com.google.inject.internal.SingleFieldInjector
- inject(InternalContext, Object) - Method in interface com.google.inject.internal.SingleMemberInjector
- inject(InternalContext, Object) - Method in class com.google.inject.internal.SingleMethodInjector
- Inject - Annotation Interface in com.google.inject
-
Annotates members of your implementation class (constructors, methods and fields) into which the
Injector
should inject values. - INJECT_ABSTRACT_METHOD - Enum constant in enum class com.google.inject.internal.ErrorId
- INJECT_FINAL_FIELD - Enum constant in enum class com.google.inject.internal.ErrorId
- INJECT_INNER_CLASS - Enum constant in enum class com.google.inject.internal.ErrorId
- INJECT_LOCAL_CLASS - Enum constant in enum class com.google.inject.internal.ErrorId
- INJECT_METHOD_WITH_TYPE_PARAMETER - Enum constant in enum class com.google.inject.internal.ErrorId
- INJECT_RAW_MEMBERS_INJECTOR - Enum constant in enum class com.google.inject.internal.ErrorId
- INJECT_RAW_PROVIDER - Enum constant in enum class com.google.inject.internal.ErrorId
- INJECT_RAW_TYPE_LITERAL - Enum constant in enum class com.google.inject.internal.ErrorId
- InjectableField(TypeLiteral<?>, Field, Annotation) - Constructor for class com.google.inject.spi.InjectionPoint.InjectableField
- InjectableMember(TypeLiteral<?>, Annotation) - Constructor for class com.google.inject.spi.InjectionPoint.InjectableMember
- injectableMembers - Variable in class com.google.inject.internal.ConstructorInjector
- injectableMembers - Variable in class com.google.inject.spi.InjectionPoint.OverrideIndex
- InjectableMembers() - Constructor for class com.google.inject.spi.InjectionPoint.InjectableMembers
- InjectableMethod(TypeLiteral<?>, Method, Annotation) - Constructor for class com.google.inject.spi.InjectionPoint.InjectableMethod
- InjectableReference(InjectorImpl, T, Key<T>, ProvisionListenerStackCallback<T>, Object, CycleDetectingLock<?>) - Constructor for class com.google.inject.internal.Initializer.InjectableReference
- InjectableReferenceState() - Constructor for enum class com.google.inject.internal.Initializer.InjectableReferenceState
- injectAll(Errors) - Method in class com.google.inject.internal.Initializer
-
Performs creation-time injections on all objects that require it.
- injectAndNotify(T, Key<T>, ProvisionListenerStackCallback<T>, Object, boolean) - Method in class com.google.inject.internal.MembersInjectorImpl
- injectDynamically() - Method in class com.google.inject.internal.InternalInjectorCreator
-
Inject everything that can be injected.
- injectedPipeline - Variable in class com.google.inject.servlet.GuiceFilter
-
We allow both the static and dynamic versions of the pipeline to exist.
- injectedServletContext - Variable in class com.google.inject.servlet.InternalServletModule.BackwardsCompatibleServletContextProvider
- INJECTING - Enum constant in enum class com.google.inject.internal.Initializer.InjectableReferenceState
- InjectionListener<I> - Interface in com.google.inject.spi
-
Listens for injections into instances of type
I
. - injectionListeners - Variable in class com.google.inject.internal.EncounterImpl
- injectionListeners - Variable in class com.google.inject.internal.MembersInjectorImpl
- injectionPoint - Variable in class com.google.inject.grapher.DependencyEdge
-
Injection point to which this dependency belongs, or null if the dependency isn't attached to a particular injection point.
- injectionPoint - Variable in class com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy
- injectionPoint - Variable in class com.google.inject.internal.DefaultConstructionProxyFactory
- injectionPoint - Variable in class com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy
- injectionPoint - Variable in class com.google.inject.internal.ProxyFactory
- injectionPoint - Variable in class com.google.inject.internal.ProxyFactory.ProxyConstructor
- injectionPoint - Variable in class com.google.inject.internal.SingleFieldInjector
- injectionPoint - Variable in class com.google.inject.internal.SingleMethodInjector
- injectionPoint - Variable in class com.google.inject.spi.Dependency
- InjectionPoint - Class in com.google.inject.spi
-
A constructor, field or method that can receive injections.
- InjectionPoint(TypeLiteral<?>, Constructor<?>) - Constructor for class com.google.inject.spi.InjectionPoint
- InjectionPoint(TypeLiteral<?>, Field, boolean) - Constructor for class com.google.inject.spi.InjectionPoint
- InjectionPoint(TypeLiteral<?>, Method, boolean) - Constructor for class com.google.inject.spi.InjectionPoint
- InjectionPoint.InjectableField - Class in com.google.inject.spi
- InjectionPoint.InjectableMember - Class in com.google.inject.spi
-
Node in the doubly-linked list of injectable members (fields and methods).
- InjectionPoint.InjectableMembers - Class in com.google.inject.spi
-
Linked list of injectable members.
- InjectionPoint.InjectableMethod - Class in com.google.inject.spi
- InjectionPoint.OverrideIndex - Class in com.google.inject.spi
-
Keeps track of injectable methods so we can remove methods that get overridden in O(1) time.
- InjectionPoint.Position - Enum Class in com.google.inject.spi
-
Position in type hierarchy.
- InjectionPoint.Signature - Class in com.google.inject.spi
-
A method signature.
- injectionPoints - Variable in class com.google.inject.internal.InstanceBindingImpl
- injectionPoints - Variable in class com.google.inject.internal.ProviderInstanceBindingImpl
- InjectionRequest<T> - Class in com.google.inject.spi
-
A request to inject the instance fields and methods of an instance.
- InjectionRequest(Object, TypeLiteral<T>, T) - Constructor for class com.google.inject.spi.InjectionRequest
- injectionRequestProcessor - Variable in class com.google.inject.internal.InternalInjectorCreator
- InjectionRequestProcessor - Class in com.google.inject.internal
-
Handles
Binder.requestInjection
andBinder.requestStaticInjection
commands. - InjectionRequestProcessor(Errors, Initializer) - Constructor for class com.google.inject.internal.InjectionRequestProcessor
- InjectionRequestProcessor.StaticInjection - Class in com.google.inject.internal
-
A requested static injection.
- injectionRequests - Variable in class com.google.inject.internal.InjectorBindingData
- injectMembers() - Method in class com.google.inject.internal.InjectionRequestProcessor
- injectMembers() - Method in class com.google.inject.internal.InjectionRequestProcessor.StaticInjection
- injectMembers(Object) - Method in interface com.google.inject.Injector
-
Injects dependencies into the fields and methods of
instance
. - injectMembers(Object) - Method in class com.google.inject.internal.InjectorImpl
- injectMembers(Object) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- injectMembers(T) - Method in class com.google.inject.internal.MembersInjectorImpl
- injectMembers(T) - Method in interface com.google.inject.MembersInjector
-
Injects dependencies into the fields and methods of
instance
. - injectMembers(T, InternalContext, boolean) - Method in class com.google.inject.internal.MembersInjectorImpl
- injector - Variable in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- injector - Variable in class com.google.inject.assistedinject.FactoryProvider2
-
the hosting injector, or null if we haven't been initialized yet
- injector - Variable in class com.google.inject.internal.AbstractProcessor
- injector - Variable in class com.google.inject.internal.BindingImpl
- injector - Variable in class com.google.inject.internal.BoundProviderFactory
- injector - Variable in class com.google.inject.internal.ConstructorInjectorStore
- injector - Variable in class com.google.inject.internal.DeferredLookups
- injector - Variable in class com.google.inject.internal.FactoryProxy
- injector - Variable in class com.google.inject.internal.Indexer
- injector - Variable in class com.google.inject.internal.Initializer.InjectableReference
- injector - Variable in class com.google.inject.internal.InjectionRequestProcessor.StaticInjection
- injector - Variable in class com.google.inject.internal.InjectorShell
- injector - Variable in class com.google.inject.internal.InjectorShell.InjectorFactory
- injector - Variable in class com.google.inject.internal.MembersInjectorImpl
- injector - Variable in class com.google.inject.internal.MembersInjectorStore
- injector - Variable in class com.google.inject.internal.PrivateElementsImpl
- injector - Variable in class com.google.inject.internal.ProviderToInternalFactoryAdapter
- injector - Variable in class com.google.inject.servlet.ManagedFilterPipeline
- Injector - Interface in com.google.inject
-
Builds the graphs of objects that make up your application.
- INJECTOR_NAME - Static variable in class com.google.inject.servlet.GuiceServletContextListener
- InjectorBindingData - Class in com.google.inject.internal
-
A container that stores an injector's binding data.
- InjectorBindingData(Optional<InjectorBindingData>) - Constructor for class com.google.inject.internal.InjectorBindingData
- InjectorFactory(Injector) - Constructor for class com.google.inject.internal.InjectorShell.InjectorFactory
- InjectorGrapher - Interface in com.google.inject.grapher
-
Guice injector grapher.
- InjectorImpl - Class in com.google.inject.internal
-
Default
Injector
implementation. - InjectorImpl(InjectorImpl, InjectorBindingData, InjectorJitBindingData, InjectorImpl.InjectorOptions) - Constructor for class com.google.inject.internal.InjectorImpl
- InjectorImpl.ConvertedConstantBindingImpl<T> - Class in com.google.inject.internal
- InjectorImpl.InjectorOptions - Class in com.google.inject.internal
-
Options that control how the injector behaves.
- InjectorImpl.JitLimitation - Enum Class in com.google.inject.internal
-
some limitations on what just in time bindings are allowed.
- InjectorImpl.MethodInvoker - Interface in com.google.inject.internal
-
Invokes a method.
- InjectorImpl.SyntheticProviderBindingImpl<T> - Class in com.google.inject.internal
-
A framework-created JIT Provider
binding. - InjectorJitBindingData - Class in com.google.inject.internal
-
A container for most just-in-time (JIT) binding data corresponding to an Injector.
- InjectorJitBindingData(Optional<InjectorJitBindingData>) - Constructor for class com.google.inject.internal.InjectorJitBindingData
- InjectorOptions(Stage, boolean, boolean, boolean, boolean) - Constructor for class com.google.inject.internal.InjectorImpl.InjectorOptions
- InjectorOptionsProcessor - Class in com.google.inject.internal
-
A processor to gather injector options.
- InjectorOptionsProcessor(Errors) - Constructor for class com.google.inject.internal.InjectorOptionsProcessor
- injectors - Variable in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider.PerKeyData
- injectors - Variable in class com.google.inject.internal.RealMapBinder.RealMapProvider
-
An array of all the injectors.
- injectors - Variable in class com.google.inject.internal.RealMultibinder.RealMultibinderProvider
- InjectorShell - Class in com.google.inject.internal
-
InjectorShell is used by
InternalInjectorCreator
to recursively create a tree of uninitializedInjector
s. - InjectorShell(List<Element>, InjectorImpl) - Constructor for class com.google.inject.internal.InjectorShell
- InjectorShell.Builder - Class in com.google.inject.internal
- InjectorShell.InheritedScannersModule - Class in com.google.inject.internal
- InjectorShell.InjectorFactory - Class in com.google.inject.internal
- InjectorShell.LoggerFactory - Class in com.google.inject.internal
- InjectorShell.RootModule - Class in com.google.inject.internal
- injectorShellBuilders - Variable in class com.google.inject.internal.PrivateElementProcessor
- InMemoryStackTraceElement(StackTraceElement) - Constructor for class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- InMemoryStackTraceElement(String, String, int) - Constructor for class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- inPackage(Package) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches classes in the given package.
- InPackage(Package) - Constructor for class com.google.inject.matcher.Matchers.InPackage
- install(Module) - Method in class com.google.inject.AbstractModule
- install(Module) - Method in interface com.google.inject.Binder
-
Uses the given module to configure more bindings.
- install(Module) - Method in class com.google.inject.PrivateModule
- install(Module) - Method in class com.google.inject.spi.Elements.RecordingBinder
- instance - Variable in class com.google.inject.grapher.InstanceNode
- instance - Variable in class com.google.inject.internal.Initializer.InjectableReference
- instance - Variable in class com.google.inject.internal.InstanceBindingImpl
- instance - Variable in class com.google.inject.internal.ProviderMethod
- instance - Variable in class com.google.inject.spi.InjectionRequest
- instance - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- instance - Variable in class com.google.inject.util.Providers.ConstantProvider
- INSTANCE - Enum constant in enum class com.google.inject.grapher.NodeId.NodeType
-
Instance node, used when something is bound to an instance.
- INSTANCE - Enum constant in enum class com.google.inject.internal.Indexer.BindingType
- INSTANCE - Enum constant in enum class com.google.inject.Key.NullAnnotationStrategy
- INSTANCE - Enum constant in enum class com.google.inject.servlet.ServletScopes.NullObject
- INSTANCE - Static variable in class com.google.inject.internal.aop.ClassDefining.ClassDefinerHolder
- INSTANCE - Static variable in class com.google.inject.internal.KotlinSupport.KotlinSupportHolder
- INSTANCE - Static variable in class com.google.inject.internal.Messages.ThrowableEquivalence
- INSTANCE - Static variable in class com.google.inject.internal.ProvidesMethodScanner
- INSTANCE - Static variable in class com.google.inject.throwingproviders.ProviderChecker.NotSyntheticOrBridgePredicate
- InstanceBinding<T> - Interface in com.google.inject.spi
-
A binding to a single instance.
- InstanceBindingImpl<T> - Class in com.google.inject.internal
- InstanceBindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Set<InjectionPoint>, T) - Constructor for class com.google.inject.internal.InstanceBindingImpl
- InstanceBindingImpl(Object, Key<T>, Scoping, Set<InjectionPoint>, T) - Constructor for class com.google.inject.internal.InstanceBindingImpl
- InstanceFilterBinding - Interface in com.google.inject.servlet
-
A binding to a single instance of a filter.
- InstanceFilterBindingImpl - Class in com.google.inject.servlet
-
Default implementation of InstanceFilterBinding.
- InstanceFilterBindingImpl(Map<String, String>, Filter, UriPatternMatcher) - Constructor for class com.google.inject.servlet.InstanceFilterBindingImpl
- InstanceNode - Class in com.google.inject.grapher
-
Node for instances.
- InstanceNode(NodeId, Object, Object, Iterable<Member>) - Constructor for class com.google.inject.grapher.InstanceNode
- InstanceServletBinding - Interface in com.google.inject.servlet
-
A binding to a single instance of a servlet.
- InstanceServletBindingImpl - Class in com.google.inject.servlet
-
Default implementation of InstanceServletBinding.
- InstanceServletBindingImpl(Map<String, String>, HttpServlet, UriPatternMatcher) - Constructor for class com.google.inject.servlet.InstanceServletBindingImpl
- inSubpackage(String) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches classes in the given package and its subpackages.
- InSubpackage(String) - Constructor for class com.google.inject.matcher.Matchers.InSubpackage
- InterceptedMethodInvocation(Object, Object[], int) - Constructor for class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
- InterceptorBinding - Class in com.google.inject.spi
-
Registration of interceptors for matching methods of matching classes.
- InterceptorBinding(Object, Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor[]) - Constructor for class com.google.inject.spi.InterceptorBinding
- InterceptorBindingProcessor - Class in com.google.inject.internal
-
Handles
Binder.bindInterceptor
commands. - InterceptorBindingProcessor(Errors) - Constructor for class com.google.inject.internal.InterceptorBindingProcessor
- interceptorBindings - Variable in class com.google.inject.internal.InjectorBindingData
- interceptorIndex - Variable in class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
- interceptors - Variable in class com.google.inject.internal.InterceptorStackCallback
- interceptors - Variable in class com.google.inject.internal.MethodAspect
- interceptors - Variable in class com.google.inject.internal.ProxyFactory
- interceptors - Variable in class com.google.inject.internal.ProxyFactory.ProxyConstructor
- interceptors - Variable in class com.google.inject.spi.InterceptorBinding
- interceptors() - Method in class com.google.inject.internal.MethodAspect
- InterceptorStackCallback - Class in com.google.inject.internal
-
Intercepts a method with a stack of interceptors.
- InterceptorStackCallback(Method, List<MethodInterceptor>, BiFunction<Object, Object[], Object>) - Constructor for class com.google.inject.internal.InterceptorStackCallback
- InterceptorStackCallback.InterceptedMethodInvocation - Class in com.google.inject.internal
- interfaceKey - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- InterfaceNode - Class in com.google.inject.grapher
-
Node for an interface type that has been bound to an implementation class or instance.
- InterfaceNode(NodeId, Object) - Constructor for class com.google.inject.grapher.InterfaceNode
- interfaceType - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- INTERNAL_BINDINGS - Static variable in class com.google.inject.internal.ProvisionListenerCallbackStore
- InternalContext - Class in com.google.inject.internal
-
Internal context.
- InternalContext(InjectorImpl.InjectorOptions, Object[]) - Constructor for class com.google.inject.internal.InternalContext
- internalConvertToTypes(InjectorImpl, Matcher<? super TypeLiteral<?>>, TypeConverter) - Static method in class com.google.inject.internal.TypeConverterBindingProcessor
- InternalErrorDetail<T> - Class in com.google.inject.internal
-
Represents an error created by Guice as opposed to custom error added to the binder from application code.
- InternalErrorDetail(ErrorId, String, List<Object>, Throwable) - Constructor for class com.google.inject.internal.InternalErrorDetail
- internalFactory - Variable in class com.google.inject.internal.BindingImpl
- internalFactory - Variable in class com.google.inject.internal.ProviderToInternalFactoryAdapter
- InternalFactory<T> - Interface in com.google.inject.internal
-
Creates objects which will be injected.
- InternalFactoryToInitializableAdapter<T> - Class in com.google.inject.internal
-
Adapts
ProviderInstanceBinding
providers, ensuring circular proxies fail (or proxy) properly. - InternalFactoryToInitializableAdapter(Initializable<? extends Provider<? extends T>>, Object, ProvisionListenerStackCallback<T>) - Constructor for class com.google.inject.internal.InternalFactoryToInitializableAdapter
- InternalFactoryToProviderAdapter<T> - Class in com.google.inject.internal
- InternalFactoryToProviderAdapter(Provider<? extends T>, Object) - Constructor for class com.google.inject.internal.InternalFactoryToProviderAdapter
- InternalFlags - Class in com.google.inject.internal
-
Contains flags for Guice.
- InternalFlags() - Constructor for class com.google.inject.internal.InternalFlags
- InternalFlags.BytecodeGenOption - Enum Class in com.google.inject.internal
-
Options for controlling whether Guice uses bytecode generation at runtime.
- InternalFlags.ColorizeOption - Enum Class in com.google.inject.internal
-
Options for enable or disable using ansi color in error messages.
- InternalFlags.CustomClassLoadingOption - Enum Class in com.google.inject.internal
-
The options for Guice custom class loading.
- InternalFlags.IncludeStackTraceOption - Enum Class in com.google.inject.internal
-
The options for Guice stack trace collection.
- InternalFlags.NullableProvidesOption - Enum Class in com.google.inject.internal
-
Options for handling nullable parameters used in provides methods.
- InternalInjectorCreator - Class in com.google.inject.internal
-
Builds a tree of injectors.
- InternalInjectorCreator() - Constructor for class com.google.inject.internal.InternalInjectorCreator
- InternalInjectorCreator.ToolStageInjector - Class in com.google.inject.internal
-
Injector
exposed to users inStage.TOOL
. - InternalProviderInstanceBindingImpl<T> - Class in com.google.inject.internal
-
A
ProviderInstanceBindingImpl
for implementing 'native' guice extensions. - InternalProviderInstanceBindingImpl(InjectorImpl, Key<T>, Object, InternalProviderInstanceBindingImpl.Factory<T>, InternalFactory<? extends T>, Scoping) - Constructor for class com.google.inject.internal.InternalProviderInstanceBindingImpl
- InternalProviderInstanceBindingImpl.CyclicFactory<T> - Class in com.google.inject.internal
-
An base factory implementation that can be extended to provide a specialized implementation of a
ProviderWithExtensionVisitor
and also implementsInternalFactory
- InternalProviderInstanceBindingImpl.Factory<T> - Class in com.google.inject.internal
-
A base factory implementation.
- InternalProviderInstanceBindingImpl.InitializationTiming - Enum Class in com.google.inject.internal
- InternalProvisionException - Exception Class in com.google.inject.internal
-
A checked exception for provisioning errors.
- InternalProvisionException(Message) - Constructor for exception class com.google.inject.internal.InternalProvisionException
- InternalProvisionException(Iterable<Message>) - Constructor for exception class com.google.inject.internal.InternalProvisionException
- InternalServletModule - Class in com.google.inject.servlet
-
This is a left-factoring of all ServletModules installed in the system.
- InternalServletModule() - Constructor for class com.google.inject.servlet.InternalServletModule
- InternalServletModule.BackwardsCompatibleServletContextProvider - Class in com.google.inject.servlet
-
Special Provider that tries to obtain an injected servlet context, specific to the current injector, failing which, it falls back to the static singleton instance that is available in the legacy Guice Servlet.
- invalidate() - Method in class com.google.inject.internal.EncounterImpl
- invalidBinding(InjectorImpl, Key<T>, Object) - Method in class com.google.inject.internal.AbstractBindingProcessor
- INVERTED - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- INVERTED_OPEN - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- INVISIBLE - Enum constant in enum class com.google.inject.grapher.graphviz.EdgeStyle
- INVISIBLE - Enum constant in enum class com.google.inject.grapher.graphviz.NodeStyle
- invocationHandlers - Variable in class com.google.inject.internal.ConstructionContext
- invoke(Object, Object...) - Method in interface com.google.inject.internal.InjectorImpl.MethodInvoker
- invoke(Object, Method, Object[]) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
When a factory method is invoked, we create a child injector that binds all parameters, then use that to get an instance of the return type.
- invoke(Object, Method, Object[]) - Method in class com.google.inject.internal.DelegatingInvocationHandler
- invoke(Object, Method, Object[]) - Method in class com.google.inject.internal.InterceptorStackCallback
- invoke(Object, Method, Object[]) - Method in class com.google.inject.throwingproviders.CheckedProviders.CheckedProviderInvocationHandler
- invokeGet(Object, Method) - Method in class com.google.inject.throwingproviders.CheckedProviders.CheckedProviderInvocationHandler
- invokeGet(Object, Method) - Method in class com.google.inject.throwingproviders.CheckedProviders.ReturningHandler
- invokeGet(Object, Method) - Method in class com.google.inject.throwingproviders.CheckedProviders.ThrowingHandler
- INVOKER_METHOD_TYPE - Static variable in class com.google.inject.internal.aop.Enhancer
- INVOKERS_DESCRIPTOR - Static variable in class com.google.inject.internal.aop.Enhancer
- INVOKERS_DESCRIPTOR - Static variable in class com.google.inject.internal.aop.FastClass
- INVOKERS_NAME - Static variable in class com.google.inject.internal.aop.Enhancer
- INVOKERS_NAME - Static variable in class com.google.inject.internal.aop.FastClass
- IS_SINGLETON_VISITOR - Static variable in class com.google.inject.Scopes
- IS_UNSAFE - Static variable in class com.google.inject.internal.aop.ClassDefining.ClassDefinerHolder
- isAccessible() - Static method in class com.google.inject.internal.aop.UnsafeClassDefiner
-
Do we have access to
sun.misc.Unsafe
? - isAllDefaultMethods(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
- isAssisted - Variable in class com.google.inject.assistedinject.Parameter
- isBannedKey(Key<?>) - Method in class com.google.inject.internal.InjectorJitBindingData
-
Returns true if
key
is forbidden from being bound in the injector corresponding to this data object. - isBindingAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
Returns true if annotations of the specified type are binding annotations.
- isBound(Injector) - Method in class com.google.inject.assistedinject.Parameter
- isBound(Injector, Key<?>) - Method in class com.google.inject.assistedinject.Parameter
- isBytecodeGenEnabled() - Static method in class com.google.inject.internal.InternalFlags
- isCheckedException(Class<? extends Throwable>) - Static method in class com.google.inject.throwingproviders.CheckedProviders
- isCircularProxy(Object) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns true if the given object is a circular proxy.
- isCircularProxy(Object) - Static method in class com.google.inject.Scopes
-
Returns true if the object is a proxy for a circular dependency, constructed by Guice because it encountered a circular dependency.
- isCompatible(Method, Method) - Method in class com.google.inject.assistedinject.FactoryProvider2
- isConcrete(Class<?>) - Static method in class com.google.inject.internal.util.Classes
- isConstant() - Method in class com.google.inject.internal.BindingImpl
-
Is this a constant binding? This returns true for constant bindings as well as toInstance() bindings.
- isConstructing() - Method in class com.google.inject.internal.ConstructionContext
- isConstructorExceptionCompatibleWithFactoryExeception(Class<?>, Class<?>[]) - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- isDefault(Method) - Static method in class com.google.inject.assistedinject.FactoryProvider2
- isEagerSingleton(InjectorImpl, BindingImpl<?>, Stage) - Method in class com.google.inject.internal.InternalInjectorCreator
- isEagerSingleton(Stage) - Method in class com.google.inject.internal.Scoping
-
Returns true if this scope is a singleton that should be loaded eagerly in
stage
. - isElementSourceCleared(ElementSource) - Static method in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
- isEligibleForInjection(Method, boolean) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns true if the method is eligible to be injected.
- isEmpty() - Method in class com.google.inject.servlet.ServletUtils.ByteAccumulator
- isEmpty() - Method in class com.google.inject.spi.InjectionPoint.InjectableMembers
- isExempt(ElementSource, String) - Static method in class com.google.inject.spi.BindingSourceRestriction
- isExplicitlyScoped() - Method in class com.google.inject.internal.Scoping
-
Returns true if this scope was explicitly applied.
- isFailedJitBinding(Key<?>) - Method in class com.google.inject.internal.InjectorJitBindingData
- isFinal() - Method in class com.google.inject.spi.InjectionPoint.InjectableMethod
- isFullySpecified() - Method in interface com.google.inject.internal.MoreTypes.CompositeType
-
Returns true if there are no type variables in this type.
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
- isFullySpecified(Type) - Static method in class com.google.inject.internal.MoreTypes
-
Returns true if
type
is free from type variables. - isGetMethod(Method) - Method in class com.google.inject.throwingproviders.CheckedProviders.CheckedProviderInvocationHandler
- isIndexable(Binding<?>) - Method in class com.google.inject.internal.Indexer
- isInitialized - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- isInitialized() - Method in class com.google.inject.internal.ConstructorBindingImpl
-
True if this binding has been initialized and is ready for use.
- isInitialized() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- isInitialized() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- isInjectorOrAssistedProvider(Dependency<?>) - Method in class com.google.inject.assistedinject.FactoryProvider2
- isInnerClass(Class<?>) - Static method in class com.google.inject.internal.util.Classes
- isLocalClass(Class<?>) - Method in class com.google.inject.internal.KotlinSupport.KotlinUnsupported
- isLocalClass(Class<?>) - Method in interface com.google.inject.internal.KotlinSupportInterface
-
Returns whether the
clazz
is a local Kotlin class. - isMarker(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
Returns
true
if the given annotation type has no attributes. - isMembersInjector(Key<?>) - Static method in class com.google.inject.internal.InjectorImpl
-
Returns true if the key type is MembersInjector (but not a subclass of MembersInjector).
- isMergeable(ErrorDetail<?>) - Method in class com.google.inject.internal.BindingAlreadySetError
- isMergeable(ErrorDetail<?>) - Method in class com.google.inject.internal.ChildBindingAlreadySetError
- isMergeable(ErrorDetail<?>) - Method in class com.google.inject.internal.MissingConstructorError
- isMergeable(ErrorDetail<?>) - Method in class com.google.inject.internal.MissingImplementationError
- isMergeable(ErrorDetail<?>) - Method in class com.google.inject.internal.ScopeNotFoundError
- isMergeable(ErrorDetail<?>) - Method in class com.google.inject.spi.ErrorDetail
-
Returns true if this error can be merged with the
otherError
and formatted together. - isNoScope() - Method in class com.google.inject.internal.Scoping
-
Returns true if this is the default scope.
- isNullable() - Method in class com.google.inject.spi.Dependency
-
Returns true if null is a legal value for this dependency.
- isNullable(Field) - Method in class com.google.inject.internal.KotlinSupport.KotlinUnsupported
- isNullable(Field) - Method in interface com.google.inject.internal.KotlinSupportInterface
-
Returns true if the field is declared as kotlin nullable type.
- isOkayDuplicate(BindingImpl<?>, BindingImpl<?>, InjectorBindingData) - Static method in class com.google.inject.internal.AbstractBindingProcessor
-
We tolerate duplicate bindings if one exposes the other or if the two bindings are considered duplicates (see
invalid reference
Bindings#areDuplicates(BindingImpl, BindingImpl)
- isOptional() - Method in class com.google.inject.spi.InjectionPoint
-
Returns true if this injection point shall be skipped if the injector cannot resolve bindings for all required dependencies.
- isProvidedByFactory() - Method in class com.google.inject.assistedinject.Parameter
- isProvider - Variable in class com.google.inject.assistedinject.Parameter
- isProvider(Key<?>) - Static method in class com.google.inject.internal.InjectorImpl
-
Returns true if the key type is Provider (but not a subclass of Provider).
- isProvider(Type) - Method in class com.google.inject.assistedinject.Parameter
- isPublic(Class<?>) - Static method in class com.google.inject.internal.aop.ClassBuilding
- isRequestScoped(Binding<?>) - Static method in class com.google.inject.servlet.ServletScopes
-
Returns true if
binding
is request-scoped. - isRetainedAtRuntime(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
Returns true if the given annotation is retained at runtime.
- isScanningBuiltInProvidesMethods() - Method in class com.google.inject.internal.ProviderMethodsModule
-
Is it scanning the built-in @Provides* methods.
- isScopeAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
- isScoped(Binding<?>, Scope, Class<? extends Annotation>) - Static method in class com.google.inject.Scopes
-
Returns true if
binding
has the given scope. - isSingleton(Binding<?>) - Static method in class com.google.inject.Scopes
-
Returns true if
binding
is singleton-scoped. - isStaticModule() - Method in class com.google.inject.internal.ProviderMethodsModule
- isToolable() - Method in class com.google.inject.spi.InjectionPoint
-
Returns true if the element is annotated with @
Toolable
. - isTypeLiteral(Key<?>) - Static method in class com.google.inject.internal.InjectorImpl
- isTypeNotSpecified(TypeLiteral<?>, ConfigurationException) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
Returns true if the ConfigurationException is due to an error of TypeLiteral not being fully specified.
- isValidForOptimizedAssistedInject(Set<Dependency<?>>, Class<?>, TypeLiteral<?>) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
Returns true if all dependencies are suitable for the optimized version of AssistedInject.
- isValidMethod(InjectionPoint.InjectableMethod, Errors) - Static method in class com.google.inject.spi.InjectionPoint
- ITALIC - Enum constant in enum class com.google.inject.internal.Messages.FormatOptions
J
- javaOptionalOf(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealOptionalBinder
- javaOptionalOfJavaxProvider(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealOptionalBinder
- javaOptionalOfProvider(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealOptionalBinder
- JavaOptionalProvider(RealOptionalBinder.BindingSelection<T>, Key<Optional<T>>) - Constructor for class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- JavaOptionalProviderProvider(RealOptionalBinder.BindingSelection<T>) - Constructor for class com.google.inject.internal.RealOptionalBinder.JavaOptionalProviderProvider
- javaxProviderCollectionMultimapKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- javaxProviderMapKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- javaxProviderOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type modelling a
Provider
that provides elements of typeelementType
. - javaxProviderSetMultimapKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- JIT_BINDING_ALREADY_SET - Enum constant in enum class com.google.inject.internal.ErrorId
- JIT_DISABLED - Enum constant in enum class com.google.inject.internal.ErrorId
- JIT_DISABLED_IN_PARENT - Enum constant in enum class com.google.inject.internal.ErrorId
- jitBindingAlreadySet(Key<?>) - Method in class com.google.inject.internal.Errors
- jitBindingData - Variable in class com.google.inject.internal.InjectorImpl
- jitBindingData - Variable in class com.google.inject.internal.InjectorShell.Builder
- jitBindings - Variable in class com.google.inject.internal.InjectorJitBindingData
-
Just-in-time binding cache.
- jitDisabled - Variable in class com.google.inject.internal.InjectorImpl.InjectorOptions
- jitDisabled - Variable in class com.google.inject.internal.InjectorOptionsProcessor
- jitDisabled(Key<?>) - Method in class com.google.inject.internal.Errors
- jitDisabled(Key<?>) - Static method in exception class com.google.inject.internal.InternalProvisionException
- jitDisabledInParent(Key<?>) - Method in class com.google.inject.internal.Errors
- JitLimitation() - Constructor for enum class com.google.inject.internal.InjectorImpl.JitLimitation
- JndiIntegration - Class in com.google.inject.jndi
-
Integrates Guice with JNDI.
- JndiIntegration() - Constructor for class com.google.inject.jndi.JndiIntegration
- JndiIntegration.JndiProvider<T> - Class in com.google.inject.jndi
- JndiProvider(Class<T>, String) - Constructor for class com.google.inject.jndi.JndiIntegration.JndiProvider
- JOINER - Static variable in class com.google.inject.internal.Annotations
- jsr330 - Variable in class com.google.inject.spi.InjectionPoint.InjectableMember
K
- key - Variable in class com.google.inject.grapher.NodeId
- key - Variable in class com.google.inject.internal.AbstractBindingProcessor.Processor
- key - Variable in class com.google.inject.internal.BindingImpl
- key - Variable in class com.google.inject.internal.ChildBindingAlreadySetError
- key - Variable in class com.google.inject.internal.ConstructorBindingImpl.Factory
- key - Variable in class com.google.inject.internal.ExposedKeyFactory
- key - Variable in class com.google.inject.internal.ExposureBuilder
- key - Variable in class com.google.inject.internal.FactoryProxy
- key - Variable in class com.google.inject.internal.Initializer.InjectableReference
- key - Variable in class com.google.inject.internal.MissingImplementationError
- key - Variable in class com.google.inject.internal.ProviderMethod
- key - Variable in class com.google.inject.internal.ProvisionListenerCallbackStore.KeyBinding
- key - Variable in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider.PerKeyData
- key - Variable in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- key - Variable in class com.google.inject.internal.RealMultibinder.PermitDuplicatesModule
- key - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- key - Variable in class com.google.inject.internal.WeakKeySet.KeyAndSource
- key - Variable in class com.google.inject.spi.Dependency
- key - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- Key<T> - Class in com.google.inject
-
Guice uses Key objects to identify a dependency that can be resolved by the Guice
Injector
. - Key() - Constructor for class com.google.inject.Key
-
Constructs a new key.
- Key(TypeLiteral<T>, Key.AnnotationStrategy) - Constructor for class com.google.inject.Key
-
Constructs a key from a manually specified type.
- Key(Annotation) - Constructor for class com.google.inject.Key
-
Constructs a new key.
- Key(Class<? extends Annotation>) - Constructor for class com.google.inject.Key
-
Constructs a new key.
- Key(Type, Key.AnnotationStrategy) - Constructor for class com.google.inject.Key
-
Unsafe.
- KEY_NOT_FULLY_SPECIFIED - Enum constant in enum class com.google.inject.internal.ErrorId
- Key.AnnotationInstanceStrategy - Class in com.google.inject
- Key.AnnotationStrategy - Interface in com.google.inject
- Key.AnnotationTypeStrategy - Class in com.google.inject
- Key.NullAnnotationStrategy - Enum Class in com.google.inject
- KeyAndSource(Key<?>, Object) - Constructor for class com.google.inject.internal.WeakKeySet.KeyAndSource
- KeyBinding(Key<?>, Binding<?>) - Constructor for class com.google.inject.internal.ProvisionListenerCallbackStore.KeyBinding
- keyMatches(Key<?>) - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- keyNotFullySpecified(TypeLiteral<?>) - Method in class com.google.inject.internal.Errors
- keys - Variable in class com.google.inject.internal.RealMapBinder.RealMapProvider
- keyType - Variable in class com.google.inject.internal.RealElement
- keyType - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- keyType() - Element in annotation interface com.google.inject.internal.Element
- keyType() - Method in class com.google.inject.internal.RealElement
- keyTypeIsSet() - Method in class com.google.inject.internal.AbstractBindingBuilder
- Kind() - Constructor for enum class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher.Kind
- KotlinSupport - Class in com.google.inject.internal
-
Class to conditionally load support for Kotlin features.
- KotlinSupport() - Constructor for class com.google.inject.internal.KotlinSupport
- KotlinSupport.KotlinSupportHolder - Class in com.google.inject.internal
- KotlinSupport.KotlinUnsupported - Class in com.google.inject.internal
- KotlinSupportHolder() - Constructor for class com.google.inject.internal.KotlinSupport.KotlinSupportHolder
- KotlinSupportInterface - Interface in com.google.inject.internal
-
Interface for accessing information about Kotlin code.
- KotlinUnsupported() - Constructor for class com.google.inject.internal.KotlinSupport.KotlinUnsupported
L
- lastMethod - Variable in class com.google.inject.spi.InjectionPoint.OverrideIndex
- lastSignature - Variable in class com.google.inject.spi.InjectionPoint.OverrideIndex
- LEAF_MARKER - Static variable in class com.google.inject.internal.aop.ImmutableStringTrie
-
Marks a leaf in the trie, where the rest of the bits are the index to be returned.
- LEGEND_FOOTER - Static variable in class com.google.inject.internal.PackageNameCompressor
- LEGEND_HEADER - Static variable in class com.google.inject.internal.PackageNameCompressor
- length - Variable in class com.google.inject.servlet.ServletUtils.ByteAccumulator
- lenientDecode(String, Charset, boolean) - Static method in class com.google.inject.servlet.ServletUtils
-
Percent-decodes a US-ASCII string into a Unicode string.
- line - Variable in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- lineNumber - Variable in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- LineNumberAnnotationVisitor() - Constructor for class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberAnnotationVisitor
- LineNumberMethodVisitor() - Constructor for class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberMethodVisitor
- LineNumberReader() - Constructor for class com.google.inject.internal.util.LineNumbers.LineNumberReader
- LineNumbers - Class in com.google.inject.internal.util
-
Looks up line numbers for classes and their members.
- LineNumbers(Class<?>) - Constructor for class com.google.inject.internal.util.LineNumbers
-
Reads line number information from the given class, if available.
- LineNumbers.LineNumberReader - Class in com.google.inject.internal.util
- LineNumbers.LineNumberReader.LineNumberAnnotationVisitor - Class in com.google.inject.internal.util
- LineNumbers.LineNumberReader.LineNumberMethodVisitor - Class in com.google.inject.internal.util
- lineNumbersCache - Static variable in class com.google.inject.internal.util.StackTraceElements
- lines - Variable in class com.google.inject.internal.util.LineNumbers
- LINKED_KEY - Enum constant in enum class com.google.inject.internal.Indexer.BindingType
- LinkedBindingBuilder<T> - Interface in com.google.inject.binder
-
See the EDSL examples at
Binder
. - LinkedBindingImpl<T> - Class in com.google.inject.internal
- LinkedBindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping, Key<? extends T>) - Constructor for class com.google.inject.internal.LinkedBindingImpl
- LinkedBindingImpl(Object, Key<T>, Scoping, Key<? extends T>) - Constructor for class com.google.inject.internal.LinkedBindingImpl
- LinkedFilterBinding - Interface in com.google.inject.servlet
-
A linked binding to a filter.
- LinkedFilterBindingImpl - Class in com.google.inject.servlet
-
Default implementation of LinkedFilterBinding.
- LinkedFilterBindingImpl(Map<String, String>, Key<? extends Filter>, UriPatternMatcher) - Constructor for class com.google.inject.servlet.LinkedFilterBindingImpl
- LinkedKeyBinding<T> - Interface in com.google.inject.spi
-
A binding to a linked key.
- LinkedProviderBindingImpl<T> - Class in com.google.inject.internal
- LinkedProviderBindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping, Key<? extends Provider<? extends T>>) - Constructor for class com.google.inject.internal.LinkedProviderBindingImpl
- LinkedProviderBindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping, Key<? extends Provider<? extends T>>, DelayedInitialize) - Constructor for class com.google.inject.internal.LinkedProviderBindingImpl
- LinkedProviderBindingImpl(Object, Key<T>, Scoping, Key<? extends Provider<? extends T>>) - Constructor for class com.google.inject.internal.LinkedProviderBindingImpl
- LinkedServletBinding - Interface in com.google.inject.servlet
-
A linked binding to a servlet.
- LinkedServletBindingImpl - Class in com.google.inject.servlet
-
Default implementation of LinkedServletBinding.
- LinkedServletBindingImpl(Map<String, String>, Key<? extends HttpServlet>, UriPatternMatcher) - Constructor for class com.google.inject.servlet.LinkedServletBindingImpl
- listener - Variable in class com.google.inject.spi.TypeListenerBinding
- ListenerBindingProcessor - Class in com.google.inject.internal
-
Handles
Binder#bindListener
commands. - ListenerBindingProcessor(Errors) - Constructor for class com.google.inject.internal.ListenerBindingProcessor
- listenerBindings - Variable in class com.google.inject.internal.ProvisionListenerCallbackStore
- listeners - Variable in class com.google.inject.internal.ProvisionListenerStackCallback
- listeners - Variable in class com.google.inject.spi.ProvisionListenerBinding
- listOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type modelling a
List
whose elements are of typeelementType
. - literal - Variable in class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher
- LITERAL - Enum constant in enum class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher.Kind
- loadArgument(MethodVisitor, Class<?>, int) - Static method in class com.google.inject.internal.aop.BytecodeTasks
-
Loads a local argument onto the Java stack and returns the size of the argument.
- loadEagerSingletons(InjectorImpl, Stage, Errors) - Method in class com.google.inject.internal.InternalInjectorCreator
-
Loads eager singletons, or all singletons if we're in Stage.PRODUCTION.
- loadKotlinSupport() - Static method in class com.google.inject.internal.KotlinSupport
- localContext - Variable in class com.google.inject.internal.InjectorImpl
-
Holds Object[] as a mutable wrapper, rather than InternalContext, since array operations are faster than ThreadLocal.set() / .get() operations.
- localContext - Static variable in class com.google.inject.servlet.GuiceFilter
- lock - Variable in class com.google.inject.internal.Initializer.InjectableReference
- lock - Variable in class com.google.inject.internal.InjectorJitBindingData
-
This lock is needed for threadsafe InjectorJitBindingData accesses.
- lock - Variable in class com.google.inject.internal.WeakKeySet
-
This is already locked externally on add and getSources but we need it to handle clean up in the evictionCache's RemovalListener.
- lock - Variable in class com.google.inject.servlet.GuiceFilter.Context
- lock - Variable in class com.google.inject.servlet.ServletScopes.Context
- lock() - Method in class com.google.inject.internal.InjectorJitBindingData
- lock() - Method in class com.google.inject.internal.InjectorShell.Builder
- lockFactory - Variable in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
-
Factory that was used to create this lock.
- lockImplementation - Variable in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
-
Underlying lock used for actual waiting when no potential deadlocks are detected.
- lockOrDetectPotentialLocksCycle() - Method in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
- lockOrDetectPotentialLocksCycle() - Method in interface com.google.inject.internal.CycleDetectingLock
-
Takes a lock in a blocking fashion in case no potential deadlocks are detected.
- lockOwnerThread - Variable in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
-
Thread that owns this lock.
- lockReentranceCount - Variable in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
-
Number of times that thread owned this lock.
- locksOwnedByThread - Static variable in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory
-
Lists locks that thread owns.
- lockThreadIsWaitingOn - Static variable in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory
-
Specifies lock that thread is currently waiting on to own it.
- logger - Static variable in class com.google.inject.assistedinject.FactoryProvider2
- logger - Static variable in class com.google.inject.internal.aop.ChildClassDefiner
- logger - Static variable in class com.google.inject.internal.aop.ClassDefining
- logger - Static variable in class com.google.inject.internal.aop.UnsafeClassDefiner
- logger - Static variable in class com.google.inject.internal.InternalFlags
- logger - Static variable in exception class com.google.inject.internal.InternalProvisionException
- logger - Static variable in class com.google.inject.internal.MessageProcessor
- logger - Static variable in class com.google.inject.internal.ProxyFactory
- logger - Variable in class com.google.inject.internal.util.ContinuousStopwatch
- logger - Static variable in class com.google.inject.spi.BindingSourceRestriction
- logger - Static variable in class com.google.inject.spi.InjectionPoint
- LOGGER - Static variable in class com.google.inject.servlet.GuiceFilter
- LOGGER_KEY - Static variable in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- LoggerFactory() - Constructor for class com.google.inject.internal.InjectorShell.LoggerFactory
- loggerKey - Static variable in class com.google.inject.grapher.DefaultRootKeySetCreator
- LogProvider(Method) - Constructor for class com.google.inject.throwingproviders.CheckedProviderMethodsModule.LogProvider
- LOOKUP - Static variable in class com.google.inject.assistedinject.internal.LookupTester
- lookupInvokerTable(Class<?>) - Method in class com.google.inject.internal.aop.AbstractGlueGenerator
-
Lookup the invoker table; this may be represented by a function or a trampoline.
- lookupInvokerTable(Class<?>) - Method in class com.google.inject.internal.aop.Enhancer
- lookupInvokerTable(Class<?>) - Method in class com.google.inject.internal.aop.FastClass
- LookupProcessor - Class in com.google.inject.internal
-
Handles
Binder.getProvider
andBinder.getMembersInjector(TypeLiteral)
commands. - LookupProcessor(Errors) - Constructor for class com.google.inject.internal.LookupProcessor
- lookups - Variable in class com.google.inject.assistedinject.FactoryModuleBuilder
- lookups - Variable in class com.google.inject.internal.DeferredLookups
- lookups - Variable in class com.google.inject.internal.EncounterImpl
- lookups - Variable in class com.google.inject.internal.InjectorImpl
- Lookups - Interface in com.google.inject.internal
-
Accessors for providers and members injectors.
- LookupTester - Class in com.google.inject.assistedinject.internal
-
An interface in a different package, so that AssistedInject's main package can't see it.
- LookupTester() - Constructor for class com.google.inject.assistedinject.internal.LookupTester
- LookupTester.Hidden - Interface in com.google.inject.assistedinject.internal
- lowerBound - Variable in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
M
- main(String[]) - Static method in class com.google.inject.tools.jmx.Manager
-
Run with no arguments for usage instructions.
- makeInjectable(Scoping, InjectorImpl, Errors) - Static method in class com.google.inject.internal.Scoping
-
Replaces annotation scopes with instance scopes using the Injector's annotation-to-instance map.
- Making parameter types distinct - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- Making parameter types distinct - Search tag in class com.google.inject.assistedinject.FactoryProvider
- Section
- manage(String, Injector) - Static method in class com.google.inject.tools.jmx.Manager
-
Registers all the bindings of an Injector with the platform MBean server.
- manage(MBeanServer, String, Injector) - Static method in class com.google.inject.tools.jmx.Manager
-
Registers all the bindings of an Injector with the given MBean server.
- ManagedBinding - Class in com.google.inject.tools.jmx
- ManagedBinding(Binding<?>) - Constructor for class com.google.inject.tools.jmx.ManagedBinding
- ManagedBindingMBean - Interface in com.google.inject.tools.jmx
-
JMX interface to bindings.
- ManagedFilterPipeline - Class in com.google.inject.servlet
-
Central routing/dispatch class handles lifecycle of managed filters, and delegates to the servlet pipeline.
- ManagedFilterPipeline(Injector, ManagedServletPipeline, Provider<ServletContext>) - Constructor for class com.google.inject.servlet.ManagedFilterPipeline
- ManagedServletPipeline - Class in com.google.inject.servlet
-
A wrapping dispatcher for servlets, in much the same way as
ManagedFilterPipeline
is for filters. - ManagedServletPipeline(Injector) - Constructor for class com.google.inject.servlet.ManagedServletPipeline
- ManagedServletPipeline.RequestDispatcherRequestWrapper - Class in com.google.inject.servlet
- Manager - Class in com.google.inject.tools.jmx
-
Provides a JMX interface to Guice.
- Manager() - Constructor for class com.google.inject.tools.jmx.Manager
- map - Variable in class com.google.inject.servlet.ServletScopes.Context
- MapBinder<K,
V> - Class in com.google.inject.multibindings -
An API to bind multiple map entries separately, only to later inject them as a complete map.
- MapBinder(RealMapBinder<K, V>) - Constructor for class com.google.inject.multibindings.MapBinder
- MAPBINDER - Enum constant in enum class com.google.inject.internal.Element.Type
- MapBinderBinding<T> - Interface in com.google.inject.multibindings
-
A binding for a MapBinder.
- mapBindings - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
-
These are built during initialization and used by all factories to actually provide the relevant maps.
- mapKey - Variable in class com.google.inject.internal.DuplicateMapKeyError
- mapKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- mapKey - Variable in class com.google.inject.internal.RealMapBinder.RealMultimapBinderProviderWithDependencies
- MapKey - Annotation Interface in com.google.inject.multibindings
-
Allows users define customized key type annotations for map bindings by annotating an annotation of a
Map
's key type. - mapOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- mapOf(Type, Type) - Static method in class com.google.inject.util.Types
-
Returns a type modelling a
Map
whose keys are of typekeyType
and whose values are of typevalueType
. - mapOfCollectionOfJavaxProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- mapOfCollectionOfProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- mapOfJavaxProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- mapOfKeyExtendsValueKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- mapOfProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- mapOfProviders - Variable in class com.google.inject.internal.RealMapBinder.RealProviderMapProvider
- mapOfSetOfJavaxProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- mapOfSetOfProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- Matcher<T> - Interface in com.google.inject.matcher
-
Returns
true
orfalse
for a given input. - Matchers - Class in com.google.inject.matcher
-
Matcher implementations.
- Matchers() - Constructor for class com.google.inject.matcher.Matchers
- Matchers.AnnotatedWith - Class in com.google.inject.matcher
- Matchers.AnnotatedWithType - Class in com.google.inject.matcher
- Matchers.Any - Class in com.google.inject.matcher
- Matchers.IdenticalTo - Class in com.google.inject.matcher
- Matchers.InPackage - Class in com.google.inject.matcher
- Matchers.InSubpackage - Class in com.google.inject.matcher
- Matchers.Not<T> - Class in com.google.inject.matcher
- Matchers.Only - Class in com.google.inject.matcher
- Matchers.Returns - Class in com.google.inject.matcher
- Matchers.SubclassesOf - Class in com.google.inject.matcher
- matches(Class) - Method in class com.google.inject.matcher.Matchers.InPackage
- matches(Class) - Method in class com.google.inject.matcher.Matchers.InSubpackage
- matches(Class) - Method in class com.google.inject.matcher.Matchers.SubclassesOf
- matches(Class<?>) - Method in class com.google.inject.internal.MethodAspect
- matches(Object) - Method in class com.google.inject.matcher.Matchers.Any
- matches(Object) - Method in class com.google.inject.matcher.Matchers.IdenticalTo
- matches(Object) - Method in class com.google.inject.matcher.Matchers.Only
- matches(AnnotatedElement) - Method in class com.google.inject.matcher.Matchers.AnnotatedWith
- matches(AnnotatedElement) - Method in class com.google.inject.matcher.Matchers.AnnotatedWithType
- matches(Method) - Method in class com.google.inject.internal.MethodAspect
- matches(Method) - Method in class com.google.inject.matcher.Matchers.Returns
- matches(String) - Method in interface com.google.inject.servlet.UriPatternMatcher
- matches(String) - Method in class com.google.inject.servlet.UriPatternType.RegexUriPatternMatcher
- matches(String) - Method in class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher
- matches(T) - Method in class com.google.inject.matcher.AbstractMatcher.AndMatcher
- matches(T) - Method in class com.google.inject.matcher.AbstractMatcher.OrMatcher
- matches(T) - Method in interface com.google.inject.matcher.Matcher
-
Returns
true
if this matchest
,false
otherwise. - matches(T) - Method in class com.google.inject.matcher.Matchers.Not
- matchesUri(String) - Method in class com.google.inject.servlet.AbstractServletModuleBinding
- matchesUri(String) - Method in interface com.google.inject.servlet.ServletModuleBinding
-
Returns true if the given URI will match this binding.
- matchesValueKey(Key<?>) - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
-
Returns true if the key indicates this is a value in the map.
- MAX_MATCHING_TYPES_REPORTED - Static variable in class com.google.inject.internal.MissingImplementationErrorHints
-
When a binding is not found, show at most this many bindings with the same type
- MAX_RELATED_TYPES_REPORTED - Static variable in class com.google.inject.internal.MissingImplementationErrorHints
-
When a binding is not found, show at most this many bindings that have some similarities
- MAX_ROWS_PER_TRIE - Static variable in class com.google.inject.internal.aop.ImmutableStringTrie
-
Maximum number of rows that can be indexed by a single trie.
- member - Variable in class com.google.inject.spi.InjectionPoint
- memberInjectors - Variable in class com.google.inject.internal.InjectionRequestProcessor.StaticInjection
- memberInjectors - Variable in class com.google.inject.internal.MembersInjectorImpl
- memberKey(Member) - Method in class com.google.inject.internal.util.LineNumbers
- members - Variable in class com.google.inject.grapher.ImplementationNode
- members - Variable in class com.google.inject.grapher.InstanceNode
- membersInjector - Variable in class com.google.inject.internal.ConstructorInjector
- membersInjector - Variable in class com.google.inject.internal.Initializer.InjectableReference
- MembersInjector<T> - Interface in com.google.inject
-
Injects dependencies into the fields and methods on instances of type
T
. - MembersInjectorImpl<T> - Class in com.google.inject.internal
-
Injects members of instances of a given type.
- MembersInjectorImpl(InjectorImpl, TypeLiteral<T>, EncounterImpl<T>, ImmutableList<SingleMemberInjector>) - Constructor for class com.google.inject.internal.MembersInjectorImpl
- MembersInjectorLookup<T> - Class in com.google.inject.spi
-
A lookup of the members injector for a type.
- MembersInjectorLookup(Object, TypeLiteral<T>) - Constructor for class com.google.inject.spi.MembersInjectorLookup
- membersInjectorLookups - Variable in class com.google.inject.internal.InjectorBindingData
- membersInjectors - Variable in class com.google.inject.internal.EncounterImpl
- membersInjectorStore - Variable in class com.google.inject.internal.InjectorImpl
-
Cached field and method injectors for each type.
- MembersInjectorStore - Class in com.google.inject.internal
-
Members injectors by type.
- MembersInjectorStore(InjectorImpl, List<TypeListenerBinding>) - Constructor for class com.google.inject.internal.MembersInjectorStore
- memberType(Member) - Static method in class com.google.inject.internal.util.Classes
-
Returns
Field.class
,Method.class
orConstructor.class
. - memberValueString(String) - Static method in class com.google.inject.internal.Annotations
-
Returns
value
, quoted if annotation implementations quote their member values. - memberValueString(String, Object) - Static method in class com.google.inject.internal.Annotations
-
Returns string representation of the annotation memeber.
- merge(Errors) - Method in class com.google.inject.internal.Errors
- merge(InternalProvisionException) - Method in class com.google.inject.internal.Errors
- merge(Collection<Message>) - Method in class com.google.inject.internal.Errors
- mergeInterface(List<Class<?>>, Class<?>) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Attempts to merge the interface with the current flattened hierarchy.
- mergeMethods(Object, Object) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Add the new method to an existing partition or create a new one.
- mergeSources(List<Object>, Message) - Static method in class com.google.inject.internal.Messages
-
Prepends the list of sources to the given
Message
- message - Variable in class com.google.inject.spi.ErrorDetail
- Message - Class in com.google.inject.spi
-
An error message and the context in which it occured.
- Message(ErrorId, ErrorDetail<?>) - Constructor for class com.google.inject.spi.Message
- Message(ErrorId, List<Object>, String, Throwable) - Constructor for class com.google.inject.spi.Message
- Message(GuiceInternal, ErrorId, ErrorDetail<?>) - Constructor for class com.google.inject.spi.Message
- Message(Object, String) - Constructor for class com.google.inject.spi.Message
- Message(String) - Constructor for class com.google.inject.spi.Message
- Message(String, Throwable) - Constructor for class com.google.inject.spi.Message
- Message(List<Object>, String, Throwable) - Constructor for class com.google.inject.spi.Message
- MessageProcessor - Class in com.google.inject.internal
-
Handles
Binder.addError
commands. - MessageProcessor(Errors) - Constructor for class com.google.inject.internal.MessageProcessor
- messages - Variable in exception class com.google.inject.ConfigurationException
- messages - Variable in exception class com.google.inject.CreationException
- messages - Variable in exception class com.google.inject.ProvisionException
- Messages - Class in com.google.inject.internal
-
Utility methods for
Message
objects - Messages() - Constructor for class com.google.inject.internal.Messages
- Messages.Converter<T> - Class in com.google.inject.internal
- Messages.FormatOptions - Enum Class in com.google.inject.internal
- Messages.ThrowableEquivalence - Class in com.google.inject.internal
- METAFACTORY_DESCRIPTOR - Static variable in class com.google.inject.internal.aop.Enhancer
- method - Variable in class com.google.inject.internal.InterceptorStackCallback
- method - Variable in class com.google.inject.internal.ProviderMethod
- method - Variable in class com.google.inject.internal.ProviderMethodsModule.MethodAndAnnotation
- method - Variable in class com.google.inject.spi.InjectionPoint.InjectableMethod
- method - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- method() - Method in interface com.google.inject.assistedinject.internal.LookupTester.Hidden
- METHOD_LOOKUP - Static variable in class com.google.inject.assistedinject.FactoryProvider2.SuperMethodSupport
- MethodAndAnnotation(Method, Annotation) - Constructor for class com.google.inject.internal.ProviderMethodsModule.MethodAndAnnotation
- MethodAspect - Class in com.google.inject.internal
-
Ties a matcher to a method interceptor.
- MethodAspect(Matcher<? super Class<?>>, Matcher<? super Method>, List<MethodInterceptor>) - Constructor for class com.google.inject.internal.MethodAspect
- MethodAspect(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - Constructor for class com.google.inject.internal.MethodAspect
- methodHandleByMethod - Variable in class com.google.inject.assistedinject.FactoryProvider2
-
Mapping from method to method handle, for generated default methods.
- methodInvoker - Variable in class com.google.inject.internal.SingleMethodInjector
- methodMatcher - Variable in class com.google.inject.internal.MethodAspect
- methodMatcher - Variable in class com.google.inject.spi.InterceptorBinding
- methodName - Variable in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- MethodPartition - Class in com.google.inject.internal.aop
-
Accumulates methods with the same name and number of parameters.
- MethodPartition(Method, Method) - Constructor for class com.google.inject.internal.aop.MethodPartition
-
Each partition starts off with at least two methods.
- MIDDLE - Enum constant in enum class com.google.inject.spi.InjectionPoint.Position
- MISPLACED_BINDING_ANNOTATION - Enum constant in enum class com.google.inject.internal.ErrorId
- misplacedBindingAnnotation(Member, Annotation) - Method in class com.google.inject.internal.Errors
- MISSING_CONSTANT_VALUES - Enum constant in enum class com.google.inject.internal.ErrorId
- MISSING_CONSTRUCTOR - Enum constant in enum class com.google.inject.internal.ErrorId
- MISSING_IMPLEMENTATION - Enum constant in enum class com.google.inject.internal.ErrorId
- MISSING_RUNTIME_RETENTION - Enum constant in enum class com.google.inject.internal.ErrorId
- MISSING_SCOPE_ANNOTATION - Enum constant in enum class com.google.inject.internal.ErrorId
- missingConstantValues() - Method in class com.google.inject.internal.Errors
- missingConstructor(TypeLiteral<?>) - Method in class com.google.inject.internal.Errors
- MissingConstructorError - Class in com.google.inject.internal
-
Error reported when Guice can't find an useable constructor to create objects.
- MissingConstructorError(TypeLiteral<?>, boolean, List<Object>) - Constructor for class com.google.inject.internal.MissingConstructorError
- missingImplementation(Key<?>) - Method in class com.google.inject.internal.Errors
-
We use a fairly generic error message here.
- MissingImplementationError<T> - Class in com.google.inject.internal
-
Error reported by Guice when a key is not bound in the injector.
- MissingImplementationError(Key<T>, ImmutableList<String>, List<Object>) - Constructor for class com.google.inject.internal.MissingImplementationError
- MissingImplementationError(Key<T>, Injector, List<Object>) - Constructor for class com.google.inject.internal.MissingImplementationError
- MissingImplementationErrorHints - Class in com.google.inject.internal
-
Helper class to find hints for
MissingImplementationError
. - MissingImplementationErrorHints() - Constructor for class com.google.inject.internal.MissingImplementationErrorHints
- missingImplementationWithHint(Key<T>, Injector) - Method in class com.google.inject.internal.Errors
-
Within guice's core, allow for better missing binding messages
- missingRuntimeRetention(Class<? extends Annotation>) - Method in class com.google.inject.internal.Errors
- missingScopeAnnotation(Class<? extends Annotation>) - Method in class com.google.inject.internal.Errors
- Module - Interface in com.google.inject
-
A module contributes configuration information, typically interface bindings, which will be used to create an
Injector
. - MODULE_DEPENDENCIES - Static variable in class com.google.inject.internal.RealMapBinder
- MODULE_DEPENDENCIES - Static variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- MODULE_DEPENDENCIES - Static variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- ModuleAnnotatedMethodScanner - Class in com.google.inject.spi
-
Allows extensions to scan modules for annotated methods and bind those methods as providers, similar to
@Provides
methods. - ModuleAnnotatedMethodScanner() - Constructor for class com.google.inject.spi.ModuleAnnotatedMethodScanner
- ModuleAnnotatedMethodScannerBinding - Class in com.google.inject.spi
-
Represents a call to
Binder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)
in a module. - ModuleAnnotatedMethodScannerBinding(Object, ModuleAnnotatedMethodScanner) - Constructor for class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
- ModuleAnnotatedMethodScannerProcessor - Class in com.google.inject.internal
-
Handles
Binder.scanModulesForAnnotatedMethods
commands. - ModuleAnnotatedMethodScannerProcessor(Errors) - Constructor for class com.google.inject.internal.ModuleAnnotatedMethodScannerProcessor
- moduleClassName - Variable in class com.google.inject.spi.ModuleSource
-
The class name of module that this
ModuleSource
associated to. - ModuleInfo(ModuleSource, boolean) - Constructor for class com.google.inject.spi.Elements.ModuleInfo
- modulePermits - Variable in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
- modulePermits - Variable in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction.PermitMapImpl
- modulePermitsStack - Variable in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
- modules - Variable in class com.google.inject.internal.InjectorShell.Builder
- modules - Variable in class com.google.inject.spi.Elements.RecordingBinder
- Modules - Class in com.google.inject.util
-
Static utility methods for creating and working with instances of
Module
. - Modules() - Constructor for class com.google.inject.util.Modules
- Modules.CombinedModule - Class in com.google.inject.util
- Modules.DisableCircularProxiesModule - Class in com.google.inject.util
- Modules.EmptyModule - Class in com.google.inject.util
- Modules.ModuleWriter - Class in com.google.inject.util
- Modules.OverriddenModuleBuilder - Interface in com.google.inject.util
-
See the EDSL example at
override()
. - Modules.OverrideModule - Class in com.google.inject.util
- Modules.RealOverriddenModuleBuilder - Class in com.google.inject.util
- Modules.RequireAtInjectOnConstructorsModule - Class in com.google.inject.util
- Modules.RequireExactBindingAnnotationsModule - Class in com.google.inject.util
- Modules.RequireExplicitBindingsModule - Class in com.google.inject.util
- moduleScanning() - Method in class com.google.inject.spi.Elements.RecordingBinder
-
Returns if the binder is in the module scanning phase.
- moduleSource - Variable in class com.google.inject.spi.Elements.ModuleInfo
- moduleSource - Variable in class com.google.inject.spi.Elements.RecordingBinder
-
The current modules stack
- moduleSource - Variable in class com.google.inject.spi.ElementSource
-
The
source
of module creates the element. - ModuleSource - Class in com.google.inject.spi
-
Associated to a
module
, provides the module class name, the parent modulesource
, and the call stack that ends just before the moduleconfigure(Binder)
method invocation. - ModuleSource(ModuleSource, Class<?>, BindingSourceRestriction.PermitMap) - Constructor for class com.google.inject.spi.ModuleSource
-
Creates a new
ModuleSource
Object. - ModuleSource(Class<?>, BindingSourceRestriction.PermitMap) - Constructor for class com.google.inject.spi.ModuleSource
-
Creates a new
ModuleSource
with a null parent. - modulesSet - Variable in class com.google.inject.util.Modules.CombinedModule
- moduleStack - Variable in class com.google.inject.internal.SourceFormatter
- ModuleWriter(Binder) - Constructor for class com.google.inject.util.Modules.ModuleWriter
- More configuration options - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- MoreTypes - Class in com.google.inject.internal
-
Static methods for working with types that we aren't publishing in the public
Types
API. - MoreTypes() - Constructor for class com.google.inject.internal.MoreTypes
- MoreTypes.CompositeType - Interface in com.google.inject.internal
-
A type formed from other types, such as arrays, parameterized types or wildcard types
- MoreTypes.GenericArrayTypeImpl - Class in com.google.inject.internal
- MoreTypes.ParameterizedTypeImpl - Class in com.google.inject.internal
- MoreTypes.WildcardTypeImpl - Class in com.google.inject.internal
-
The WildcardType interface supports multiple upper bounds and multiple lower bounds.
- Multibinder<T> - Class in com.google.inject.multibindings
-
An API to bind multiple values separately, only to later inject them as a complete collection.
- Multibinder(RealMultibinder<T>) - Constructor for class com.google.inject.multibindings.Multibinder
- MULTIBINDER - Enum constant in enum class com.google.inject.internal.Element.Type
- MultibinderBinding<T> - Interface in com.google.inject.multibindings
-
A binding for a Multibinder.
- MultibindingsScanner - Class in com.google.inject.multibindings
-
Deprecated.This functionality is installed by default. All references to this can be safely removed. This class will be removed in Guice 4.4
- MultibindingsScanner() - Constructor for class com.google.inject.multibindings.MultibindingsScanner
-
Deprecated.
- MultibindingsTargetVisitor<T,
V> - Interface in com.google.inject.multibindings -
A visitor for the multibinder extension.
- MultimapBinder(RealMapBinder.BindingSelection<K, V>) - Constructor for class com.google.inject.internal.RealMapBinder.MultimapBinder
- multimapBindings - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- multimapKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- multimapOfProviders - Variable in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
- MULTIPLE_INJECTORS_WARNING - Static variable in class com.google.inject.servlet.GuiceFilter
- Multiple factory methods for the same type - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- Multiple Modules - Search tag in com.google.inject.servlet.ServletModule.configureServlets()
- Section
N
- name - Variable in enum class com.google.inject.grapher.graphviz.EdgeStyle
- name - Variable in enum class com.google.inject.grapher.graphviz.NodeStyle
- name - Variable in class com.google.inject.internal.ProviderMethodsModule.Signature
- name - Variable in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- name - Variable in class com.google.inject.jndi.JndiIntegration.JndiProvider
- name - Variable in class com.google.inject.spi.InjectionPoint.Signature
- name - Variable in class com.google.inject.throwingproviders.CheckedProviderMethodsModule.LogProvider
- named(String) - Static method in class com.google.inject.name.Names
-
Creates a
Named
annotation withname
as the value. - Named - Annotation Interface in com.google.inject.name
-
Annotates named things.
- NamedImpl - Class in com.google.inject.name
- NamedImpl(String) - Constructor for class com.google.inject.name.NamedImpl
- nameFactory - Variable in class com.google.inject.grapher.graphviz.GraphvizGrapher
- NameFactory - Interface in com.google.inject.grapher
- nameOf(Key<?>) - Static method in class com.google.inject.internal.Annotations
-
Returns the name the binding should use.
- Names - Class in com.google.inject.name
-
Utility methods for use with
@
Named
. - Names() - Constructor for class com.google.inject.name.Names
- NEW - Enum constant in enum class com.google.inject.internal.Initializer.InjectableReferenceState
- NEW_OR_EXISTING_JIT - Enum constant in enum class com.google.inject.internal.InjectorImpl.JitLimitation
-
allows existing just in time bindings invalid input: '&' allows new ones to be created
- newBindingEdge(BindingEdge) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Adds a new binding edge to the graph.
- newBindingEdge(BindingEdge) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- newCircularProxy(Class<T>, InvocationHandler) - Static method in class com.google.inject.internal.BytecodeGen
-
Creates a new circular proxy for the given type.
- newConfigurationException(String, Object...) - Static method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- newDependency(Key<T>, boolean, int) - Method in class com.google.inject.spi.InjectionPoint
- newDependencyEdge(DependencyEdge) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Adds a new dependency edge to the graph.
- newDependencyEdge(DependencyEdge) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- newDependencyEdges(NodeId, T) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
Returns a dependency edge for each
Dependency
in the binding. - newDuplicateValuesException(T[]) - Method in class com.google.inject.internal.RealMultibinder.RealMultibinderProvider
- newFactory(TypeLiteral<F>, TypeLiteral<?>) - Static method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- newFactory(Class<F>, Class<?>) - Static method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- newImplementationNode(Binding<?>, Collection<Member>) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
Returns a new implementation node for the given binding.
- newImplementationNode(ImplementationNode) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Adds a new implementation node to the graph.
- newImplementationNode(ImplementationNode) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- newInstance(Object[]) - Method in class com.google.inject.assistedinject.AssistedConstructor
-
Returns an instance of T, constructed using this constructor, with the supplied arguments.
- newInstance(Object...) - Method in interface com.google.inject.internal.ConstructionProxy
-
Constructs an instance of
T
for the given arguments. - newInstance(Object...) - Method in class com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy
- newInstance(Object...) - Method in class com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy
- newInstance(Object...) - Method in class com.google.inject.internal.ProxyFactory.ProxyConstructor
- newInstanceId(Key<?>) - Static method in class com.google.inject.grapher.NodeId
- newInstanceNode(InstanceNode) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Adds a new instance node to the graph.
- newInstanceNode(InstanceNode) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- newInstanceNode(T, Object) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
Returns a new instance node for the given
Binding
. - newInterfaceNode(Binding<?>) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
Returns a new interface node for the given
Binding
. - newInterfaceNode(InterfaceNode) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Adds a new interface node to the graph.
- newInterfaceNode(InterfaceNode) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- newMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.multibindings.MapBinder
-
Returns a new mapbinder that collects entries of
keyType
/valueType
in aMap
that is itself bound with no binding annotation. - newMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Annotation) - Static method in class com.google.inject.multibindings.MapBinder
-
Returns a new mapbinder that collects entries of
keyType
/valueType
in aMap
that is itself bound withannotation
. - newMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Class<? extends Annotation>) - Static method in class com.google.inject.multibindings.MapBinder
-
Returns a new mapbinder that collects entries of
keyType
/valueType
in aMap
that is itself bound withannotationType
. - newMapBinder(Binder, Class<K>, Class<V>) - Static method in class com.google.inject.multibindings.MapBinder
-
Returns a new mapbinder that collects entries of
keyType
/valueType
in aMap
that is itself bound with no binding annotation. - newMapBinder(Binder, Class<K>, Class<V>, Annotation) - Static method in class com.google.inject.multibindings.MapBinder
-
Returns a new mapbinder that collects entries of
keyType
/valueType
in aMap
that is itself bound withannotation
. - newMapBinder(Binder, Class<K>, Class<V>, Class<? extends Annotation>) - Static method in class com.google.inject.multibindings.MapBinder
-
Returns a new mapbinder that collects entries of
keyType
/valueType
in aMap
that is itself bound withannotationType
. - newMapRealBinder(Binder, TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
-
Returns a new mapbinder that collects entries of
keyType
/valueType
in aMap
that is itself bound with no binding annotation. - newNullEntryException(int) - Method in class com.google.inject.internal.RealMultibinder.RealMultibinderProvider
- newOptionalBinder(Binder, Key<T>) - Static method in class com.google.inject.multibindings.OptionalBinder
- newOptionalBinder(Binder, TypeLiteral<T>) - Static method in class com.google.inject.multibindings.OptionalBinder
- newOptionalBinder(Binder, Class<T>) - Static method in class com.google.inject.multibindings.OptionalBinder
- newParameterizedType(Type, Type...) - Static method in class com.google.inject.util.Types
-
Returns a new parameterized type, applying
typeArguments
torawType
. - newParameterizedTypeWithOwner(Type, Type, Type...) - Static method in class com.google.inject.util.Types
-
Returns a new parameterized type, applying
typeArguments
torawType
and enclosed byownerType
. - newPrivateBinder() - Method in interface com.google.inject.Binder
-
Creates a new private child environment for bindings and other configuration.
- newPrivateBinder() - Method in class com.google.inject.spi.Elements.RecordingBinder
- newRealMapBinder(Binder, TypeLiteral<K>, Key<V>) - Static method in class com.google.inject.internal.RealMapBinder
- newRealMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Key<Map<K, V>>, RealMultibinder<Map.Entry<K, Provider<V>>>) - Static method in class com.google.inject.internal.RealMapBinder
- newRealMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Annotation) - Static method in class com.google.inject.internal.RealMapBinder
-
Returns a new mapbinder that collects entries of
keyType
/valueType
in aMap
that is itself bound withannotation
. - newRealMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Class<? extends Annotation>) - Static method in class com.google.inject.internal.RealMapBinder
-
Returns a new mapbinder that collects entries of
keyType
/valueType
in aMap
that is itself bound withannotationType
. - newRealOptionalBinder(Binder, Key<T>) - Static method in class com.google.inject.internal.RealOptionalBinder
- newRealSetBinder(Binder, Key<T>) - Static method in class com.google.inject.internal.RealMultibinder
-
Implementation of newSetBinder.
- newRequestUri - Variable in class com.google.inject.servlet.ManagedServletPipeline.RequestDispatcherRequestWrapper
- newSetBinder(Binder, Key<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of the key's type in a
Set
that is itself bound with the annotation (if any) of the key. - newSetBinder(Binder, TypeLiteral<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of
type
in aSet
that is itself bound with no binding annotation. - newSetBinder(Binder, TypeLiteral<T>, Annotation) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of
type
in aSet
that is itself bound withannotation
. - newSetBinder(Binder, TypeLiteral<T>, Class<? extends Annotation>) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of
type
in aSet
that is itself bound withannotationType
. - newSetBinder(Binder, Class<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of
type
in aSet
that is itself bound with no binding annotation. - newSetBinder(Binder, Class<T>, Annotation) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of
type
in aSet
that is itself bound withannotation
. - newSetBinder(Binder, Class<T>, Class<? extends Annotation>) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of
type
in aSet
that is itself bound withannotationType
. - newTypeId(Key<?>) - Static method in class com.google.inject.grapher.NodeId
- next - Variable in class com.google.inject.internal.aop.ImmutableStringTrie.Overflow
- next - Variable in class com.google.inject.spi.InjectionPoint.InjectableMember
- nextPivotColumn(String[], int, int, int) - Static method in class com.google.inject.internal.aop.ImmutableStringTrie
-
Finds the next column in the current row whose character differs in at least one other row.
- nextPivotRow(String[], char, int, int, int) - Static method in class com.google.inject.internal.aop.ImmutableStringTrie
-
Finds the next row that has a different character in the selected column to the given one, or is too short to include the column.
- nextUniqueId - Static variable in class com.google.inject.internal.RealElement
- nextUniqueValue - Static variable in class com.google.inject.internal.UniqueAnnotations
- NO_ANNOTATIONS - Static variable in class com.google.inject.internal.KotlinSupport.KotlinUnsupported
- NO_ARGUMENTS - Static variable in class com.google.inject.internal.SingleParameterInjector
- NO_JIT - Enum constant in enum class com.google.inject.internal.InjectorImpl.JitLimitation
-
does not allow just in time bindings
- NO_SCOPE - Static variable in class com.google.inject.Scopes
-
No scope; the same as not applying any scope at all.
- Node - Class in com.google.inject.grapher
-
Node in a guice dependency graph.
- Node(NodeId, Object) - Constructor for class com.google.inject.grapher.Node
- nodeCreator - Variable in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- nodeCreator - Variable in class com.google.inject.grapher.AbstractInjectorGrapher
- NodeCreator - Interface in com.google.inject.grapher
-
Creator of graph nodes.
- nodeId - Variable in class com.google.inject.grapher.graphviz.GraphvizNode
- NodeId - Class in com.google.inject.grapher
-
ID of a node in the graph.
- NodeId(Key<?>, NodeId.NodeType) - Constructor for class com.google.inject.grapher.NodeId
- NodeId.NodeType - Enum Class in com.google.inject.grapher
-
Type of node.
- nodes - Variable in class com.google.inject.grapher.graphviz.GraphvizGrapher
- NodeShape - Enum Class in com.google.inject.grapher.graphviz
-
Enum for the shapes that are most interesting for Guice graphing.
- NodeShape(String) - Constructor for enum class com.google.inject.grapher.graphviz.NodeShape
- NodeStyle - Enum Class in com.google.inject.grapher.graphviz
-
Styles for nodes.
- NodeStyle(String) - Constructor for enum class com.google.inject.grapher.graphviz.NodeStyle
- nodeType - Variable in class com.google.inject.grapher.NodeId
- NodeType() - Constructor for enum class com.google.inject.grapher.NodeId.NodeType
- NodeVisitor() - Constructor for class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
- NONE - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- NONE - Enum constant in enum class com.google.inject.grapher.graphviz.NodeShape
- NORMAL - Enum constant in enum class com.google.inject.grapher.BindingEdge.Type
-
Binding is to an instance or class of the binding's same type.
- NORMAL - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- NORMAL_OPEN - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- normalizePath(String) - Static method in class com.google.inject.servlet.ServletUtils
-
Normalizes a path by unescaping all safe, percent encoded characters.
- NORTH - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- NORTH_EAST - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- NORTH_WEST - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- not(Matcher<? super T>) - Static method in class com.google.inject.matcher.Matchers
-
Inverts the given matcher.
- Not(Matcher<? super T>) - Constructor for class com.google.inject.matcher.Matchers.Not
- NOT_A_SUBTYPE - Enum constant in enum class com.google.inject.internal.ErrorId
- notASubtype(Class<?>, Class<?>) - Method in class com.google.inject.internal.Errors
- notify(Errors) - Method in class com.google.inject.internal.BoundProviderFactory
- notify(Errors) - Method in interface com.google.inject.internal.CreationListener
-
Notifies that creation should happen.
- notify(Errors) - Method in class com.google.inject.internal.ExposedKeyFactory
- notify(Errors) - Method in class com.google.inject.internal.FactoryProxy
- notifyListeners(T) - Method in class com.google.inject.internal.MembersInjectorImpl
- NotSyntheticOrBridgePredicate() - Constructor for class com.google.inject.throwingproviders.ProviderChecker.NotSyntheticOrBridgePredicate
- NULL - Static variable in class com.google.inject.internal.SingletonScope
-
A sentinel value representing null.
- NULL_ELEMENT_IN_SET - Enum constant in enum class com.google.inject.internal.ErrorId
- NULL_INJECTED_INTO_NON_NULLABLE - Enum constant in enum class com.google.inject.internal.ErrorId
- NULL_KEY - Static variable in class com.google.inject.internal.AbstractBindingBuilder
- NULL_VALUE_IN_MAP - Enum constant in enum class com.google.inject.internal.ErrorId
- Nullability - Class in com.google.inject.internal
-
Whether a member supports null values injected.
- Nullability() - Constructor for class com.google.inject.internal.Nullability
- nullable - Variable in class com.google.inject.spi.Dependency
- NULLABLE_PROVIDES - Static variable in class com.google.inject.internal.InternalFlags
- NullableProvidesOption() - Constructor for enum class com.google.inject.internal.InternalFlags.NullableProvidesOption
- NullAnnotationStrategy() - Constructor for enum class com.google.inject.Key.NullAnnotationStrategy
- NullObject() - Constructor for enum class com.google.inject.servlet.ServletScopes.NullObject
O
- OBJECT_ARRAY_TYPE - Static variable in class com.google.inject.internal.aop.FastClass
- of(TypeLiteral<P>, T) - Static method in class com.google.inject.throwingproviders.CheckedProviders
-
Returns a
CheckedProvider
which always providesinstance
. - of(Class<P>, T) - Static method in class com.google.inject.throwingproviders.CheckedProviders
-
Returns a
CheckedProvider
which always providesinstance
. - of(T) - Static method in class com.google.inject.internal.Initializables
-
Returns an initializable for an instance that requires no initialization.
- of(T) - Static method in class com.google.inject.util.Providers
-
Returns a provider which always provides
instance
. - OFF - Enum constant in enum class com.google.inject.internal.InternalFlags.ColorizeOption
- OFF - Enum constant in enum class com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Define fast/enhanced types in the same class loader as their original type, never creates class loaders.
- OFF - Enum constant in enum class com.google.inject.internal.InternalFlags.IncludeStackTraceOption
-
No stack trace collection
- ofType(TypeLiteral<U>) - Method in class com.google.inject.Key
-
Returns a new key of the specified type with the same annotation as this key.
- ofType(Class<U>) - Method in class com.google.inject.Key
-
Returns a new key of the specified type with the same annotation as this key.
- ofType(Type) - Method in class com.google.inject.Key
-
Returns a new key of the specified type with the same annotation as this key.
- omitPreposition - Variable in class com.google.inject.internal.SourceFormatter
- ON - Enum constant in enum class com.google.inject.internal.InternalFlags.ColorizeOption
- only(Object) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches objects equal to the given object.
- Only(Object) - Constructor for class com.google.inject.matcher.Matchers.Only
- ONLY_FOR_DECLARING_SOURCE - Enum constant in enum class com.google.inject.internal.InternalFlags.IncludeStackTraceOption
-
Minimum stack trace collection (Default)
- onNullInjectedIntoNonNullableDependency(Object, Dependency<?>) - Static method in exception class com.google.inject.internal.InternalProvisionException
-
Returns
value
if it is non-null or allowed to be null. - onProvision(ProvisionListener.ProvisionInvocation<T>) - Method in interface com.google.inject.spi.ProvisionListener
-
Invoked by Guice when an object requires provisioning.
- open() - Method in class com.google.inject.servlet.GuiceFilter.Context
- open() - Method in interface com.google.inject.servlet.RequestScoper
-
Opens up the request scope until the returned object is closed.
- open() - Method in class com.google.inject.servlet.ServletScopes.Context
- optimized - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
- optional - Variable in class com.google.inject.spi.InjectionPoint.InjectableMember
- optional - Variable in class com.google.inject.spi.InjectionPoint
- optional() - Element in annotation interface com.google.inject.Inject
-
If true, and the appropriate binding is not found, the Injector will skip injection of this method or field rather than produce an error.
- OPTIONAL_CONSTRUCTOR - Enum constant in enum class com.google.inject.internal.ErrorId
- OptionalBinder<T> - Class in com.google.inject.multibindings
-
An API to bind optional values, optionally with a default value.
- OptionalBinder(RealOptionalBinder<T>) - Constructor for class com.google.inject.multibindings.OptionalBinder
- OptionalBinderBinding<T> - Interface in com.google.inject.multibindings
-
A binding for a OptionalBinder.
- optionalConstructor(Constructor<?>) - Method in class com.google.inject.internal.Errors
- optionalKey - Variable in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- optionalKey - Variable in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- optionalOf(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealOptionalBinder
- optionalOfJavaxProvider(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealOptionalBinder
- optionalOfProvider(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealOptionalBinder
- options - Variable in class com.google.inject.internal.InjectorImpl
- options - Variable in class com.google.inject.internal.InjectorShell.Builder
- options - Variable in class com.google.inject.internal.InternalContext
- or(Matcher<? super T>) - Method in class com.google.inject.matcher.AbstractMatcher
- or(Matcher<? super T>) - Method in interface com.google.inject.matcher.Matcher
-
Returns a new matcher which returns
true
if either this or the given matcher returntrue
. - original - Variable in class com.google.inject.internal.BindingAlreadySetError
- originalBinding - Variable in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- originalElementSource - Variable in class com.google.inject.spi.ElementSource
-
The
source
of element that this element created from (if there is any), otherwisenull
. - originalFactory - Variable in class com.google.inject.internal.InternalProviderInstanceBindingImpl
- originalPattern - Variable in class com.google.inject.servlet.UriPatternType.RegexUriPatternMatcher
- originalPattern - Variable in class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher
- originalRequest - Variable in class com.google.inject.servlet.GuiceFilter.Context
- OrMatcher(Matcher<? super T>, Matcher<? super T>) - Constructor for class com.google.inject.matcher.AbstractMatcher.OrMatcher
- OTHER - Enum constant in enum class com.google.inject.internal.ErrorId
- out - Variable in class com.google.inject.grapher.graphviz.GraphvizGrapher
- OutOfScopeException - Exception Class in com.google.inject
-
Thrown from
Provider.get()
when an attempt is made to access a scoped object while the scope in question is not currently active. - OutOfScopeException(String) - Constructor for exception class com.google.inject.OutOfScopeException
- OutOfScopeException(String, Throwable) - Constructor for exception class com.google.inject.OutOfScopeException
- OutOfScopeException(Throwable) - Constructor for exception class com.google.inject.OutOfScopeException
- Overflow(char[], String, ToIntFunction<String>) - Constructor for class com.google.inject.internal.aop.ImmutableStringTrie.Overflow
- overflowKey - Variable in class com.google.inject.internal.aop.ImmutableStringTrie.Overflow
- OVERRIDABLE_OBJECT_METHODS - Static variable in class com.google.inject.internal.aop.ClassBuilding
- override() - Static method in class com.google.inject.util.Modules
-
Deprecated.there's no reason to use
Modules.override()
without any arguments. - override(Module...) - Static method in class com.google.inject.util.Modules
-
Returns a builder that creates a module that overlays override modules over the given modules.
- override(Iterable<? extends Module>) - Static method in class com.google.inject.util.Modules
-
Returns a builder that creates a module that overlays override modules over the given modules.
- OverrideIndex(InjectionPoint.InjectableMembers) - Constructor for class com.google.inject.spi.InjectionPoint.OverrideIndex
- OverrideModule(Iterable<? extends Module>, ImmutableSet<Module>) - Constructor for class com.google.inject.util.Modules.OverrideModule
- overrides - Variable in class com.google.inject.util.Modules.OverrideModule
- overrides(Method, Method) - Static method in class com.google.inject.internal.ProviderMethodsModule
-
Returns true if a overrides b, assumes that the signatures match
- overrides(Method, Method) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns true if a overrides b.
- overrodeGuiceInject - Variable in class com.google.inject.spi.InjectionPoint.InjectableMethod
-
true if this method overrode a method that was annotated with com.google.inject.Inject.
- ownerType - Variable in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
P
- PACKAGE_JOINER - Static variable in class com.google.inject.internal.PackageNameCompressor
- PACKAGE_SPLITTER - Static variable in class com.google.inject.internal.PackageNameCompressor
- packageName - Variable in class com.google.inject.matcher.Matchers.InPackage
- packageName(String) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Extract the package name from a class name.
- PackageNameCompressor - Class in com.google.inject.internal
-
Munges an error message to remove/shorten package names and adds a legend at the end.
- PackageNameCompressor() - Constructor for class com.google.inject.internal.PackageNameCompressor
- PACKAGES_SKIPPED_IN_LEGEND - Static variable in class com.google.inject.internal.PackageNameCompressor
- packArguments(MethodVisitor, Class<?>[]) - Static method in class com.google.inject.internal.aop.BytecodeTasks
-
Packs local arguments into an argument array on the Java stack.
- paramCanBeInjected(Parameter, Injector) - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- Parameter - Class in com.google.inject.assistedinject
-
Models a method or constructor parameter.
- Parameter(Type, Annotation[]) - Constructor for class com.google.inject.assistedinject.Parameter
- parameterIndex - Variable in class com.google.inject.spi.Dependency
- parameterinjectors - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- parameterInjectors - Variable in class com.google.inject.internal.ConstructorInjector
- parameterInjectors - Variable in class com.google.inject.internal.ProviderMethod
-
Set by
ProviderMethod.initialize(InjectorImpl, Errors)
so it is always available prior to injection. - parameterInjectors - Variable in class com.google.inject.internal.SingleMethodInjector
- ParameterizedTypeImpl(Type, Type, Type...) - Constructor for class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- ParameterListKey - Class in com.google.inject.assistedinject
-
A list of
TypeLiteral
s to match an injectable Constructor's assited parameter types to the corresponding factory method. - ParameterListKey(Type[]) - Constructor for class com.google.inject.assistedinject.ParameterListKey
- ParameterListKey(List<Type>) - Constructor for class com.google.inject.assistedinject.ParameterListKey
- parameterProviders - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- parameters - Variable in class com.google.inject.internal.ProviderMethodsModule.Signature
- parametersKey(Class<?>[]) - Static method in class com.google.inject.internal.aop.MethodPartition
-
Each method is uniquely identified in the partition by its actual parameter types.
- parameterTypes - Variable in class com.google.inject.spi.InjectionPoint.Signature
- paramList - Variable in class com.google.inject.assistedinject.ParameterListKey
- paramTypes - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
-
the parameters in the factory method associated with this data.
- parent - Variable in class com.google.inject.internal.Errors
-
The parent errors object.
- parent - Variable in class com.google.inject.internal.InjectorBindingData
- parent - Variable in class com.google.inject.internal.InjectorImpl
- parent - Variable in class com.google.inject.internal.InjectorJitBindingData
- parent - Variable in class com.google.inject.internal.InjectorShell.Builder
- parent - Variable in class com.google.inject.internal.util.SourceProvider
- parent - Variable in class com.google.inject.spi.Elements.RecordingBinder
-
The binder where exposed bindings will be created
- parent - Variable in class com.google.inject.spi.ModuleSource
-
The parent
module source
. - parent() - Method in class com.google.inject.internal.InjectorBindingData
- parent(InjectorImpl) - Method in class com.google.inject.internal.InjectorShell.Builder
- parentInjector(InjectorImpl) - Method in class com.google.inject.internal.InternalInjectorCreator
-
Sets the parent of the injector to-be-constructed.
- parsePatterns(UriPatternType, List<String>) - Method in class com.google.inject.servlet.FiltersModuleBuilder
- parsePatterns(UriPatternType, List<String>) - Method in class com.google.inject.servlet.ServletsModuleBuilder
- partialValue - Variable in exception class com.google.inject.ConfigurationException
- partitionMethod(Method, Map<String, Object>) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Methods are partitioned by name and parameter count.
- pattern - Variable in class com.google.inject.servlet.UriPatternType.RegexUriPatternMatcher
- patternKind - Variable in class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher
- patternMatcher - Variable in class com.google.inject.servlet.AbstractServletModuleBinding
- patternMatcher - Variable in class com.google.inject.servlet.FilterDefinition
- patternMatcher - Variable in class com.google.inject.servlet.ServletDefinition
- pendingInjections - Variable in class com.google.inject.internal.Initializer
-
Instances that need injection during injector creation to a source that registered them.
- pendingMethod - Variable in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- PerKeyData(K, Binding<V>[], SingleParameterInjector<V>[]) - Constructor for class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider.PerKeyData
- perKeyDatas - Variable in class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider
- permitDuplicates - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
-
whether duplicates are allowed.
- permitDuplicates - Variable in class com.google.inject.internal.RealMultibinder.RealMultibinderProvider
- permitDuplicates() - Method in class com.google.inject.internal.RealMapBinder
- permitDuplicates() - Method in class com.google.inject.internal.RealMultibinder
- permitDuplicates() - Method in class com.google.inject.multibindings.MapBinder
-
Configures the
MapBinder
to handle duplicate entries. - permitDuplicates() - Method in class com.google.inject.multibindings.Multibinder
-
Configures the bound set to silently discard duplicate elements.
- permitDuplicatesKey - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- PermitDuplicatesModule(Key<Boolean>) - Constructor for class com.google.inject.internal.RealMultibinder.PermitDuplicatesModule
- permitMap - Variable in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
- permitMap - Variable in class com.google.inject.spi.ModuleSource
-
Permit map created by the binder that installed this module.
- permitMapConstruction - Variable in class com.google.inject.spi.Elements.RecordingBinder
- PermitMapConstruction() - Constructor for class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
- PermitMapImpl() - Constructor for class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction.PermitMapImpl
- permits() - Element in annotation interface com.google.inject.RestrictedBindingSource
-
List of
Permit
annotations (must be non-empty), one of which has has to be present on a restricted binding's source (defined in top-level javadoc). - permitsDuplicates - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
-
Indicates if this Map permits duplicates.
- permitsDuplicates() - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
- permitsDuplicates() - Method in class com.google.inject.internal.RealMapBinder.ExtensionRealMapProvider
- permitsDuplicates() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- permitsDuplicates() - Method in class com.google.inject.internal.RealMultibinder.ExtensionRealMultibinderProvider
- permitsDuplicates() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns true if the MapBinder permits duplicates.
- permitsDuplicates() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns true if the multibinder permits duplicates.
- permitsDuplicates(Injector) - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- permitsDuplicates(Injector) - Method in class com.google.inject.internal.RealMultibinder
- pipeline - Static variable in class com.google.inject.servlet.GuiceFilter
- plusSkippedClasses(Class<?>...) - Method in class com.google.inject.internal.util.SourceProvider
-
Returns a new instance that also skips
moreClassesToSkip
. - popModule() - Method in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
-
Called by the Binder when it exits a module's configure method.
- portIdFactory - Variable in class com.google.inject.grapher.graphviz.GraphvizGrapher
- PortIdFactory - Interface in com.google.inject.grapher.graphviz
-
Interface for a service that returns Graphviz port IDs, used for naming the rows in
ImplementationNode
-displayingGraphvizNode
s. - PortIdFactoryImpl - Class in com.google.inject.grapher.graphviz
-
Implementation of
PortIdFactory
. - PortIdFactoryImpl() - Constructor for class com.google.inject.grapher.graphviz.PortIdFactoryImpl
- position - Variable in class com.google.inject.internal.AbstractBindingBuilder
-
The index of the new binding in
AbstractBindingBuilder.elements
. - position - Variable in class com.google.inject.spi.InjectionPoint.OverrideIndex
- Position() - Constructor for enum class com.google.inject.spi.InjectionPoint.Position
- postProcess() - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Performs any post processing required after all nodes and edges have been added.
- postProcess() - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- PREFIX - Enum constant in enum class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher.Kind
- prepareBinding() - Method in class com.google.inject.internal.AbstractBindingProcessor.Processor
- prepareBuiltInConverters(InjectorImpl) - Static method in class com.google.inject.internal.TypeConverterBindingProcessor
-
Installs default converters for primitives, enums, and class literals.
- prepareMethod(Binder, Annotation, Key<T>, InjectionPoint) - Method in class com.google.inject.internal.ProvidesMethodScanner
- prepareMethod(Binder, Annotation, Key<T>, InjectionPoint) - Method in class com.google.inject.spi.ModuleAnnotatedMethodScanner
-
Prepares a method for binding.
- preposition(String) - Method in class com.google.inject.internal.SourceFormatter
- previous - Variable in class com.google.inject.spi.InjectionPoint.InjectableMember
- primaryInjector() - Method in class com.google.inject.internal.InternalInjectorCreator
-
Returns the injector being constructed.
- PRIMITIVE_TO_WRAPPER - Static variable in class com.google.inject.internal.MoreTypes
- PRIVATE_LOOKUP - Enum constant in enum class com.google.inject.assistedinject.FactoryProvider2.SuperMethodLookup
- PrivateBinder - Interface in com.google.inject
-
Returns a binder whose configuration information is hidden from its environment by default.
- privateBindersForScanning - Variable in class com.google.inject.spi.Elements.RecordingBinder
-
All children private binders, so we can scan through them.
- PrivateElementProcessor - Class in com.google.inject.internal
-
Handles
Binder.newPrivateBinder()
elements. - PrivateElementProcessor(Errors) - Constructor for class com.google.inject.internal.PrivateElementProcessor
- privateElements - Variable in class com.google.inject.internal.ExposedBindingImpl
- privateElements - Variable in class com.google.inject.internal.ExposedKeyFactory
- privateElements - Variable in class com.google.inject.internal.InjectorShell.Builder
-
null unless this exists in a
private environment
- privateElements - Variable in class com.google.inject.spi.Elements.RecordingBinder
- privateElements(PrivateElements) - Method in class com.google.inject.internal.InjectorShell.Builder
- PrivateElements - Interface in com.google.inject.spi
-
A private collection of elements that are hidden from the enclosing injector or module by default.
- PrivateElementsImpl - Class in com.google.inject.internal
- PrivateElementsImpl(Object) - Constructor for class com.google.inject.internal.PrivateElementsImpl
- PrivateLookup() - Constructor for class com.google.inject.assistedinject.FactoryProvider2.PrivateLookup
- privateLookupCxtor - Static variable in class com.google.inject.assistedinject.FactoryProvider2.PrivateLookup
- PrivateModule - Class in com.google.inject
-
A module whose configuration information is hidden from its environment by default.
- PrivateModule() - Constructor for class com.google.inject.PrivateModule
- proceed() - Method in class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
- proceedingChain - Variable in class com.google.inject.servlet.FilterChainInvocation
- process(InjectorImpl, List<Element>) - Method in class com.google.inject.internal.AbstractProcessor
- process(Iterable<InjectorShell>) - Method in class com.google.inject.internal.AbstractProcessor
- processedBindingData - Variable in class com.google.inject.internal.AbstractBindingProcessor
- processedBindingData - Variable in class com.google.inject.internal.InternalInjectorCreator
- ProcessedBindingData - Class in com.google.inject.internal
-
Keeps track of creation listeners invalid input: '&' uninitialized bindings, so they can be processed after bindings are recorded.
- ProcessedBindingData() - Constructor for class com.google.inject.internal.ProcessedBindingData
- Processor(BindingImpl<T>) - Constructor for class com.google.inject.internal.AbstractBindingProcessor.Processor
- PRODUCTION - Enum constant in enum class com.google.inject.Stage
-
We want to catch errors as early as possible and take performance hits up front.
- PROVIDED_BY - Enum constant in enum class com.google.inject.internal.Indexer.BindingType
- providedBinding - Variable in class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- ProvidedBy - Annotation Interface in com.google.inject
-
A pointer to the default provider type for a type.
- ProvidedByInternalFactory<T> - Class in com.google.inject.internal
-
An
InternalFactory
for @ProvidedBy
bindings. - ProvidedByInternalFactory(Class<?>, Class<? extends Provider<?>>, Key<? extends Provider<T>>) - Constructor for class com.google.inject.internal.ProvidedByInternalFactory
- provideHttpServletRequest() - Method in class com.google.inject.servlet.InternalServletModule
- provideHttpServletResponse() - Method in class com.google.inject.servlet.InternalServletModule
- provideHttpSession() - Method in class com.google.inject.servlet.InternalServletModule
- provider - Variable in class com.google.inject.assistedinject.Parameter
- provider - Variable in class com.google.inject.internal.BindingImpl
- provider - Variable in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- provider - Variable in class com.google.inject.internal.InternalFactoryToProviderAdapter
- Provider<T> - Interface in com.google.inject
-
An object capable of providing instances of type
T
. - PROVIDER - Enum constant in enum class com.google.inject.grapher.BindingEdge.Type
-
Binding is to an instance or class that provides the binding's type.
- PROVIDER_INSTANCE - Enum constant in enum class com.google.inject.internal.Indexer.BindingType
- PROVIDER_KEY - Enum constant in enum class com.google.inject.internal.Indexer.BindingType
- ProviderAliasCreator - Class in com.google.inject.grapher
-
Alias creator that creates an alias for each
ProviderBinding
. - ProviderAliasCreator() - Constructor for class com.google.inject.grapher.ProviderAliasCreator
- providerBinding - Variable in class com.google.inject.internal.ProvidedByInternalFactory
- ProviderBinding<T> - Interface in com.google.inject.spi
-
A binding to a
Provider
that delegates to the binding for the provided type. - ProviderChecker - Class in com.google.inject.throwingproviders
-
Helper methods to verify the correctness of CheckedProvider interfaces.
- ProviderChecker() - Constructor for class com.google.inject.throwingproviders.ProviderChecker
- ProviderChecker.NotSyntheticOrBridgePredicate - Class in com.google.inject.throwingproviders
- providerCollectionMultimapKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- providerDependencies - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- providerDependencies - Variable in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- providerDependencies() - Method in class com.google.inject.internal.RealOptionalBinder.BindingSelection
- provideRequestParameters(ServletRequest) - Method in class com.google.inject.servlet.InternalServletModule
- providerFactory - Variable in class com.google.inject.internal.BoundProviderFactory
- providerInstance - Variable in class com.google.inject.internal.ProviderInstanceBindingImpl
- ProviderInstanceBinding<T> - Interface in com.google.inject.spi
-
A binding to a provider instance.
- ProviderInstanceBindingImpl<T> - Class in com.google.inject.internal
- ProviderInstanceBindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping, Provider<? extends T>, Set<InjectionPoint>) - Constructor for class com.google.inject.internal.ProviderInstanceBindingImpl
- ProviderInstanceBindingImpl(Object, Key<T>, Scoping, Set<InjectionPoint>, Provider<? extends T>) - Constructor for class com.google.inject.internal.ProviderInstanceBindingImpl
- ProviderInternalFactory<T> - Class in com.google.inject.internal
-
Base class for InternalFactories that are used by Providers, to handle circular dependencies.
- ProviderInternalFactory(Object) - Constructor for class com.google.inject.internal.ProviderInternalFactory
- providerKey - Variable in class com.google.inject.internal.BoundProviderFactory
- providerKey - Variable in class com.google.inject.internal.LinkedProviderBindingImpl
- providerKey - Variable in class com.google.inject.internal.ProvidedByInternalFactory
- providerKey() - Method in class com.google.inject.Key
-
Gets the key of this key's provider.
- ProviderKeyBinding<T> - Interface in com.google.inject.spi
-
A binding to a provider key.
- ProviderLookup<T> - Class in com.google.inject.spi
-
A lookup of the provider for a type.
- ProviderLookup(Object, Key<T>) - Constructor for class com.google.inject.spi.ProviderLookup
- ProviderLookup(Object, Dependency<T>) - Constructor for class com.google.inject.spi.ProviderLookup
- providerLookups - Variable in class com.google.inject.internal.InjectorBindingData
- ProviderMapEntry(K, Key<V>) - Constructor for class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- providerMapKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- ProviderMethod<T> - Class in com.google.inject.internal
-
A provider that invokes a method and returns its result.
- ProviderMethod(Key<T>, Method, Object, ImmutableSet<Dependency<?>>, Class<? extends Annotation>, Annotation) - Constructor for class com.google.inject.internal.ProviderMethod
- ProviderMethod.FastClassProviderMethod<T> - Class in com.google.inject.internal
-
A
ProviderMethod
implementation that uses bytecode generation to invoke the provider method. - ProviderMethod.ReflectionProviderMethod<T> - Class in com.google.inject.internal
-
A
ProviderMethod
implementation that invokes the method using normal java reflection. - ProviderMethodsModule - Class in com.google.inject.internal
-
Creates bindings to methods annotated with @
Provides
. - ProviderMethodsModule(Object, boolean, ModuleAnnotatedMethodScanner) - Constructor for class com.google.inject.internal.ProviderMethodsModule
- ProviderMethodsModule.MethodAndAnnotation - Class in com.google.inject.internal
- ProviderMethodsModule.Signature - Class in com.google.inject.internal
- providerOf(Key<T>) - Static method in class com.google.inject.internal.RealOptionalBinder
- providerOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type modelling a
Provider
that provides elements of typeelementType
. - providers - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
-
the list of optimized providers, empty if not optimized.
- providers - Variable in class com.google.inject.internal.RealMultibinder.RealMultibinderCollectionOfProvidersProvider
- Providers - Class in com.google.inject.util
-
Static utility methods for creating and working with instances of
Provider
. - Providers() - Constructor for class com.google.inject.util.Providers
- Providers.ConstantProvider<T> - Class in com.google.inject.util
- Providers.GuicifiedProvider<T> - Class in com.google.inject.util
- Providers.GuicifiedProviderWithDependencies<T> - Class in com.google.inject.util
- providerSetMultimapKey - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- ProviderToInternalFactoryAdapter<T> - Class in com.google.inject.internal
- ProviderToInternalFactoryAdapter(InjectorImpl, InternalFactory<? extends T>) - Constructor for class com.google.inject.internal.ProviderToInternalFactoryAdapter
- providerType - Variable in class com.google.inject.internal.ProvidedByInternalFactory
- providerType() - Method in class com.google.inject.TypeLiteral
-
Gets the type of this type's provider.
- ProviderWithDependencies<T> - Interface in com.google.inject.spi
-
A provider with dependencies on other injected types.
- ProviderWithExtensionVisitor<T> - Interface in com.google.inject.spi
-
A Provider that is part of an extension which supports a custom BindingTargetVisitor.
- Provides - Annotation Interface in com.google.inject
-
Annotates methods of a
Module
to create a provider method binding. - provideScopingOnlyGuiceFilter() - Method in class com.google.inject.servlet.InternalServletModule
- ProvidesIntoMap - Annotation Interface in com.google.inject.multibindings
- ProvidesIntoOptional - Annotation Interface in com.google.inject.multibindings
-
Annotates methods of a
Module
to add items to aMultibinder
. - ProvidesIntoOptional.Type - Enum Class in com.google.inject.multibindings
- ProvidesIntoSet - Annotation Interface in com.google.inject.multibindings
-
Annotates methods of a
Module
to add items to aMultibinder
. - ProvidesMethodBinding<T> - Interface in com.google.inject.spi
-
An @
Provides
binding or binding produced by aModuleAnnotatedMethodScanner
. - ProvidesMethodScanner - Class in com.google.inject.internal
-
A
ModuleAnnotatedMethodScanner
that handles the ,ProvidesIntoSet
,ProvidesIntoMap
andProvidesIntoOptional
annotations. - ProvidesMethodScanner() - Constructor for class com.google.inject.internal.ProvidesMethodScanner
- ProvidesMethodScanner.AnnotationOrError - Class in com.google.inject.internal
- ProvidesMethodScanner.TypeAndValue<T> - Class in com.google.inject.internal
- ProvidesMethodTargetVisitor<T,
V> - Interface in com.google.inject.spi -
A visitor for the @
Provides
bindings. - providing(TypeLiteral<? extends T>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- providing(Class<? extends T>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- provision() - Method in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
- provision() - Method in class com.google.inject.spi.ProvisionListener.ProvisionInvocation
-
Performs the provision, returning the object provisioned.
- provision(InternalContext, ConstructionContext<T>) - Method in class com.google.inject.internal.ConstructorInjector
-
Provisions a new T.
- provision(InternalContext, ProvisionListenerStackCallback.ProvisionCallback<T>) - Method in class com.google.inject.internal.ProvisionListenerStackCallback
- provision(Dependency<?>, InternalContext, ConstructionContext<T>) - Method in class com.google.inject.internal.InternalProviderInstanceBindingImpl.CyclicFactory
- provision(Provider<? extends T>, Dependency<?>, ConstructionContext<T>) - Method in class com.google.inject.internal.BoundProviderFactory
- provision(Provider<? extends T>, Dependency<?>, ConstructionContext<T>) - Method in class com.google.inject.internal.InternalFactoryToInitializableAdapter
- provision(Provider<? extends T>, Dependency<?>, ConstructionContext<T>) - Method in class com.google.inject.internal.ProvidedByInternalFactory
- provision(Provider<? extends T>, Dependency<?>, ConstructionContext<T>) - Method in class com.google.inject.internal.ProviderInternalFactory
-
Provisions a new instance.
- Provision(ProvisionListenerStackCallback.ProvisionCallback<T>) - Constructor for class com.google.inject.internal.ProvisionListenerStackCallback.Provision
- provisionCallback - Variable in class com.google.inject.internal.BoundProviderFactory
- provisionCallback - Variable in class com.google.inject.internal.ConstructorBindingImpl.Factory
- provisionCallback - Variable in class com.google.inject.internal.Initializer.InjectableReference
- provisionCallback - Variable in class com.google.inject.internal.InternalFactoryToInitializableAdapter
- provisionCallback - Variable in class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
- provisionCallback - Variable in class com.google.inject.internal.ProvidedByInternalFactory
- ProvisionException - Exception Class in com.google.inject
-
Indicates that there was a runtime failure while providing an instance.
- ProvisionException(Iterable<Message>) - Constructor for exception class com.google.inject.ProvisionException
-
Creates a ProvisionException containing
messages
. - ProvisionException(String) - Constructor for exception class com.google.inject.ProvisionException
- ProvisionException(String, Throwable) - Constructor for exception class com.google.inject.ProvisionException
- ProvisionInvocation() - Constructor for class com.google.inject.spi.ProvisionListener.ProvisionInvocation
- ProvisionListener - Interface in com.google.inject.spi
-
Listens for provisioning of objects.
- ProvisionListener.ProvisionInvocation<T> - Class in com.google.inject.spi
-
Encapsulates a single act of provisioning.
- ProvisionListenerBinding - Class in com.google.inject.spi
-
Binds keys (picked using a Matcher) to a provision listener.
- ProvisionListenerBinding(Object, Matcher<? super Binding<?>>, ProvisionListener[]) - Constructor for class com.google.inject.spi.ProvisionListenerBinding
- provisionListenerBindings - Variable in class com.google.inject.internal.InjectorBindingData
- ProvisionListenerCallbackStore - Class in com.google.inject.internal
-
ProvisionListenerStackCallback
for each key. - ProvisionListenerCallbackStore(List<ProvisionListenerBinding>) - Constructor for class com.google.inject.internal.ProvisionListenerCallbackStore
- ProvisionListenerCallbackStore.KeyBinding - Class in com.google.inject.internal
-
A struct that holds key invalid input: '&' binding but uses just key for equality/hashcode.
- ProvisionListenerStackCallback<T> - Class in com.google.inject.internal
-
Intercepts provisions with a stack of listeners.
- ProvisionListenerStackCallback(Binding<T>, List<ProvisionListener>) - Constructor for class com.google.inject.internal.ProvisionListenerStackCallback
- ProvisionListenerStackCallback.Provision - Class in com.google.inject.internal
- ProvisionListenerStackCallback.ProvisionCallback<T> - Interface in com.google.inject.internal
- provisionListenerStore - Variable in class com.google.inject.internal.InjectorImpl
-
Cached provision listener callbacks for each key.
- proxy - Variable in class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
- ProxyConstructor(InjectionPoint, Function<String, BiFunction<Object, Object[], Object>>, ImmutableMap<Method, List<MethodInterceptor>>, InvocationHandler[]) - Constructor for class com.google.inject.internal.ProxyFactory.ProxyConstructor
- ProxyFactory<T> - Class in com.google.inject.internal
-
Builds a construction proxy that can participate in AOP.
- ProxyFactory(InjectionPoint, Iterable<MethodAspect>) - Constructor for class com.google.inject.internal.ProxyFactory
- ProxyFactory.ProxyConstructor<T> - Class in com.google.inject.internal
-
Constructs instances that participate in AOP.
- proxyName - Variable in class com.google.inject.internal.aop.AbstractGlueGenerator
- proxyName(String, String, int) - Static method in class com.google.inject.internal.aop.AbstractGlueGenerator
-
Generates a unique name based on the original class name and marker.
- pruneStacktrace(Throwable) - Method in class com.google.inject.internal.InterceptorStackCallback
-
Removes stacktrace elements related to AOP internal mechanics from the throwable's stack trace and any causes it may have.
- pruneStacktrace(Throwable) - Method in class com.google.inject.servlet.FilterChainInvocation
-
Removes stacktrace elements related to AOP internal mechanics from the throwable's stack trace and any causes it may have.
- pushInteger(MethodVisitor, int) - Static method in class com.google.inject.internal.aop.BytecodeTasks
-
Pushes an integer onto the stack, choosing the most efficient opcode.
- pushInterfaces(Deque<Class<?>[]>, Class<?>[]) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Pushes the interface declaration onto the stack if it's not empty.
- pushModule(Class<?>, ModuleSource) - Method in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
-
Called by the Binder prior to entering a module's configure method.
- putBinding(BindingImpl<?>) - Method in class com.google.inject.internal.AbstractBindingProcessor
- putBinding(Key<?>, BindingImpl<?>) - Method in class com.google.inject.internal.InjectorBindingData
- putInjectionRequest(InjectionRequest<?>) - Method in class com.google.inject.internal.InjectorBindingData
- putJitBinding(Key<?>, BindingImpl<?>) - Method in class com.google.inject.internal.InjectorJitBindingData
- putMembersInjectorLookup(MembersInjectorLookup<?>) - Method in class com.google.inject.internal.InjectorBindingData
- putProviderLookup(ProviderLookup<?>) - Method in class com.google.inject.internal.InjectorBindingData
- putScopeBinding(Class<? extends Annotation>, ScopeBinding) - Method in class com.google.inject.internal.InjectorBindingData
- putStaticInjectionRequest(StaticInjectionRequest) - Method in class com.google.inject.internal.InjectorBindingData
Q
- quote - Variable in class com.google.inject.internal.Annotations.AnnotationToStringConfig
- quote(String) - Static method in class com.google.inject.tools.jmx.Manager
- QUOTED_PATTERN - Static variable in class com.google.inject.internal.PackageNameCompressor
R
- rankdir - Variable in class com.google.inject.grapher.graphviz.GraphvizGrapher
- RAW_INVOKER_DESCRIPTOR - Static variable in class com.google.inject.internal.aop.FastClass
- RAW_INVOKER_METHOD_TYPE - Static variable in class com.google.inject.internal.aop.Enhancer
- rawType - Variable in class com.google.inject.internal.AbstractBindingProcessor.Processor
- rawType - Variable in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- rawType - Variable in class com.google.inject.internal.ProvidedByInternalFactory
- rawType - Variable in class com.google.inject.TypeLiteral
- readResolve() - Method in class com.google.inject.matcher.Matchers.Any
- readResolve() - Method in class com.google.inject.matcher.Matchers.InPackage
- READY - Enum constant in enum class com.google.inject.internal.Initializer.InjectableReferenceState
- RealDirectTypeProvider(RealOptionalBinder.BindingSelection<T>) - Constructor for class com.google.inject.internal.RealOptionalBinder.RealDirectTypeProvider
- RealElement - Class in com.google.inject.internal
-
An implementation of Element.
- RealElement(String, Element.Type, String) - Constructor for class com.google.inject.internal.RealElement
- RealElement(String, Element.Type, String, int) - Constructor for class com.google.inject.internal.RealElement
- RealMapBinder<K,
V> - Class in com.google.inject.internal -
The actual mapbinder plays several roles:
- RealMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Key<Map<K, V>>, RealMultibinder<Map.Entry<K, Provider<V>>>) - Constructor for class com.google.inject.internal.RealMapBinder
- RealMapBinder.BindingSelection<K,
V> - Class in com.google.inject.internal -
The BindingSelection contains some of the core state and logic for the MapBinder.
- RealMapBinder.BindingSelection.InitializationState - Enum Class in com.google.inject.internal
- RealMapBinder.ExtensionRealMapProvider<K,
V> - Class in com.google.inject.internal -
Implementation of a provider instance for the map that also exposes details about the MapBinder using the extension SPI, delegating to another provider instance for non-extension (e.g, the actual provider instance info) data.
- RealMapBinder.MultimapBinder<K,
V> - Class in com.google.inject.internal -
Binds
Map<K, Set<V>>
and {Map<K, Set<Provider<V>>>
. - RealMapBinder.MultimapBinder.RealMultimapProvider<K,
V> - Class in com.google.inject.internal - RealMapBinder.MultimapBinder.RealMultimapProvider.PerKeyData<K,
V> - Class in com.google.inject.internal -
A simple class to hold a key and the associated bindings as an array.
- RealMapBinder.MultimapBinder.RealProviderMultimapProvider<K,
V> - Class in com.google.inject.internal - RealMapBinder.ProviderMapEntry<K,
V> - Class in com.google.inject.internal -
A factory for a
Map.Entry<K, Provider<V>>
. - RealMapBinder.RealMapBinderProviderWithDependencies<K,
V, - Class in com.google.inject.internalP> -
A base class for ProviderWithDependencies that need equality based on a specific object.
- RealMapBinder.RealMapProvider<K,
V> - Class in com.google.inject.internal - RealMapBinder.RealMultimapBinderProviderWithDependencies<K,
V, - Class in com.google.inject.internalP> -
A base class for ProviderWithDependencies that need equality based on a specific object.
- RealMapBinder.RealProviderMapProvider<K,
V> - Class in com.google.inject.internal - RealMapBinderProviderWithDependencies(RealMapBinder.BindingSelection<K, V>) - Constructor for class com.google.inject.internal.RealMapBinder.RealMapBinderProviderWithDependencies
- RealMapProvider(RealMapBinder.BindingSelection<K, V>) - Constructor for class com.google.inject.internal.RealMapBinder.RealMapProvider
- RealMultibinder<T> - Class in com.google.inject.internal
-
The actual multibinder plays several roles:
- RealMultibinder(Binder, Key<T>) - Constructor for class com.google.inject.internal.RealMultibinder
- RealMultibinder.BaseFactory<ValueT,
ProvidedT> - Class in com.google.inject.internal -
Base implement of
InternalProviderInstanceBindingImpl.Factory
that works based on aRealMultibinder.BindingSelection
, allowing provider instances for various bindings to be implemented with less duplication. - RealMultibinder.BindingSelection<T> - Class in com.google.inject.internal
- RealMultibinder.ExtensionRealMultibinderProvider<T> - Class in com.google.inject.internal
-
Implementation of BaseFactory that exposes details about the multibinder through the extension SPI.
- RealMultibinder.PermitDuplicatesModule - Class in com.google.inject.internal
-
We install the permit duplicates configuration as its own binding, all by itself.
- RealMultibinder.RealMultibinderCollectionOfProvidersProvider<T> - Class in com.google.inject.internal
-
Implementation of BaseFactory that exposes a collection of providers of the values in the set.
- RealMultibinder.RealMultibinderProvider<T> - Class in com.google.inject.internal
-
Provider instance implementation that provides the actual set of values.
- RealMultibinderCollectionOfProvidersProvider(RealMultibinder.BindingSelection<T>) - Constructor for class com.google.inject.internal.RealMultibinder.RealMultibinderCollectionOfProvidersProvider
- RealMultibinderProvider(RealMultibinder.BindingSelection<T>) - Constructor for class com.google.inject.internal.RealMultibinder.RealMultibinderProvider
- RealMultimapBinderProviderWithDependencies(Key<Map<K, V>>) - Constructor for class com.google.inject.internal.RealMapBinder.RealMultimapBinderProviderWithDependencies
- RealMultimapProvider(Key<Map<K, V>>) - Constructor for class com.google.inject.internal.RealMapBinder.MultimapBinder.RealMultimapProvider
- RealOptionalBinder<T> - Class in com.google.inject.internal
-
The actual OptionalBinder plays several roles.
- RealOptionalBinder(Binder, Key<T>) - Constructor for class com.google.inject.internal.RealOptionalBinder
- RealOptionalBinder.Actual - Annotation Interface in com.google.inject.internal
- RealOptionalBinder.ActualImpl - Class in com.google.inject.internal
- RealOptionalBinder.BaseAnnotation - Class in com.google.inject.internal
- RealOptionalBinder.BindingSelection<T> - Class in com.google.inject.internal
-
A helper object that implements the core logic for deciding what the implementation of the binding will be.
- RealOptionalBinder.Default - Annotation Interface in com.google.inject.internal
- RealOptionalBinder.DefaultImpl - Class in com.google.inject.internal
- RealOptionalBinder.JavaOptionalProvider<T> - Class in com.google.inject.internal
-
Provides the binding for java.util.Optional
. - RealOptionalBinder.JavaOptionalProviderProvider<T> - Class in com.google.inject.internal
-
Provides the binding for java.util.Optionalinvalid input: '<'Provider
>. - RealOptionalBinder.RealDirectTypeProvider<T> - Class in com.google.inject.internal
-
Provides the binding for T, conditionally installed by calling setBinding/setDefault.
- RealOptionalBinder.RealOptionalBinderProviderWithDependencies<T,
P> - Class in com.google.inject.internal -
A base class for ProviderWithDependencies that need equality based on a specific object.
- RealOptionalBinder.RealOptionalKeyProvider<T> - Class in com.google.inject.internal
-
Provides the binding for Optional
. - RealOptionalBinder.RealOptionalProviderProvider<T> - Class in com.google.inject.internal
-
Provides the binding for Optionalinvalid input: '<'Provider
>. - RealOptionalBinder.Source - Enum Class in com.google.inject.internal
- RealOptionalBinderProviderWithDependencies(RealOptionalBinder.BindingSelection<T>) - Constructor for class com.google.inject.internal.RealOptionalBinder.RealOptionalBinderProviderWithDependencies
- RealOptionalKeyProvider(RealOptionalBinder.BindingSelection<T>, Key<Optional<T>>) - Constructor for class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- RealOptionalProviderProvider(RealOptionalBinder.BindingSelection<T>) - Constructor for class com.google.inject.internal.RealOptionalBinder.RealOptionalProviderProvider
- RealOverriddenModuleBuilder(Iterable<? extends Module>) - Constructor for class com.google.inject.util.Modules.RealOverriddenModuleBuilder
- RealProviderMapProvider(RealMapBinder.BindingSelection<K, V>) - Constructor for class com.google.inject.internal.RealMapBinder.RealProviderMapProvider
- RealProviderMultimapProvider(Key<Map<K, V>>) - Constructor for class com.google.inject.internal.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
- RecordingBinder(Elements.RecordingBinder, PrivateElementsImpl) - Constructor for class com.google.inject.spi.Elements.RecordingBinder
-
Creates a private recording binder.
- RecordingBinder(Elements.RecordingBinder, Object, SourceProvider, boolean) - Constructor for class com.google.inject.spi.Elements.RecordingBinder
-
Creates a recording binder that's backed by
prototype
. - RecordingBinder(Stage) - Constructor for class com.google.inject.spi.Elements.RecordingBinder
- RECURSIVE_BINDING - Enum constant in enum class com.google.inject.internal.ErrorId
- RECURSIVE_IMPLEMENTATION_TYPE - Enum constant in enum class com.google.inject.internal.ErrorId
- RECURSIVE_PROVIDER_TYPE - Enum constant in enum class com.google.inject.internal.ErrorId
- recursiveBinding(Key<?>, Key<?>) - Method in class com.google.inject.internal.Errors
- recursiveImplementationType() - Method in class com.google.inject.internal.Errors
- recursiveProviderType() - Method in class com.google.inject.internal.Errors
- RED - Enum constant in enum class com.google.inject.internal.Messages.FormatOptions
- redBold(String) - Static method in class com.google.inject.internal.Messages
- ReentrantCycleDetectingLock(CycleDetectingLock.CycleDetectingLockFactory<ID>, ID, Lock) - Constructor for class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
- ReflectionProviderMethod(Key<T>, Method, Object, ImmutableSet<Dependency<?>>, Class<? extends Annotation>, Annotation) - Constructor for class com.google.inject.internal.ProviderMethod.ReflectionProviderMethod
- ReflectiveProxy(InjectionPoint, Constructor<T>) - Constructor for class com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy
- REGEX - Enum constant in enum class com.google.inject.servlet.UriPatternType
- RegexUriPatternMatcher(String) - Constructor for class com.google.inject.servlet.UriPatternType.RegexUriPatternMatcher
- register(MembersInjector<? super I>) - Method in interface com.google.inject.spi.TypeEncounter
-
Registers a members injector for type
I
. - register(MembersInjector<? super T>) - Method in class com.google.inject.internal.EncounterImpl
- register(InjectionListener<? super I>) - Method in interface com.google.inject.spi.TypeEncounter
-
Registers an injection listener for type
I
. - register(InjectionListener<? super T>) - Method in class com.google.inject.internal.EncounterImpl
- Regular Expressions - Search tag in com.google.inject.servlet.ServletModule.configureServlets()
- Section
- remove(Binding<?>) - Method in class com.google.inject.internal.ProvisionListenerCallbackStore
-
Purges a key from the cache.
- remove(InjectionPoint) - Method in class com.google.inject.internal.ConstructorInjectorStore
-
Purges an injection point from the cache.
- remove(InjectionPoint.InjectableMember) - Method in class com.google.inject.spi.InjectionPoint.InjectableMembers
- remove(TypeLiteral<?>) - Method in class com.google.inject.internal.MembersInjectorStore
-
Purges a type literal from the cache.
- remove(K) - Method in class com.google.inject.internal.FailableCache
- removeAssistedDeps(Set<Dependency<?>>) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
Return all non-assisted dependencies.
- removeAttribute(String) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest
- removeCurrentReference() - Method in class com.google.inject.internal.ConstructionContext
- removeFailedJitBinding(Binding<?>, InjectionPoint) - Method in class com.google.inject.internal.InjectorImpl
-
Cleans up any state that may have been cached when constructing the JIT binding.
- removeIfOverriddenBy(Method, boolean, InjectionPoint.InjectableMethod) - Method in class com.google.inject.spi.InjectionPoint.OverrideIndex
-
Removes a method overridden by the given method, if present.
- removeJitBinding(Key<?>) - Method in class com.google.inject.internal.InjectorJitBindingData
- renderEdge(GraphvizEdge) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- renderNode(GraphvizNode) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- replaceFullNames(String, Map<String, String>, StringBuilder) - Static method in class com.google.inject.internal.PackageNameCompressor
-
Replaces full class names in
input
and append the replaced content tooutput
and then returns a set of short names that were used as replacement. - reportDuplicateKeysError(Key<Map<K, V>>, Multimap<K, Binding<V>>, Errors) - Static method in class com.google.inject.internal.RealMapBinder.BindingSelection
- request - Variable in class com.google.inject.internal.InjectionRequestProcessor.StaticInjection
- request - Variable in class com.google.inject.servlet.GuiceFilter.Context
- REQUEST - Static variable in class com.google.inject.servlet.ServletScopes
-
HTTP servlet request scope.
- REQUEST_DISPATCHER_REQUEST - Static variable in class com.google.inject.servlet.ManagedServletPipeline
-
A Marker constant attribute that when present in the request indicates to Guice servlet that this request has been generated by a request dispatcher rather than the servlet pipeline.
- RequestDispatcherRequestWrapper(HttpServletRequest, String) - Constructor for class com.google.inject.servlet.ManagedServletPipeline.RequestDispatcherRequestWrapper
- requestInjection(InjectorImpl, T, Binding<T>, Object, Set<InjectionPoint>) - Method in class com.google.inject.internal.Initializer
-
Registers an instance for member injection when that step is performed.
- requestInjection(TypeLiteral<T>, T) - Method in interface com.google.inject.Binder
-
Upon successful creation, the
Injector
will inject instance fields and methods of the given object. - requestInjection(TypeLiteral<T>, T) - Method in class com.google.inject.spi.Elements.RecordingBinder
- requestInjection(Object) - Method in class com.google.inject.AbstractModule
- requestInjection(Object) - Method in interface com.google.inject.Binder
-
Upon successful creation, the
Injector
will inject instance fields and methods of the given object. - requestInjection(Object) - Method in class com.google.inject.PrivateModule
- requestInjection(Object) - Method in class com.google.inject.spi.Elements.RecordingBinder
- RequestParameters - Annotation Interface in com.google.inject.servlet
-
Apply this to field or parameters of type
Map<String, String[]>
when you want the HTTP request parameter map to be injected. - RequestScope() - Constructor for class com.google.inject.servlet.ServletScopes.RequestScope
- requestScopeContext - Static variable in class com.google.inject.servlet.ServletScopes
-
A threadlocal scope map for non-http request scopes.
- RequestScoped - Annotation Interface in com.google.inject.servlet
-
Apply this to implementation classes when you want one instance per request.
- RequestScoper - Interface in com.google.inject.servlet
-
Object that can be used to apply a request scope to a block of code.
- RequestScoper.CloseableScope - Interface in com.google.inject.servlet
-
Closeable subclass that does not throw any exceptions from close.
- requestStaticInjection(Class<?>...) - Method in class com.google.inject.AbstractModule
- requestStaticInjection(Class<?>...) - Method in interface com.google.inject.Binder
-
Upon successful creation, the
Injector
will inject static fields and methods in the given classes. - requestStaticInjection(Class<?>...) - Method in class com.google.inject.PrivateModule
- requestStaticInjection(Class<?>...) - Method in class com.google.inject.spi.Elements.RecordingBinder
- requireAtInjectOnConstructors() - Method in interface com.google.inject.Binder
-
Requires that a @
Inject
annotation exists on a constructor in order for Guice to consider it an eligible injectable class. - requireAtInjectOnConstructors() - Method in class com.google.inject.spi.Elements.RecordingBinder
- requireAtInjectOnConstructorsModule() - Static method in class com.google.inject.util.Modules
-
Returns a module that will configure the injector to require @
invalid reference
Inject
- RequireAtInjectOnConstructorsModule() - Constructor for class com.google.inject.util.Modules.RequireAtInjectOnConstructorsModule
- RequireAtInjectOnConstructorsOption - Class in com.google.inject.spi
-
A request to require explicit @
Inject
annotations on constructors. - RequireAtInjectOnConstructorsOption(Object) - Constructor for class com.google.inject.spi.RequireAtInjectOnConstructorsOption
- requireBinding(Key<?>) - Method in class com.google.inject.AbstractModule
-
Adds a dependency from this module to
key
. - requireBinding(Key<?>) - Method in class com.google.inject.PrivateModule
-
Instructs Guice to require a binding to the given key.
- requireBinding(Class<?>) - Method in class com.google.inject.AbstractModule
-
Adds a dependency from this module to
type
. - requireBinding(Class<?>) - Method in class com.google.inject.PrivateModule
-
Instructs Guice to require a binding to the given type.
- requireExactBindingAnnotations() - Method in interface com.google.inject.Binder
-
Requires that Guice finds an exactly matching binding annotation.
- requireExactBindingAnnotations() - Method in class com.google.inject.spi.Elements.RecordingBinder
- requireExactBindingAnnotationsModule() - Static method in class com.google.inject.util.Modules
-
Returns a module that will configure the injector to require an exactly matching binding annotation.
- RequireExactBindingAnnotationsModule() - Constructor for class com.google.inject.util.Modules.RequireExactBindingAnnotationsModule
- RequireExactBindingAnnotationsOption - Class in com.google.inject.spi
-
A request to require exact binding annotations.
- RequireExactBindingAnnotationsOption(Object) - Constructor for class com.google.inject.spi.RequireExactBindingAnnotationsOption
- requireExplicitBindings() - Method in interface com.google.inject.Binder
-
Instructs the Injector that bindings must be listed in a Module in order to be injected.
- requireExplicitBindings() - Method in class com.google.inject.spi.Elements.RecordingBinder
- requireExplicitBindingsModule() - Static method in class com.google.inject.util.Modules
-
Returns a module that will configure the injector to require explicit bindings.
- RequireExplicitBindingsModule() - Constructor for class com.google.inject.util.Modules.RequireExplicitBindingsModule
- RequireExplicitBindingsOption - Class in com.google.inject.spi
-
A request to require explicit bindings.
- RequireExplicitBindingsOption(Object) - Constructor for class com.google.inject.spi.RequireExplicitBindingsOption
- reset() - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Resets the state of the grapher before rendering a new graph.
- reset() - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- reset() - Method in class com.google.inject.internal.util.ContinuousStopwatch
-
Resets and returns elapsed time in milliseconds.
- reset() - Static method in class com.google.inject.servlet.GuiceFilter
- RESET - Enum constant in enum class com.google.inject.internal.Messages.FormatOptions
- resetAndLog(String) - Method in class com.google.inject.internal.util.ContinuousStopwatch
-
Resets and logs elapsed time in milliseconds.
- resolve(Type) - Method in class com.google.inject.TypeLiteral
-
Resolves known type parameters in
toResolve
and returns the result. - resolveAlias(Map<NodeId, NodeId>, NodeId) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
- resolveAliases(Iterable<Alias>) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Transitively resolves aliases.
- resolveAll(Type[]) - Method in class com.google.inject.TypeLiteral
-
Returns an immutable list of the resolved types.
- resolvedParametersMatch(Method, TypeLiteral<?>, Method) - Static method in class com.google.inject.internal.aop.MethodPartition
-
Compares a sub-method with a generic super-method by resolving it against the host class.
- resolveMembers(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
- resolveType(Type) - Method in class com.google.inject.TypeLiteral
- resolveTypeVariable(Type, Class<?>, TypeVariable<?>) - Static method in class com.google.inject.internal.MoreTypes
- response - Variable in class com.google.inject.servlet.GuiceFilter.Context
- restoreCurrentModulePermits(ModuleSource) - Method in class com.google.inject.spi.BindingSourceRestriction.PermitMapConstruction
-
Sets the permits on the current module installation path to the permits on the given module source so that subsequently installed modules may inherit them.
- RestrictedBindingSource - Annotation Interface in com.google.inject
-
Annotation restricting the binding of the target type to permitted sources.
- RestrictedBindingSource.Permit - Annotation Interface in com.google.inject
-
Meta-annotation indicating that the target annotation is a permit for binding restricted bindings.
- RestrictedBindingSource.RestrictionLevel - Enum Class in com.google.inject
-
Level of restriction.
- restrictionLevel() - Element in annotation interface com.google.inject.RestrictedBindingSource
- RestrictionLevel() - Constructor for enum class com.google.inject.RestrictedBindingSource.RestrictionLevel
- result - Variable in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
- Result(Object, Exception) - Constructor for class com.google.inject.throwingproviders.ThrowingProviderBinder.Result
- ResultException(Exception) - Constructor for exception class com.google.inject.throwingproviders.ThrowingProviderBinder.ResultException
- RETURN_ANNOTATION - Static variable in class com.google.inject.assistedinject.FactoryProvider2
-
A constant annotation to denote the return value, instead of creating a new one each time.
- returned - Variable in class com.google.inject.throwingproviders.CheckedProviders.ReturningHandler
- ReturningHandler(T) - Constructor for class com.google.inject.throwingproviders.CheckedProviders.ReturningHandler
- returns(Matcher<? super Class<?>>) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches methods with matching return types.
- Returns(Matcher<? super Class<?>>) - Constructor for class com.google.inject.matcher.Matchers.Returns
- returnType - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
-
the return type in the factory method that the constructor is bound to.
- returnType - Variable in class com.google.inject.matcher.Matchers.Returns
- root - Variable in class com.google.inject.internal.Errors
-
The root errors object.
- rootKeySetCreator - Variable in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- rootKeySetCreator - Variable in class com.google.inject.grapher.AbstractInjectorGrapher
- RootKeySetCreator - Interface in com.google.inject.grapher
-
Creator of the default starting set of keys to graph.
- RootModule() - Constructor for class com.google.inject.internal.InjectorShell.RootModule
- ROUNDED - Enum constant in enum class com.google.inject.grapher.graphviz.NodeStyle
- runCreationListeners(Errors) - Method in class com.google.inject.internal.ProcessedBindingData
-
Runs creation listeners.
S
- scanForAnnotatedMethods() - Method in class com.google.inject.spi.Elements.RecordingBinder
-
Applies all scanners to the modules we've installed.
- scanModulesForAnnotatedMethods(ModuleAnnotatedMethodScanner) - Method in interface com.google.inject.Binder
-
Adds a scanner that will look in all installed modules for annotations the scanner can parse, and binds them like @Provides methods.
- scanModulesForAnnotatedMethods(ModuleAnnotatedMethodScanner) - Method in class com.google.inject.spi.Elements.RecordingBinder
- scanner - Variable in class com.google.inject.internal.ProviderMethodsModule
- scanner - Variable in class com.google.inject.spi.ElementSource
-
The scanner that created this binding (if it was created by a scanner).
- scanner - Variable in class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
- scanner() - Static method in class com.google.inject.multibindings.MultibindingsScanner
-
Deprecated.This method returns an empty scanner since the preexisting functionality is installed by default.
- scannerBindings - Variable in class com.google.inject.internal.InjectorBindingData
- scanners - Variable in class com.google.inject.spi.Elements.RecordingBinder
- scannerSource - Variable in class com.google.inject.spi.Elements.RecordingBinder
-
The current scanner.
- scheduleDelayedInitialization(BindingImpl<?>) - Method in class com.google.inject.internal.AbstractBindingProcessor.Processor
-
Schedule initialization for this binding to occur after all other static initialization of bindings.
- scheduleInitialization(BindingImpl<?>) - Method in class com.google.inject.internal.AbstractBindingProcessor.Processor
-
Schedule initialization of this binding to occur immediately after all bindings have been initialially processed.
- scope - Variable in class com.google.inject.internal.Indexer.IndexedBinding
- scope - Variable in class com.google.inject.spi.ScopeBinding
- scope(Binding<?>) - Method in class com.google.inject.internal.Indexer
- scope(Key<T>, InjectorImpl, InternalFactory<? extends T>, Object, Scoping) - Static method in class com.google.inject.internal.Scoping
-
Scopes an internal factory.
- scope(Key<T>, Provider<T>) - Method in class com.google.inject.internal.SingletonScope
-
Provides singleton scope with the following properties: creates no more than one instance per Key as a creator is used no more than once result is cached and returned quickly on subsequent calls exception in a creator is not treated as instance creation and is not cached creates singletons in parallel whenever possible waits for dependent singletons to be created even across threads and when dependencies are shared as long as no circular dependencies are detected returns circular proxy only when circular dependencies are detected aside from that, blocking synchronization is only used for proxy creation and initialization
- scope(Key<T>, Provider<T>) - Method in interface com.google.inject.Scope
-
Scopes a provider.
- scope(Key<T>, Provider<T>) - Method in class com.google.inject.servlet.ServletScopes.RequestScope
- scope(Key<T>, Provider<T>) - Method in class com.google.inject.servlet.ServletScopes.SessionScope
- Scope - Interface in com.google.inject
-
A scope is a level of visibility that instances provided by Guice may have.
- SCOPE_ALREADY_SET - Static variable in class com.google.inject.internal.AbstractBindingBuilder
- SCOPE_ANNOTATION_ON_ABSTRACT_TYPE - Enum constant in enum class com.google.inject.internal.ErrorId
- SCOPE_NOT_FOUND - Enum constant in enum class com.google.inject.internal.ErrorId
- scopeAnnotation - Variable in class com.google.inject.internal.ProviderMethod
- scopeAnnotation - Variable in class com.google.inject.internal.ScopeNotFoundError
- scopeAnnotation - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- ScopeAnnotation - Annotation Interface in com.google.inject
-
Annotates annotations which are used for scoping.
- scopeAnnotationOnAbstractType(Class<? extends Annotation>, Class<?>, Object) - Method in class com.google.inject.internal.Errors
- ScopeBinding - Class in com.google.inject.spi
-
Registration of a scope annotation with the scope that implements it.
- ScopeBinding(Object, Class<? extends Annotation>, Scope) - Constructor for class com.google.inject.spi.ScopeBinding
- ScopeBindingProcessor - Class in com.google.inject.internal
-
Handles
Binder.bindScope
commands. - ScopeBindingProcessor(Errors) - Constructor for class com.google.inject.internal.ScopeBindingProcessor
- scopeChecker - Static variable in class com.google.inject.internal.Annotations
- ScopedBindingBuilder - Interface in com.google.inject.binder
-
See the EDSL examples at
Binder
. - scopeExceptions - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
- scopeExceptions - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- scopeExceptions() - Element in annotation interface com.google.inject.throwingproviders.CheckedProvides
-
Whether exceptions should be put into the Guice scope.
- scopeExceptions(boolean) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
Determines if exceptions should be scoped.
- scopeNotFound(Class<? extends Annotation>) - Method in class com.google.inject.internal.Errors
- ScopeNotFoundError - Class in com.google.inject.internal
-
Error reported by Guice when a scope annotation is not bound to any scope implementation.
- ScopeNotFoundError(Class<? extends Annotation>, List<Object>) - Constructor for class com.google.inject.internal.ScopeNotFoundError
- scopeRequest(Callable<T>, Map<Key<?>, Object>) - Static method in class com.google.inject.servlet.ServletScopes
-
Scopes the given callable inside a request scope.
- scopeRequest(Map<Key<?>, Object>) - Static method in class com.google.inject.servlet.ServletScopes
-
Returns an object that will apply request scope to a block of code.
- scopes - Variable in class com.google.inject.internal.InjectorBindingData
- Scopes - Class in com.google.inject
-
Built-in scope implementations.
- Scopes() - Constructor for class com.google.inject.Scopes
- scoping - Variable in class com.google.inject.internal.AbstractBindingProcessor.Processor
- scoping - Variable in class com.google.inject.internal.BindingImpl
- Scoping - Class in com.google.inject.internal
-
References a scope, either directly (as a scope instance), or indirectly (as a scope annotation).
- Scoping() - Constructor for class com.google.inject.internal.Scoping
- ScopingException - Exception Class in com.google.inject.servlet
-
Exception thrown when there was a failure entering request scope.
- ScopingException(String) - Constructor for exception class com.google.inject.servlet.ScopingException
- ScopingOnly - Annotation Interface in com.google.inject.servlet
-
Annotates a
GuiceFilter
that provides scope functionality, but doesn't dispatch toServletModule
bound servlets or filters. - SecondaryBinder(Class<P>, Type) - Constructor for class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- serialVersionUID - Static variable in exception class com.google.inject.ConfigurationException
- serialVersionUID - Static variable in exception class com.google.inject.CreationException
- serialVersionUID - Static variable in exception class com.google.inject.internal.aop.GlueException
- serialVersionUID - Static variable in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
- serialVersionUID - Static variable in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- serialVersionUID - Static variable in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
- serialVersionUID - Static variable in class com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- serialVersionUID - Static variable in class com.google.inject.matcher.AbstractMatcher.AndMatcher
- serialVersionUID - Static variable in class com.google.inject.matcher.AbstractMatcher.OrMatcher
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.AnnotatedWith
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.AnnotatedWithType
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.Any
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.IdenticalTo
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.InPackage
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.InSubpackage
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.Not
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.Only
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.Returns
- serialVersionUID - Static variable in class com.google.inject.matcher.Matchers.SubclassesOf
- serialVersionUID - Static variable in class com.google.inject.name.NamedImpl
- serialVersionUID - Static variable in exception class com.google.inject.ProvisionException
- serialVersionUID - Static variable in class com.google.inject.spi.Message
- serialVersionUID - Static variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.Result
- serve(Iterable<String>) - Method in class com.google.inject.servlet.ServletModule
- serve(String, String...) - Method in class com.google.inject.servlet.ServletModule
- serve(List<String>) - Method in class com.google.inject.servlet.ServletsModuleBuilder
- serveRegex(Iterable<String>) - Method in class com.google.inject.servlet.ServletModule
- serveRegex(String, String...) - Method in class com.google.inject.servlet.ServletModule
- serveRegex(List<String>) - Method in class com.google.inject.servlet.ServletsModuleBuilder
- service(ServletRequest, ServletResponse) - Method in class com.google.inject.servlet.ManagedServletPipeline
- service(ServletRequest, ServletResponse) - Method in class com.google.inject.servlet.ServletDefinition
-
Wrapper around the service chain to ensure a servlet is servicing what it must and provides it with a wrapped request.
- SERVLET - Enum constant in enum class com.google.inject.servlet.UriPatternType
- SERVLET_DEFS - Static variable in class com.google.inject.servlet.ManagedServletPipeline
- SERVLET_INTERNAL_METHODS - Static variable in class com.google.inject.servlet.FilterChainInvocation
- servletContext - Static variable in class com.google.inject.servlet.GuiceFilter
-
Used to inject the servlets configured via
ServletModule
- servletContext - Variable in class com.google.inject.servlet.ManagedFilterPipeline
- ServletDefinition - Class in com.google.inject.servlet
-
An internal representation of a servlet definition mapped to a particular URI pattern.
- ServletDefinition(Key<? extends HttpServlet>, UriPatternMatcher, Map<String, String>, HttpServlet) - Constructor for class com.google.inject.servlet.ServletDefinition
- servletDefinitions - Variable in class com.google.inject.servlet.ManagedServletPipeline
- servletInstance - Variable in class com.google.inject.servlet.ServletDefinition
- servletKey - Variable in class com.google.inject.servlet.ServletDefinition
- ServletKeyBindingBuilderImpl(List<UriPatternMatcher>) - Constructor for class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- Servlet Mapping EDSL - Search tag in com.google.inject.servlet.ServletModule.configureServlets()
- Section
- ServletModule - Class in com.google.inject.servlet
-
Configures the servlet scopes and creates bindings for the servlet API objects so you can inject the request, response, session, etc.
- ServletModule() - Constructor for class com.google.inject.servlet.ServletModule
- ServletModule.FilterKeyBindingBuilder - Interface in com.google.inject.servlet
-
See the EDSL examples at
ServletModule.configureServlets()
- ServletModule.ServletKeyBindingBuilder - Interface in com.google.inject.servlet
-
See the EDSL examples at
ServletModule.configureServlets()
- ServletModuleBinding - Interface in com.google.inject.servlet
-
A binding created by
ServletModule
. - ServletModuleTargetVisitor<T,
V> - Interface in com.google.inject.servlet -
A visitor for the servlet extension.
- servletPipeline - Variable in class com.google.inject.servlet.FilterChainInvocation
- servletPipeline - Variable in class com.google.inject.servlet.ManagedFilterPipeline
- ServletScopes - Class in com.google.inject.servlet
-
Servlet scopes.
- ServletScopes() - Constructor for class com.google.inject.servlet.ServletScopes
- ServletScopes.Context - Class in com.google.inject.servlet
- ServletScopes.NullObject - Enum Class in com.google.inject.servlet
-
A sentinel attribute value representing null.
- ServletScopes.RequestScope - Class in com.google.inject.servlet
- ServletScopes.SessionScope - Class in com.google.inject.servlet
- servletsModuleBuilder - Variable in class com.google.inject.servlet.ServletModule
- ServletsModuleBuilder - Class in com.google.inject.servlet
-
Builds the guice module that binds configured servlets, with their wrapper ServletDefinitions.
- ServletsModuleBuilder(Binder) - Constructor for class com.google.inject.servlet.ServletsModuleBuilder
- ServletsModuleBuilder.ServletKeyBindingBuilderImpl - Class in com.google.inject.servlet
- ServletStyleUriPatternMatcher(String) - Constructor for class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher
- servletUris - Variable in class com.google.inject.servlet.ServletsModuleBuilder
- ServletUtils - Class in com.google.inject.servlet
-
Some servlet utility methods.
- ServletUtils() - Constructor for class com.google.inject.servlet.ServletUtils
- ServletUtils.ByteAccumulator - Class in com.google.inject.servlet
-
Accumulates byte sequences while decoding strings, and encodes them into a StringBuilder.
- SESSION - Static variable in class com.google.inject.servlet.ServletScopes
-
HTTP session scope.
- SessionScope() - Constructor for class com.google.inject.servlet.ServletScopes.SessionScope
- SessionScoped - Annotation Interface in com.google.inject.servlet
-
Apply this to implementation classes when you want one instance per session.
- set(ServletContext) - Method in class com.google.inject.servlet.InternalServletModule.BackwardsCompatibleServletContextProvider
- setAliasCreator(AliasCreator) - Method in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- setArrowHead(List<ArrowType>) - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- setArrowTail(List<ArrowType>) - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- setAttribute(String, Object) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest
- setBinding() - Method in class com.google.inject.internal.RealOptionalBinder
- setBinding() - Method in class com.google.inject.multibindings.OptionalBinder
-
Returns a binding builder used to set the actual value that will be injected.
- setBinding(BindingImpl<T>) - Method in class com.google.inject.internal.AbstractBindingBuilder
- setComment(String) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
- setCurrentReference(T) - Method in class com.google.inject.internal.ConstructionContext
- setDefault() - Method in class com.google.inject.internal.RealOptionalBinder
- setDefault() - Method in class com.google.inject.multibindings.OptionalBinder
-
Returns a binding builder used to set the default value that will be injected.
- setDelegate(T) - Method in class com.google.inject.internal.DelegatingInvocationHandler
- setDependency(Dependency<?>) - Method in class com.google.inject.internal.InternalContext
-
Used to set the current dependency.
- setDomain(String) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
- setEdgeCreator(EdgeCreator) - Method in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- setHeadCompassPoint(CompassPoint) - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- setHeaderBackgroundColor(String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- setHeaderTextColor(String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- setHeadPortId(String) - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- setIdentifier(String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- setInjectorAndCheckUnboundParametersAreInjectable(Injector) - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- setKey - Variable in class com.google.inject.internal.DuplicateElementError
- setKey - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- setMaxAge(int) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
- setName - Variable in class com.google.inject.internal.RealElement
- setName - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- setName() - Element in annotation interface com.google.inject.internal.Element
- setName() - Method in class com.google.inject.internal.RealElement
- setNodeCreator(NodeCreator) - Method in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- setOf(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealMultibinder
- setOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type modelling a
Set
whose elements are of typeelementType
. - setOfEntryOfJavaxProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.internal.RealMapBinder
- setOfExtendsKey - Variable in class com.google.inject.internal.RealMultibinder.BindingSelection
- setOfExtendsOf(TypeLiteral<T>) - Static method in class com.google.inject.internal.RealMultibinder
- setOut(PrintWriter) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- setPath(String) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
- setPipeline(FilterPipeline) - Static method in class com.google.inject.servlet.GuiceFilter
- setProvisionListenerCallback(ProvisionListenerStackCallback<T>) - Method in class com.google.inject.internal.ProvidedByInternalFactory
- setProxyDelegates(T) - Method in class com.google.inject.internal.ConstructionContext
- setRankdir(String) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- setRootKeySetCreator(RootKeySetCreator) - Method in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
- setSecure(boolean) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
- setShape(NodeShape) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- setStyle(EdgeStyle) - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- setStyle(NodeStyle) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- setTailCompassPoint(CompassPoint) - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- setTailPortId(String) - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
- setTitle(String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
- setupInvokerTable(ClassWriter) - Method in class com.google.inject.internal.aop.Enhancer
-
Generate static initializer to setup invoker table based on the trampoline.
- setupInvokerTable(ClassWriter) - Method in class com.google.inject.internal.aop.FastClass
-
Generate static initializer to setup invoker table based on the fast-class constructor.
- setValue(String) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
- setVersion(int) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
- shape - Variable in class com.google.inject.grapher.graphviz.GraphvizNode
- shape - Variable in enum class com.google.inject.grapher.graphviz.NodeShape
- shellBuilder - Variable in class com.google.inject.internal.InternalInjectorCreator
- shells - Variable in class com.google.inject.internal.InternalInjectorCreator
- shortenNames(Collection<String>) - Static method in class com.google.inject.internal.PackageNameCompressor
-
Returns a map from short name to full name after resolving conflicts.
- ShortNameFactory - Class in com.google.inject.grapher
-
Reasonable implementation for
NameFactory
. - ShortNameFactory() - Constructor for class com.google.inject.grapher.ShortNameFactory
- shouldBeSkipped(String) - Method in class com.google.inject.internal.util.SourceProvider
-
Returns true if the className should be skipped.
- shouldFilter(String) - Method in class com.google.inject.servlet.FilterDefinition
- shouldServe(String) - Method in class com.google.inject.servlet.ServletDefinition
- signature(Constructor<?>) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Minimum signature needed to disambiguate constructors from the same host class.
- signature(Method) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Minimum signature needed to disambiguate methods from the same host class.
- signature(String, Class<?>[]) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Appends a semicolon-separated list of parameter types to the given name.
- Signature(TypeLiteral<?>, Method) - Constructor for class com.google.inject.internal.ProviderMethodsModule.Signature
- Signature(Method) - Constructor for class com.google.inject.spi.InjectionPoint.Signature
- SINGLE_INSTANCE_AND_SCOPE - Static variable in class com.google.inject.internal.AbstractBindingBuilder
- SingleFieldInjector - Class in com.google.inject.internal
-
Sets an injectable field.
- SingleFieldInjector(InjectorImpl, InjectionPoint, Errors) - Constructor for class com.google.inject.internal.SingleFieldInjector
- SingleMemberInjector - Interface in com.google.inject.internal
-
Injects a field or method of a given object.
- SingleMethodInjector - Class in com.google.inject.internal
-
Invokes an injectable method.
- SingleMethodInjector(InjectorImpl, InjectionPoint, Errors) - Constructor for class com.google.inject.internal.SingleMethodInjector
- SingleParameterInjector<T> - Class in com.google.inject.internal
-
Resolves a single parameter, to be used in a constructor or method invocation.
- SingleParameterInjector(Dependency<T>, BindingImpl<? extends T>) - Constructor for class com.google.inject.internal.SingleParameterInjector
- Singleton - Annotation Interface in com.google.inject
-
Apply this to implementation classes when you want only one instance (per
Injector
) to be reused for all injections for that binding. - SINGLETON - Static variable in class com.google.inject.Scopes
-
One instance per
Injector
. - SINGLETON_ANNOTATION - Static variable in class com.google.inject.internal.Scoping
- SINGLETON_INSTANCE - Static variable in class com.google.inject.internal.Scoping
- SingletonScope - Class in com.google.inject.internal
-
One instance per
Injector
. - SingletonScope() - Constructor for class com.google.inject.internal.SingletonScope
- singletonTrie(String) - Static method in class com.google.inject.internal.aop.ImmutableStringTrie
- size() - Method in class com.google.inject.internal.Errors
- size() - Method in class com.google.inject.spi.ModuleSource
-
Returns the size of
ModuleSources
chain (all parents) that ends at this object. - skipFastClassGeneration - Variable in class com.google.inject.internal.ProviderMethodsModule
- skipScanning - Variable in class com.google.inject.spi.Elements.ModuleInfo
- skipSources(Class<?>...) - Method in interface com.google.inject.Binder
-
Returns a binder that skips
classesToSkip
when identify the calling code. - skipSources(Class<?>...) - Method in interface com.google.inject.PrivateBinder
- skipSources(Class<?>...) - Method in class com.google.inject.spi.Elements.RecordingBinder
- SLASH_JOINER - Static variable in class com.google.inject.servlet.ServletUtils
- SLASH_SPLITTER - Static variable in class com.google.inject.servlet.ServletUtils
- SOLID - Enum constant in enum class com.google.inject.grapher.graphviz.EdgeStyle
- SOLID - Enum constant in enum class com.google.inject.grapher.graphviz.NodeStyle
- source - Variable in class com.google.inject.grapher.Node
- source - Variable in class com.google.inject.internal.AbstractBindingProcessor.Processor
- source - Variable in class com.google.inject.internal.BindingImpl
- source - Variable in class com.google.inject.internal.Errors
-
The leaf source for errors added here.
- source - Variable in class com.google.inject.internal.ExposureBuilder
- source - Variable in class com.google.inject.internal.FactoryProxy
- source - Variable in class com.google.inject.internal.Initializer.InjectableReference
- source - Variable in class com.google.inject.internal.InjectionRequestProcessor.StaticInjection
- source - Variable in class com.google.inject.internal.InternalFactoryToProviderAdapter
- source - Variable in class com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory
- source - Variable in class com.google.inject.internal.PrivateElementsImpl
- source - Variable in class com.google.inject.internal.ProviderInternalFactory
- source - Variable in class com.google.inject.internal.SingleParameterInjector
- source - Variable in class com.google.inject.internal.SourceFormatter
- source - Variable in class com.google.inject.internal.util.LineNumbers
- source - Variable in class com.google.inject.internal.WeakKeySet.KeyAndSource
- source - Variable in class com.google.inject.spi.DisableCircularProxiesOption
- source - Variable in class com.google.inject.spi.Elements.RecordingBinder
- source - Variable in class com.google.inject.spi.InjectionRequest
- source - Variable in class com.google.inject.spi.InterceptorBinding
- source - Variable in class com.google.inject.spi.MembersInjectorLookup
- source - Variable in class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
- source - Variable in class com.google.inject.spi.ProviderLookup
- source - Variable in class com.google.inject.spi.ProvisionListenerBinding
- source - Variable in class com.google.inject.spi.RequireAtInjectOnConstructorsOption
- source - Variable in class com.google.inject.spi.RequireExactBindingAnnotationsOption
- source - Variable in class com.google.inject.spi.RequireExplicitBindingsOption
- source - Variable in class com.google.inject.spi.ScopeBinding
- source - Variable in class com.google.inject.spi.StaticInjectionRequest
- source - Variable in class com.google.inject.spi.TypeConverterBinding
- source - Variable in class com.google.inject.spi.TypeListenerBinding
- Source() - Constructor for enum class com.google.inject.internal.RealOptionalBinder.Source
- SourceFormatter - Class in com.google.inject.internal
-
Formatting a single source in Guice error message.
- SourceFormatter(Object, Formatter, boolean) - Constructor for class com.google.inject.internal.SourceFormatter
- sourceProvider - Variable in class com.google.inject.spi.Elements.RecordingBinder
- SourceProvider - Class in com.google.inject.internal.util
-
Provides access to the calling line of code.
- SourceProvider(SourceProvider, Iterable<String>) - Constructor for class com.google.inject.internal.util.SourceProvider
- SourceProvider(Iterable<String>) - Constructor for class com.google.inject.internal.util.SourceProvider
- sources - Variable in class com.google.inject.spi.ErrorDetail
- sourcesToPrepend - Variable in exception class com.google.inject.internal.InternalProvisionException
- SOUTH - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- SOUTH_EAST - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- SOUTH_WEST - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- StackTraceElements - Class in com.google.inject.internal.util
-
Creates stack trace elements for members.
- StackTraceElements() - Constructor for class com.google.inject.internal.util.StackTraceElements
- StackTraceElements.InMemoryStackTraceElement - Class in com.google.inject.internal.util
-
In-Memory version of
StackTraceElement
that does not store the file name. - stage - Variable in class com.google.inject.internal.InjectorImpl.InjectorOptions
- stage - Variable in class com.google.inject.internal.InjectorShell.Builder
- stage - Variable in class com.google.inject.spi.Elements.RecordingBinder
- stage(Stage) - Method in class com.google.inject.internal.InjectorShell.Builder
- stage(Stage) - Method in class com.google.inject.internal.InternalInjectorCreator
- Stage - Enum Class in com.google.inject
-
The stage we're running in.
- Stage() - Constructor for enum class com.google.inject.Stage
- start() - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
- startConstruction() - Method in class com.google.inject.internal.ConstructionContext
- state - Variable in class com.google.inject.internal.Initializer.InjectableReference
- STATIC_INJECTION_ON_INTERFACE - Enum constant in enum class com.google.inject.internal.ErrorId
- StaticInjection(InjectorImpl, StaticInjectionRequest) - Constructor for class com.google.inject.internal.InjectionRequestProcessor.StaticInjection
- staticInjectionOnInterface(Class<?>) - Method in class com.google.inject.internal.Errors
- StaticInjectionRequest - Class in com.google.inject.spi
-
A request to inject the static fields and methods of a type.
- StaticInjectionRequest(Object, Class<?>) - Constructor for class com.google.inject.spi.StaticInjectionRequest
- staticInjectionRequests - Variable in class com.google.inject.internal.InjectorBindingData
- staticInjections - Variable in class com.google.inject.internal.InjectionRequestProcessor
- stopwatch - Variable in class com.google.inject.internal.InternalInjectorCreator
- stopwatch - Variable in class com.google.inject.internal.util.ContinuousStopwatch
- strategyFor(Annotation) - Static method in class com.google.inject.Key
-
Gets the strategy for an annotation.
- strategyFor(Class<? extends Annotation>) - Static method in class com.google.inject.Key
-
Gets the strategy for an annotation type.
- STRING_TYPE - Static variable in class com.google.inject.internal.InjectorImpl
- stringCache - Static variable in class com.google.inject.internal.util.StackTraceElements
- StringMapKey - Annotation Interface in com.google.inject.multibindings
-
Allows @
ProvidesIntoMap
to specify a string map key. - stripPackages(String) - Method in class com.google.inject.grapher.ShortNameFactory
-
Eliminates runs of lowercase characters and numbers separated by periods.
- style - Variable in class com.google.inject.grapher.graphviz.GraphvizEdge
- style - Variable in class com.google.inject.grapher.graphviz.GraphvizNode
- subclassesOf(Class<?>) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches subclasses of the given type (as well as the given type).
- SubclassesOf(Class<?>) - Constructor for class com.google.inject.matcher.Matchers.SubclassesOf
- subtitles - Variable in class com.google.inject.grapher.graphviz.GraphvizNode
- SUBTYPE_NOT_PROVIDED - Enum constant in enum class com.google.inject.internal.ErrorId
- subtypeNotProvided(Class<? extends Provider<?>>, Class<?>) - Static method in exception class com.google.inject.internal.InternalProvisionException
- subtypeOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type that represents an unknown type that extends
bound
. - SUFFIX - Enum constant in enum class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher.Kind
- suggestions - Variable in class com.google.inject.internal.MissingImplementationError
- superclass - Variable in class com.google.inject.matcher.Matchers.SubclassesOf
- superInvoker - Variable in class com.google.inject.internal.InterceptorStackCallback
- superMethod(Function<String, BiFunction<Object, Object[], Object>>, Method) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns an invoker that calls the original unenhanced method.
- superMethodHandle(FactoryProvider2.SuperMethodLookup, Method, Object, MethodHandles.Lookup) - Static method in class com.google.inject.assistedinject.FactoryProvider2
- superMethodHandle(Method) - Static method in class com.google.inject.assistedinject.FactoryProvider2.PrivateLookup
- superMethodHandle(Method, MethodHandles.Lookup) - Method in enum class com.google.inject.assistedinject.FactoryProvider2.SuperMethodLookup
- SuperMethodLookup() - Constructor for enum class com.google.inject.assistedinject.FactoryProvider2.SuperMethodLookup
- SuperMethodSupport() - Constructor for class com.google.inject.assistedinject.FactoryProvider2.SuperMethodSupport
- supertypeOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type that represents an unknown supertype of
bound
. - SyntheticProviderBindingImpl(InjectorImpl, Key<Provider<T>>, Binding<T>) - Constructor for class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- SYSTEM_CHILD_LOADER - Static variable in class com.google.inject.internal.aop.ChildClassDefiner.SystemChildLoaderHolder
- SystemChildLoaderHolder() - Constructor for class com.google.inject.internal.aop.ChildClassDefiner.SystemChildLoaderHolder
T
- tail - Variable in class com.google.inject.spi.InjectionPoint.InjectableMembers
- tailCompassPoint - Variable in class com.google.inject.grapher.graphviz.GraphvizEdge
- tailNodeId - Variable in class com.google.inject.grapher.graphviz.GraphvizEdge
- tailPortId - Variable in class com.google.inject.grapher.graphviz.GraphvizEdge
- target - Variable in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- target - Variable in class com.google.inject.servlet.AbstractServletModuleBinding
- targetDependency - Variable in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProvider
- targetDependency - Variable in class com.google.inject.internal.RealOptionalBinder.RealOptionalKeyProvider
- targetFactory - Variable in class com.google.inject.internal.FactoryProxy
- targetFactory - Variable in class com.google.inject.internal.RealOptionalBinder.RealDirectTypeProvider
- targetKey - Variable in class com.google.inject.internal.FactoryProxy
- targetKey - Variable in class com.google.inject.internal.LinkedBindingImpl
- targetKey - Variable in class com.google.inject.internal.RealOptionalBinder.RealDirectTypeProvider
- targetPackage - Variable in class com.google.inject.matcher.Matchers.InPackage
- targetPackageName - Variable in class com.google.inject.matcher.Matchers.InSubpackage
- TEE - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- THE_UNSAFE - Static variable in class com.google.inject.internal.aop.AnonymousClassDefiner
- THE_UNSAFE - Static variable in class com.google.inject.internal.aop.HiddenClassDefiner
- The Guice Binding EDSL - Search tag in interface com.google.inject.Binder
- Section
- ThreadLocalProvider() - Constructor for class com.google.inject.assistedinject.FactoryProvider2.ThreadLocalProvider
- through(Key<? extends Filter>) - Method in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl
- through(Key<? extends Filter>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
- through(Key<? extends Filter>, Map<String, String>) - Method in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl
- through(Key<? extends Filter>, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
- through(Key<? extends Filter>, Map<String, String>, Filter) - Method in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl
- through(Class<? extends Filter>) - Method in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl
- through(Class<? extends Filter>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
- through(Class<? extends Filter>, Map<String, String>) - Method in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl
- through(Class<? extends Filter>, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
- through(Filter) - Method in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl
- through(Filter) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
- through(Filter, Map<String, String>) - Method in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl
- through(Filter, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
- throwableCtor - Variable in class com.google.inject.throwingproviders.CheckedProviders.ThrowingHandler
- ThrowableEquivalence() - Constructor for class com.google.inject.internal.Messages.ThrowableEquivalence
- throwConfigurationExceptionIfErrorsExist() - Method in class com.google.inject.internal.Errors
- throwCreationExceptionIfErrorsExist() - Method in class com.google.inject.internal.Errors
- throwIfNewErrors(int) - Method in class com.google.inject.internal.Errors
- throwing(TypeLiteral<P>, Class<? extends Throwable>) - Static method in class com.google.inject.throwingproviders.CheckedProviders
-
Returns a
CheckedProvider
which always throws exceptions. - throwing(Class<P>, Class<? extends Throwable>) - Static method in class com.google.inject.throwingproviders.CheckedProviders
-
Returns a
CheckedProvider
which always throws exceptions. - ThrowingHandler(Constructor<? extends Throwable>, String) - Constructor for class com.google.inject.throwingproviders.CheckedProviders.ThrowingHandler
- ThrowingInject - Annotation Interface in com.google.inject.throwingproviders
-
A version of @
Inject
designed for ThrowingProviders. - ThrowingProvider<T,
E> - Interface in com.google.inject.throwingproviders -
Deprecated.use
CheckedProvider
instead. - ThrowingProviderBinder - Class in com.google.inject.throwingproviders
-
Builds a binding for a
CheckedProvider
. - ThrowingProviderBinder(Binder) - Constructor for class com.google.inject.throwingproviders.ThrowingProviderBinder
- ThrowingProviderBinder.Result - Class in com.google.inject.throwingproviders
-
Represents the returned value from a call to
CheckedProvider.get()
. - ThrowingProviderBinder.ResultException - Exception Class in com.google.inject.throwingproviders
-
RuntimeException class to wrap exceptions from the checked provider.
- ThrowingProviderBinder.SecondaryBinder<P,
T> - Class in com.google.inject.throwingproviders - throwProvisionExceptionIfErrorsExist() - Method in class com.google.inject.internal.Errors
- title - Variable in class com.google.inject.grapher.graphviz.GraphvizNode
- to(boolean) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(boolean) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(byte) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(byte) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(char) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(char) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(double) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(double) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(float) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(float) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(int) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(int) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(long) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(long) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(short) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(short) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(Key<? extends P>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- to(Key<? extends T>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - to(Key<? extends T>) - Method in class com.google.inject.internal.BindingBuilder
- to(TypeLiteral<? extends T>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - to(TypeLiteral<? extends T>) - Method in class com.google.inject.internal.BindingBuilder
- to(E) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(E) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(Class<?>) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(Class<?>) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(Class<? extends P>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- to(Class<? extends T>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - to(Class<? extends T>) - Method in class com.google.inject.internal.BindingBuilder
- to(String) - Method in interface com.google.inject.binder.ConstantBindingBuilder
-
Binds constant to the given value.
- to(String) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- to(P) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- toClear - Variable in class com.google.inject.internal.InternalContext
-
A single element array to clear when the
InternalContext.enterCount
hits0
. - toConstant(Class<?>, Object) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- toConstructor(Constructor<S>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - toConstructor(Constructor<S>) - Method in class com.google.inject.internal.BindingBuilder
- toConstructor(Constructor<S>, TypeLiteral<? extends S>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - toConstructor(Constructor<S>, TypeLiteral<? extends S>) - Method in class com.google.inject.internal.BindingBuilder
- toException() - Method in class com.google.inject.internal.Errors
- toId - Variable in class com.google.inject.grapher.Alias
- toId - Variable in class com.google.inject.grapher.Edge
- toInjectionPoint() - Method in class com.google.inject.spi.InjectionPoint.InjectableField
- toInjectionPoint() - Method in class com.google.inject.spi.InjectionPoint.InjectableMember
- toInjectionPoint() - Method in class com.google.inject.spi.InjectionPoint.InjectableMethod
- toInstance(T) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - toInstance(T) - Method in class com.google.inject.internal.BindingBuilder
- toInternal(Key<? extends CheckedProvider<?>>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- TOO_MANY_CONSTRUCTORS - Enum constant in enum class com.google.inject.internal.ErrorId
- TOOL - Enum constant in enum class com.google.inject.Stage
-
We're running in a tool (an IDE plugin for example).
- Toolable - Annotation Interface in com.google.inject.spi
-
Instructs an
Injector
running inStage.TOOL
that a method should be injected. - ToolStageInjector(Injector) - Constructor for class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
- tooManyConstructors(Class<?>) - Method in class com.google.inject.internal.Errors
- TOP - Enum constant in enum class com.google.inject.spi.InjectionPoint.Position
- toProvider(Key<? extends Provider<? extends T>>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - toProvider(Key<? extends Provider<? extends T>>) - Method in class com.google.inject.internal.BindingBuilder
- toProvider(Provider<? extends T>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - toProvider(Provider<? extends T>) - Method in class com.google.inject.internal.BindingBuilder
- toProvider(TypeLiteral<? extends Provider<? extends T>>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - toProvider(TypeLiteral<? extends Provider<? extends T>>) - Method in class com.google.inject.internal.BindingBuilder
- toProvider(Class<? extends Provider<? extends T>>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - toProvider(Class<? extends Provider<? extends T>>) - Method in class com.google.inject.internal.BindingBuilder
- toProvider(Provider<? extends T>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
-
See the EDSL examples at
Binder
. - toProvider(Provider<? extends T>) - Method in class com.google.inject.internal.BindingBuilder
- toProviderMethod(CheckedProviderMethod<?>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- toProvisionException() - Method in exception class com.google.inject.internal.InternalProvisionException
-
Returns this exception convered to a ProvisionException.
- toString - Variable in class com.google.inject.Key
- toString() - Method in class com.google.inject.assistedinject.AssistedConstructor
- toString() - Method in class com.google.inject.assistedinject.FactoryProvider2.AssistData
- toString() - Method in class com.google.inject.assistedinject.FactoryProvider2
- toString() - Method in class com.google.inject.assistedinject.Parameter
- toString() - Method in class com.google.inject.assistedinject.ParameterListKey
- toString() - Method in class com.google.inject.grapher.BindingEdge
- toString() - Method in class com.google.inject.grapher.DependencyEdge
- toString() - Method in enum class com.google.inject.grapher.graphviz.ArrowType
- toString() - Method in enum class com.google.inject.grapher.graphviz.CompassPoint
- toString() - Method in enum class com.google.inject.grapher.graphviz.EdgeStyle
- toString() - Method in enum class com.google.inject.grapher.graphviz.NodeShape
- toString() - Method in enum class com.google.inject.grapher.graphviz.NodeStyle
- toString() - Method in class com.google.inject.grapher.ImplementationNode
- toString() - Method in class com.google.inject.grapher.InstanceNode
- toString() - Method in class com.google.inject.grapher.InterfaceNode
- toString() - Method in class com.google.inject.grapher.NodeId
- toString() - Method in class com.google.inject.internal.BindingBuilder
- toString() - Method in class com.google.inject.internal.BindingImpl
- toString() - Method in class com.google.inject.internal.BoundProviderFactory
- toString() - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
- toString() - Method in class com.google.inject.internal.ConstantFactory
- toString() - Method in class com.google.inject.internal.ConstructorBindingImpl
- toString() - Method in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
- toString() - Method in class com.google.inject.internal.ExposedBindingImpl
- toString() - Method in class com.google.inject.internal.ExposureBuilder
- toString() - Method in class com.google.inject.internal.FactoryProxy
- toString() - Method in class com.google.inject.internal.Initializer.InjectableReference
- toString() - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- toString() - Method in class com.google.inject.internal.InjectorImpl.InjectorOptions
- toString() - Method in class com.google.inject.internal.InjectorImpl.SyntheticProviderBindingImpl
- toString() - Method in class com.google.inject.internal.InjectorImpl
- toString() - Method in class com.google.inject.internal.InjectorShell.InjectorFactory
- toString() - Method in class com.google.inject.internal.InjectorShell.LoggerFactory
- toString() - Method in class com.google.inject.internal.InstanceBindingImpl
- toString() - Method in class com.google.inject.internal.InternalFactoryToInitializableAdapter
- toString() - Method in class com.google.inject.internal.InternalFactoryToProviderAdapter
- toString() - Method in class com.google.inject.internal.LinkedBindingImpl
- toString() - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- toString() - Method in class com.google.inject.internal.MembersInjectorImpl
- toString() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
- toString() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- toString() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
- toString() - Method in class com.google.inject.internal.PrivateElementsImpl
- toString() - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- toString() - Method in class com.google.inject.internal.ProviderMethod
- toString() - Method in class com.google.inject.internal.ProviderToInternalFactoryAdapter
- toString() - Method in class com.google.inject.internal.RealElement
- toString() - Method in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- toString() - Method in class com.google.inject.internal.RealMultibinder.BindingSelection
- toString() - Method in class com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- toString() - Method in class com.google.inject.internal.SingletonScope
- toString() - Method in class com.google.inject.internal.UntargettedBindingImpl
- toString() - Method in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
- toString() - Method in class com.google.inject.Key.AnnotationInstanceStrategy
- toString() - Method in class com.google.inject.Key.AnnotationTypeStrategy
- toString() - Method in enum class com.google.inject.Key.NullAnnotationStrategy
- toString() - Method in class com.google.inject.Key
- toString() - Method in class com.google.inject.matcher.AbstractMatcher.AndMatcher
- toString() - Method in class com.google.inject.matcher.AbstractMatcher.OrMatcher
- toString() - Method in class com.google.inject.matcher.Matchers.AnnotatedWith
- toString() - Method in class com.google.inject.matcher.Matchers.AnnotatedWithType
- toString() - Method in class com.google.inject.matcher.Matchers.Any
- toString() - Method in class com.google.inject.matcher.Matchers.IdenticalTo
- toString() - Method in class com.google.inject.matcher.Matchers.InPackage
- toString() - Method in class com.google.inject.matcher.Matchers.InSubpackage
- toString() - Method in class com.google.inject.matcher.Matchers.Not
- toString() - Method in class com.google.inject.matcher.Matchers.Only
- toString() - Method in class com.google.inject.matcher.Matchers.Returns
- toString() - Method in class com.google.inject.matcher.Matchers.SubclassesOf
- toString() - Method in class com.google.inject.name.NamedImpl
- toString() - Method in interface com.google.inject.Scope
-
A short but useful description of this scope.
- toString() - Method in class com.google.inject.servlet.InstanceFilterBindingImpl
- toString() - Method in class com.google.inject.servlet.InstanceServletBindingImpl
- toString() - Method in class com.google.inject.servlet.LinkedFilterBindingImpl
- toString() - Method in class com.google.inject.servlet.LinkedServletBindingImpl
- toString() - Method in class com.google.inject.servlet.ServletScopes.RequestScope
- toString() - Method in class com.google.inject.servlet.ServletScopes.SessionScope
- toString() - Method in class com.google.inject.spi.Dependency
- toString() - Method in class com.google.inject.spi.Elements.RecordingBinder
- toString() - Method in class com.google.inject.spi.ElementSource
-
Returns
getDeclaringSource().toString()
value. - toString() - Method in class com.google.inject.spi.InjectionPoint
- toString() - Method in class com.google.inject.spi.Message
- toString() - Method in class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
- toString() - Method in class com.google.inject.spi.ProviderLookup
- toString() - Method in class com.google.inject.spi.ScopeBinding
- toString() - Method in class com.google.inject.spi.TypeConverterBinding
- toString() - Method in class com.google.inject.throwingproviders.CheckedProviderMethod
- toString() - Method in class com.google.inject.throwingproviders.CheckedProviders.CheckedProviderInvocationHandler
- toString() - Method in class com.google.inject.throwingproviders.CheckedProviders.ReturningHandler
- toString() - Method in class com.google.inject.throwingproviders.CheckedProviders.ThrowingHandler
- toString() - Method in class com.google.inject.TypeLiteral
- toString() - Method in class com.google.inject.util.Providers.ConstantProvider
- toString() - Method in class com.google.inject.util.Providers.GuicifiedProvider
- toString(Member) - Static method in class com.google.inject.internal.util.Classes
-
Formats a member as concise string, such as
java.util.ArrayList.size
,java.util.ArrayList<init>()
orjava.util.List.remove()
. - toString(T) - Method in class com.google.inject.internal.Messages.Converter
- TRAMPOLINE_DESCRIPTOR - Static variable in class com.google.inject.internal.aop.AbstractGlueGenerator
-
The trampoline method takes an index, along with a context object and an array of argument objects, and invokes the appropriate constructor/method returning the result as an object.
- TRAMPOLINE_NAME - Static variable in class com.google.inject.internal.aop.AbstractGlueGenerator
- transferHttpRequest() - Static method in class com.google.inject.servlet.ServletScopes
- transferNonHttpRequest() - Static method in class com.google.inject.servlet.ServletScopes
- transferRequest() - Static method in class com.google.inject.servlet.ServletScopes
-
Returns an object that "transfers" the request to another thread.
- transferRequest(Callable<T>) - Static method in class com.google.inject.servlet.ServletScopes
-
Wraps the given callable in a contextual callable that "transfers" the request to another thread.
- TransitiveDependencyVisitor - Class in com.google.inject.grapher
- TransitiveDependencyVisitor() - Constructor for class com.google.inject.grapher.TransitiveDependencyVisitor
- trie - Variable in class com.google.inject.internal.aop.ImmutableStringTrie.Overflow
- trie - Variable in class com.google.inject.internal.aop.ImmutableStringTrie
-
The compressed trie.
- trimSource(List<Object>) - Method in class com.google.inject.internal.ChildBindingAlreadySetError
-
Omit the key itself in the source list since the information is redundant.
- trimSource(List<Object>) - Method in class com.google.inject.internal.MissingImplementationError
-
Omit the key itself in the source list since the information is redundant.
- TRUSTED_LOOKUP_BASE - Static variable in class com.google.inject.internal.aop.HiddenClassDefiner
- TRUSTED_LOOKUP_OFFSET - Static variable in class com.google.inject.internal.aop.HiddenClassDefiner
- trustedOriginalElementSource - Variable in class com.google.inject.spi.ElementSource
-
Wheather the originalElementSource was set externaly (untrusted) or by Guice internals (trusted).
- trustedSource - Variable in class com.google.inject.spi.Elements.RecordingBinder
- tryAccessDefineClass(Class<?>) - Static method in class com.google.inject.internal.aop.UnsafeClassDefiner
- tryInitialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.RealMapBinder.BindingSelection
-
Will initialize internal data structures.
- tryPrivileged(PrivilegedExceptionAction<T>, String) - Static method in class com.google.inject.internal.aop.UnsafeClassDefiner
- type - Variable in class com.google.inject.assistedinject.Parameter
- type - Variable in class com.google.inject.grapher.BindingEdge
- type - Variable in class com.google.inject.internal.Indexer.IndexedBinding
- type - Variable in class com.google.inject.internal.Messages.Converter
- type - Variable in class com.google.inject.internal.MissingConstructorError
- type - Variable in class com.google.inject.internal.ProvidesMethodScanner.TypeAndValue
- type - Variable in class com.google.inject.internal.RealElement
- type - Variable in class com.google.inject.internal.util.LineNumbers
- type - Variable in class com.google.inject.jndi.JndiIntegration.JndiProvider
- type - Variable in class com.google.inject.spi.InjectionRequest
- type - Variable in class com.google.inject.spi.MembersInjectorLookup
- type - Variable in class com.google.inject.spi.StaticInjectionRequest
- type - Variable in class com.google.inject.TypeLiteral
- type() - Element in annotation interface com.google.inject.internal.Element
- type() - Method in class com.google.inject.internal.RealElement
- Type() - Constructor for enum class com.google.inject.grapher.BindingEdge.Type
- Type() - Constructor for enum class com.google.inject.internal.Element.Type
- Type() - Constructor for enum class com.google.inject.multibindings.ProvidesIntoOptional.Type
- TYPE - Enum constant in enum class com.google.inject.grapher.NodeId.NodeType
-
Type or class node.
- TypeAndValue(TypeLiteral<T>, T) - Constructor for class com.google.inject.internal.ProvidesMethodScanner.TypeAndValue
- typeAndValueOfMapKey(Annotation) - Static method in class com.google.inject.internal.ProvidesMethodScanner
- typeArguments - Variable in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
- typeConverter - Variable in class com.google.inject.spi.TypeConverterBinding
- TypeConverter - Interface in com.google.inject.spi
-
Converts constant string values to a different type.
- typeConverterBinding - Variable in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- TypeConverterBinding - Class in com.google.inject.spi
-
Registration of type converters for matching target types.
- TypeConverterBinding(Object, Matcher<? super TypeLiteral<?>>, TypeConverter) - Constructor for class com.google.inject.spi.TypeConverterBinding
- TypeConverterBindingProcessor - Class in com.google.inject.internal
-
Handles
Binder.convertToTypes
commands. - TypeConverterBindingProcessor(Errors) - Constructor for class com.google.inject.internal.TypeConverterBindingProcessor
- TypeEncounter<I> - Interface in com.google.inject.spi
-
Context of an injectable type encounter.
- TypeListener - Interface in com.google.inject.spi
-
Listens for Guice to encounter injectable types.
- TypeListenerBinding - Class in com.google.inject.spi
-
Binds types (picked using a Matcher) to an type listener.
- TypeListenerBinding(Object, TypeListener, Matcher<? super TypeLiteral<?>>) - Constructor for class com.google.inject.spi.TypeListenerBinding
- typeListenerBindings - Variable in class com.google.inject.internal.InjectorBindingData
- typeListenerBindings - Variable in class com.google.inject.internal.MembersInjectorStore
- typeLiteral - Variable in class com.google.inject.internal.Indexer.IndexedBinding
- typeLiteral - Variable in class com.google.inject.internal.MembersInjectorImpl
- typeLiteral - Variable in class com.google.inject.internal.ProviderMethodsModule
- typeLiteral - Variable in class com.google.inject.Key
- typeLiteral - Variable in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
- TypeLiteral<T> - Class in com.google.inject
-
Represents a generic type
T
. - TypeLiteral() - Constructor for class com.google.inject.TypeLiteral
-
Constructs a new type literal.
- TypeLiteral(Type) - Constructor for class com.google.inject.TypeLiteral
-
Unsafe.
- typeMatcher - Variable in class com.google.inject.spi.TypeConverterBinding
- typeMatcher - Variable in class com.google.inject.spi.TypeListenerBinding
- typeName - Variable in class com.google.inject.throwingproviders.CheckedProviders.ThrowingHandler
- Types - Class in com.google.inject.util
-
Static methods for working with types.
- Types() - Constructor for class com.google.inject.util.Types
- typeToString(Type) - Static method in class com.google.inject.internal.MoreTypes
U
- unbox(MethodVisitor, Type) - Static method in class com.google.inject.internal.aop.BytecodeTasks
-
Unboxes a boxed value on the Java stack.
- underline(String) - Static method in class com.google.inject.internal.Messages
- UNDERLINE - Enum constant in enum class com.google.inject.internal.Messages.FormatOptions
- UNINITIALIZED - Enum constant in enum class com.google.inject.internal.RealMapBinder.BindingSelection.InitializationState
- uninitializedBindings - Variable in class com.google.inject.internal.ProcessedBindingData
- UniqueAnnotations - Class in com.google.inject.internal
- UniqueAnnotations() - Constructor for class com.google.inject.internal.UniqueAnnotations
- UniqueAnnotations.Internal - Annotation Interface in com.google.inject.internal
- uniqueId - Variable in class com.google.inject.internal.RealElement
- uniqueId() - Element in annotation interface com.google.inject.internal.Element
- uniqueId() - Method in class com.google.inject.internal.RealElement
- UNKNOWN_SOURCE - Static variable in class com.google.inject.internal.util.SourceProvider
-
Indicates that the source is unknown.
- UNKNOWN_SOURCE - Static variable in class com.google.inject.internal.util.StackTraceElements
- unlock() - Method in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
- unlock() - Method in interface com.google.inject.internal.CycleDetectingLock
-
Unlocks previously locked lock.
- unpackArguments(MethodVisitor, Class<?>[]) - Static method in class com.google.inject.internal.aop.BytecodeTasks
-
Unpacks an array of arguments and pushes them onto the Java stack.
- UNREFLECT_SPECIAL - Enum constant in enum class com.google.inject.assistedinject.FactoryProvider2.SuperMethodLookup
- UNSAFE_DEFINER - Static variable in class com.google.inject.internal.aop.UnsafeClassDefiner
- UnsafeClassDefiner - Class in com.google.inject.internal.aop
-
ClassDefiner
that defines classes usingsun.misc.Unsafe
. - UnsafeClassDefiner() - Constructor for class com.google.inject.internal.aop.UnsafeClassDefiner
- UnsafeClassDefiner.ClassLoaderDefineClassHolder - Class in com.google.inject.internal.aop
- UnsafeClassDefiner.DefineClassCacheHolder - Class in com.google.inject.internal.aop
- UNSCOPED - Static variable in class com.google.inject.internal.Scoping
-
No scoping annotation has been applied.
- UNTARGETTED - Enum constant in enum class com.google.inject.internal.Indexer.BindingType
- UntargettedBinding<T> - Interface in com.google.inject.spi
-
An untargetted binding.
- UntargettedBindingImpl<T> - Class in com.google.inject.internal
- UntargettedBindingImpl(InjectorImpl, Key<T>, Object) - Constructor for class com.google.inject.internal.UntargettedBindingImpl
- UntargettedBindingImpl(Object, Key<T>, Scoping) - Constructor for class com.google.inject.internal.UntargettedBindingImpl
- UntargettedBindingProcessor - Class in com.google.inject.internal
-
Processes just UntargettedBindings.
- UntargettedBindingProcessor(Errors, ProcessedBindingData) - Constructor for class com.google.inject.internal.UntargettedBindingProcessor
- unwrapValue() - Element in annotation interface com.google.inject.multibindings.MapKey
-
if
unwrapValue
is false, then the whole annotation will be the type and annotation instances will be the keys. - upperBound - Variable in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
- UriPatternMatcher - Interface in com.google.inject.servlet
-
A general interface for matching a URI against a URI pattern.
- uriPatterns - Variable in class com.google.inject.servlet.FiltersModuleBuilder.FilterKeyBindingBuilderImpl
- uriPatterns - Variable in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- UriPatternType - Enum Class in com.google.inject.servlet
-
An enumeration of the available URI-pattern matching styles
- UriPatternType() - Constructor for enum class com.google.inject.servlet.UriPatternType
- UriPatternType.RegexUriPatternMatcher - Class in com.google.inject.servlet
-
Matches URIs using a regular expression.
- UriPatternType.ServletStyleUriPatternMatcher - Class in com.google.inject.servlet
-
Matches URIs using the pattern grammar of the Servlet API and web.xml.
- UriPatternType.ServletStyleUriPatternMatcher.Kind - Enum Class in com.google.inject.servlet
- userLockId - Variable in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
-
User id for this lock.
- userMembersInjectors - Variable in class com.google.inject.internal.MembersInjectorImpl
- userRequestedMembersInjectorTypes - Variable in class com.google.inject.internal.InjectorImpl
-
The set of types passed to
InjectorImpl.getMembersInjector(com.google.inject.TypeLiteral<T>)
andInjectorImpl.injectMembers(java.lang.Object)
. - Using the factory - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- Using the factory - Search tag in class com.google.inject.assistedinject.FactoryProvider
- Section
V
- valid - Variable in class com.google.inject.internal.EncounterImpl
- valid - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- validate() - Method in class com.google.inject.internal.InjectionRequestProcessor.StaticInjection
- validate() - Method in class com.google.inject.internal.InjectionRequestProcessor
- validate(Errors) - Method in class com.google.inject.internal.Initializer.InjectableReference
- validateAndCanonicalizeValue(Key<?>, Object) - Static method in class com.google.inject.servlet.ServletScopes
-
Validates the key and object, ensuring the value matches the key type, and canonicalizing null objects to the null sentinel.
- VALIDATED - Enum constant in enum class com.google.inject.internal.Initializer.InjectableReferenceState
- validateExceptions(Binder, Iterable<TypeLiteral<?>>, Iterable<Class<? extends Throwable>>, Class<? extends CheckedProvider>) - Static method in class com.google.inject.throwingproviders.CheckedProvideUtils
-
Adds errors to the binder if the exceptions aren't valid.
- validateFactoryReturnType(Errors, Class<?>, Class<?>) - Method in class com.google.inject.assistedinject.FactoryProvider2
- validateKey(Object, Key<T>) - Method in class com.google.inject.internal.AbstractBindingProcessor
- validateOustandingInjections(Errors) - Method in class com.google.inject.internal.Initializer
-
Prepares member injectors for all injected instances.
- validationStarted - Variable in class com.google.inject.internal.Initializer
-
Is set to true once
Initializer.validateOustandingInjections(com.google.inject.internal.Errors)
is called. - value - Variable in class com.google.inject.internal.DuplicateElementError.Element
- value - Variable in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
- value - Variable in class com.google.inject.internal.ProvidesMethodScanner.TypeAndValue
- value - Variable in class com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- value - Variable in class com.google.inject.internal.RealOptionalBinder.JavaOptionalProviderProvider
- value - Variable in class com.google.inject.internal.RealOptionalBinder.RealOptionalProviderProvider
- value - Variable in class com.google.inject.matcher.Matchers.IdenticalTo
- value - Variable in class com.google.inject.matcher.Matchers.Only
- value - Variable in class com.google.inject.name.NamedImpl
- value - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.Result
- value() - Element in annotation interface com.google.inject.assistedinject.Assisted
-
The unique name for this parameter.
- value() - Element in annotation interface com.google.inject.ImplementedBy
-
The implementation type.
- value() - Element in annotation interface com.google.inject.internal.Annotations.TestAnnotation
- value() - Element in annotation interface com.google.inject.internal.RealOptionalBinder.Actual
- value() - Method in class com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- value() - Element in annotation interface com.google.inject.internal.RealOptionalBinder.Default
- value() - Element in annotation interface com.google.inject.internal.UniqueAnnotations.Internal
- value() - Element in annotation interface com.google.inject.multibindings.ClassMapKey
- value() - Element in annotation interface com.google.inject.multibindings.ProvidesIntoOptional
-
Specifies if the binding is for the actual or default value.
- value() - Element in annotation interface com.google.inject.multibindings.StringMapKey
- value() - Element in annotation interface com.google.inject.name.Named
- value() - Method in class com.google.inject.name.NamedImpl
- value() - Element in annotation interface com.google.inject.ProvidedBy
-
The implementation type.
- value() - Element in annotation interface com.google.inject.throwingproviders.CheckedProvides
-
The interface that provides this value, a subinterface of
CheckedProvider
. - valueKey - Variable in class com.google.inject.internal.RealMapBinder.ProviderMapEntry
- valueOf(String) - Static method in enum class com.google.inject.assistedinject.FactoryProvider2.SuperMethodLookup
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.grapher.BindingEdge.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.grapher.graphviz.ArrowType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.grapher.graphviz.CompassPoint
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.grapher.graphviz.EdgeStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.grapher.graphviz.NodeShape
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.grapher.graphviz.NodeStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.grapher.NodeId.NodeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.Element.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.ErrorId
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.Indexer.BindingType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.Initializer.InjectableReferenceState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.InjectorImpl.JitLimitation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.InternalFlags.BytecodeGenOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.InternalFlags.ColorizeOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.InternalFlags.IncludeStackTraceOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.InternalFlags.NullableProvidesOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.InternalProviderInstanceBindingImpl.InitializationTiming
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.Messages.FormatOptions
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.RealMapBinder.BindingSelection.InitializationState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.internal.RealOptionalBinder.Source
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.Key.NullAnnotationStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.multibindings.ProvidesIntoOptional.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.RestrictedBindingSource.RestrictionLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.servlet.ServletScopes.NullObject
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.servlet.UriPatternType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.spi.InjectionPoint.Position
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.inject.Stage
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.google.inject.assistedinject.FactoryProvider2.SuperMethodLookup
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.grapher.BindingEdge.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.grapher.graphviz.ArrowType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.grapher.graphviz.CompassPoint
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.grapher.graphviz.EdgeStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.grapher.graphviz.NodeShape
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.grapher.graphviz.NodeStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.grapher.NodeId.NodeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.Element.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.ErrorId
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.Indexer.BindingType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.Initializer.InjectableReferenceState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.InjectorImpl.JitLimitation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.InternalFlags.BytecodeGenOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.InternalFlags.ColorizeOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.InternalFlags.IncludeStackTraceOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.InternalFlags.NullableProvidesOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.InternalProviderInstanceBindingImpl.InitializationTiming
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.Messages.FormatOptions
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.RealMapBinder.BindingSelection.InitializationState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.internal.RealOptionalBinder.Source
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.Key.NullAnnotationStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.multibindings.ProvidesIntoOptional.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.RestrictedBindingSource.RestrictionLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.servlet.ServletScopes.NullObject
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.servlet.UriPatternType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.spi.InjectionPoint.Position
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.inject.Stage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Values are created by Guice - Search tag in class com.google.inject.assistedinject.FactoryModuleBuilder
- Section
- Values are created by Guice - Search tag in class com.google.inject.assistedinject.FactoryProvider
- Section
- valueType - Variable in class com.google.inject.internal.RealMapBinder.BindingSelection
- valueType - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
- VEE - Enum constant in enum class com.google.inject.grapher.graphviz.ArrowType
- visit(int, int, String, String, String, String[]) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- visit(AssistedInjectBinding<? extends T>) - Method in interface com.google.inject.assistedinject.AssistedInjectTargetVisitor
-
Visits an
AssistedInjectBinding
created throughFactoryModuleBuilder
. - visit(Binding<T>) - Method in class com.google.inject.internal.BindingProcessor
- visit(Binding<T>) - Method in class com.google.inject.internal.UntargettedBindingProcessor
- visit(Binding<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(Binding<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a mapping from a key (type and optional annotation) to the strategy for getting instances of the type.
- visit(MapBinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
Visits a binding created through
MapBinder
. - visit(MultibinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
Visits a binding created through
Multibinder
. - visit(OptionalBinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
Visits a binding created through
OptionalBinder
. - visit(InstanceFilterBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
Visits a filter binding created by
ServletModule.filter(java.lang.String, java.lang.String...)
whereServletModule.FilterKeyBindingBuilder.through(java.lang.Class<? extends javax.servlet.Filter>)
is called with aFilter
. - visit(InstanceServletBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
Visits a servlet binding created by
ServletModule.serve(java.lang.String, java.lang.String...)
whereServletModule.ServletKeyBindingBuilder.with(java.lang.Class<? extends javax.servlet.http.HttpServlet>)
, is called with anHttpServlet
. - visit(LinkedFilterBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
Visits a filter binding created by
ServletModule.filter(java.lang.String, java.lang.String...)
, whereServletModule.FilterKeyBindingBuilder.through(java.lang.Class<? extends javax.servlet.Filter>)
is called with a Class or Key. - visit(LinkedServletBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
Visits a servlet binding created by
ServletModule.serve(java.lang.String, java.lang.String...)
whereServletModule.ServletKeyBindingBuilder.with(java.lang.Class<? extends javax.servlet.http.HttpServlet>)
, is called with a Class or Key. - visit(ConstructorBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
Visitor for
ConstructorBinding
s. - visit(ConstructorBinding<?>) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
Visitor for
ConstructorBinding
s. - visit(ConstructorBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
- visit(ConstructorBinding<? extends Object>) - Method in class com.google.inject.internal.Indexer
- visit(ConstructorBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a constructor binding.
- visit(ConstructorBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
- visit(ConvertedConstantBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
Visitor for
ConvertedConstantBinding
. - visit(ConvertedConstantBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
- visit(ConvertedConstantBinding<? extends Object>) - Method in class com.google.inject.internal.Indexer
- visit(ConvertedConstantBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a binding created from converting a bound instance to a new type.
- visit(ConvertedConstantBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
- visit(DisableCircularProxiesOption) - Method in class com.google.inject.internal.InjectorOptionsProcessor
- visit(DisableCircularProxiesOption) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(DisableCircularProxiesOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a disable circular proxies command.
- visit(ExposedBinding<? extends Object>) - Method in class com.google.inject.internal.Indexer
- visit(ExposedBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a binding to a key exposed from an enclosed private environment.
- visit(ExposedBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
- visit(InjectionRequest<?>) - Method in class com.google.inject.internal.InjectionRequestProcessor
- visit(InjectionRequest<?>) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(InjectionRequest<?>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a request to inject the instance fields and methods of an instance.
- visit(InstanceBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
Visitor for
InstanceBinding
. - visit(InstanceBinding<?>) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
Visitor for
InstanceBinding
. - visit(InstanceBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
- visit(InstanceBinding<? extends Object>) - Method in class com.google.inject.internal.Indexer
- visit(InstanceBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a instance binding.
- visit(InstanceBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
- visit(InterceptorBinding) - Method in class com.google.inject.internal.InterceptorBindingProcessor
- visit(InterceptorBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(InterceptorBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of interceptors for matching methods of matching classes.
- visit(LinkedKeyBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
Visitor for
LinkedKeyBinding
. - visit(LinkedKeyBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
- visit(LinkedKeyBinding<? extends Object>) - Method in class com.google.inject.internal.Indexer
- visit(LinkedKeyBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a linked key binding.
- visit(LinkedKeyBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
- visit(MembersInjectorLookup<T>) - Method in class com.google.inject.internal.LookupProcessor
- visit(MembersInjectorLookup<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(MembersInjectorLookup<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a lookup of the members injector.
- visit(Message) - Method in class com.google.inject.internal.MessageProcessor
- visit(Message) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(Message) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit an error message and the context in which it occured.
- visit(ModuleAnnotatedMethodScannerBinding) - Method in class com.google.inject.internal.ModuleAnnotatedMethodScannerProcessor
- visit(ModuleAnnotatedMethodScannerBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(ModuleAnnotatedMethodScannerBinding) - Method in interface com.google.inject.spi.ElementVisitor
- visit(PrivateElements) - Method in class com.google.inject.internal.BindingProcessor
- visit(PrivateElements) - Method in class com.google.inject.internal.PrivateElementProcessor
- visit(PrivateElements) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(PrivateElements) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a collection of configuration elements for a private binder.
- visit(ProviderBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
Visitor for
ProviderBinding
. - visit(ProviderBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
- visit(ProviderBinding<? extends Object>) - Method in class com.google.inject.internal.Indexer
- visit(ProviderBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a binding to a
Provider
that delegates to the binding for the provided type. - visit(ProviderBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
- visit(ProviderInstanceBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
Same as
DefaultEdgeCreator.EdgeVisitor.visit(InstanceBinding)
, but the binding edge isBindingEdge.Type.PROVIDER
. - visit(ProviderInstanceBinding<?>) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
Same as
DefaultNodeCreator.NodeVisitor.visit(InstanceBinding)
, but the binding edge isinvalid reference
BindingEdgeType#PROVIDER
- visit(ProviderInstanceBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
- visit(ProviderInstanceBinding<? extends Object>) - Method in class com.google.inject.internal.Indexer
- visit(ProviderInstanceBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a provider instance binding.
- visit(ProviderInstanceBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
- visit(ProviderKeyBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
Same as
DefaultEdgeCreator.EdgeVisitor.visit(LinkedKeyBinding)
, but the binding edge isBindingEdge.Type.PROVIDER
. - visit(ProviderKeyBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
- visit(ProviderKeyBinding<? extends Object>) - Method in class com.google.inject.internal.Indexer
- visit(ProviderKeyBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a provider key binding.
- visit(ProviderKeyBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
- visit(ProviderLookup<T>) - Method in class com.google.inject.internal.LookupProcessor
- visit(ProviderLookup<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(ProviderLookup<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a lookup of the provider for a type.
- visit(ProvidesMethodBinding<? extends T>) - Method in interface com.google.inject.spi.ProvidesMethodTargetVisitor
-
Visits an
ProvidesMethodBinding
created with an @Provides
method. - visit(ProvisionListenerBinding) - Method in class com.google.inject.internal.ListenerBindingProcessor
- visit(ProvisionListenerBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(ProvisionListenerBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a provision listener binding.
- visit(RequireAtInjectOnConstructorsOption) - Method in class com.google.inject.internal.InjectorOptionsProcessor
- visit(RequireAtInjectOnConstructorsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(RequireAtInjectOnConstructorsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require explicit @
Inject
command. - visit(RequireExactBindingAnnotationsOption) - Method in class com.google.inject.internal.InjectorOptionsProcessor
- visit(RequireExactBindingAnnotationsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(RequireExactBindingAnnotationsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require exact binding annotations command.
- visit(RequireExplicitBindingsOption) - Method in class com.google.inject.internal.InjectorOptionsProcessor
- visit(RequireExplicitBindingsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(RequireExplicitBindingsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require explicit bindings command.
- visit(ScopeBinding) - Method in class com.google.inject.internal.ScopeBindingProcessor
- visit(ScopeBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(ScopeBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of a scope annotation with the scope that implements it.
- visit(StaticInjectionRequest) - Method in class com.google.inject.internal.InjectionRequestProcessor
- visit(StaticInjectionRequest) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(StaticInjectionRequest) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a request to inject the static fields and methods of type.
- visit(TypeConverterBinding) - Method in class com.google.inject.internal.TypeConverterBindingProcessor
- visit(TypeConverterBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(TypeConverterBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of type converters for matching target types.
- visit(TypeListenerBinding) - Method in class com.google.inject.internal.ListenerBindingProcessor
- visit(TypeListenerBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
- visit(TypeListenerBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit an injectable type listener binding.
- visit(UntargettedBinding<? extends Object>) - Method in class com.google.inject.internal.Indexer
- visit(UntargettedBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit an untargetted binding.
- visit(UntargettedBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
- visitAnnotation(String, boolean) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberMethodVisitor
- visitAnnotation(String, boolean) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- visitAnnotation(String, String) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberAnnotationVisitor
- visitAnnotationDefault() - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberMethodVisitor
- visitArray(String) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberAnnotationVisitor
- visitEagerSingleton() - Method in class com.google.inject.internal.Indexer
- visitEagerSingleton() - Method in interface com.google.inject.spi.BindingScopingVisitor
-
Visit an eager singleton or single instance.
- visitEagerSingleton() - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
- visitFastConstructors(Class<?>, Consumer<Constructor<?>>) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Visit all constructors for the host class that can be fast-invoked.
- visitFastMethods(Class<?>, Consumer<Method>) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Visit all methods declared by the host class that can be fast-invoked.
- visitField(int, String, String, String, Object) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- visitFieldInsn(int, String, String, String) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberMethodVisitor
- visitHasDependencies(HasDependencies) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
- visitLineNumber(int, Label) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberMethodVisitor
- visitLineNumber(int, Label) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- visitLocalVariable(String, String, String, Label, Label, int) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberAnnotationVisitor
- visitMembers(T[], boolean, Consumer<T>) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Visit all subclass accessible members in the given array.
- visitMethod(int, String, String, String, String[]) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- visitMethodHierarchy(Class<?>, Consumer<Method>) - Static method in class com.google.inject.internal.aop.ClassBuilding
-
Visit the method hierarchy for the host class.
- visitNoScoping() - Method in class com.google.inject.internal.Indexer
- visitNoScoping() - Method in interface com.google.inject.spi.BindingScopingVisitor
-
Visit an unspecified or unscoped strategy.
- visitNoScoping() - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
- visitOther() - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
-
Default visit implementation.
- visitOther(Binding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
- visitOther(Binding<?>) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
- visitOther(Binding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
- visitOther(Binding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
Default visit implementation.
- visitOther(Element) - Method in class com.google.inject.internal.AbstractProcessor
- visitOther(Element) - Method in class com.google.inject.spi.DefaultElementVisitor
-
Default visit implementation.
- visitOther(Element) - Method in class com.google.inject.util.Modules.ModuleWriter
- visitParameterAnnotation(int, String, boolean) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- visitScope(Scope) - Method in class com.google.inject.internal.Indexer
- visitScope(Scope) - Method in interface com.google.inject.spi.BindingScopingVisitor
-
Visit a scope instance.
- visitScope(Scope) - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
- visitScopeAnnotation(Class<? extends Annotation>) - Method in class com.google.inject.internal.Indexer
- visitScopeAnnotation(Class<? extends Annotation>) - Method in interface com.google.inject.spi.BindingScopingVisitor
-
Visit a scope annotation.
- visitScopeAnnotation(Class<? extends Annotation>) - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
- visitSource(String, String) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader
- VOID_PROVIDER_METHOD - Enum constant in enum class com.google.inject.internal.ErrorId
- voidProviderMethod() - Method in class com.google.inject.internal.Errors
W
- WARN - Enum constant in enum class com.google.inject.internal.InternalFlags.NullableProvidesOption
-
Warn if null parameters are passed to non-@Nullable parameters of provides methods.
- warnedDependencies - Static variable in exception class com.google.inject.internal.InternalProvisionException
- WARNING - Enum constant in enum class com.google.inject.RestrictedBindingSource.RestrictionLevel
- weakIntern(StackTraceElements.InMemoryStackTraceElement) - Static method in class com.google.inject.internal.util.StackTraceElements
- weakIntern(String) - Static method in class com.google.inject.internal.util.StackTraceElements
- WeakKeySet - Class in com.google.inject.internal
-
Minimal set that doesn't hold strong references to the contained keys.
- WeakKeySet(Object) - Constructor for class com.google.inject.internal.WeakKeySet
- WeakKeySet.KeyAndSource - Class in com.google.inject.internal
- WEST - Enum constant in enum class com.google.inject.grapher.graphviz.CompassPoint
- WildcardTypeImpl(Type[], Type[]) - Constructor for class com.google.inject.internal.MoreTypes.WildcardTypeImpl
- with() - Method in interface com.google.inject.util.Modules.OverriddenModuleBuilder
-
Deprecated.there's no reason to use
.with()
without any arguments. - with() - Method in class com.google.inject.util.Modules.RealOverriddenModuleBuilder
- with(Key<? extends HttpServlet>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
- with(Key<? extends HttpServlet>) - Method in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- with(Key<? extends HttpServlet>, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
- with(Key<? extends HttpServlet>, Map<String, String>) - Method in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- with(Key<? extends HttpServlet>, Map<String, String>, HttpServlet) - Method in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- with(Module...) - Method in interface com.google.inject.util.Modules.OverriddenModuleBuilder
-
See the EDSL example at
override()
. - with(Module...) - Method in class com.google.inject.util.Modules.RealOverriddenModuleBuilder
- with(Class<? extends HttpServlet>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
- with(Class<? extends HttpServlet>) - Method in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- with(Class<? extends HttpServlet>, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
- with(Class<? extends HttpServlet>, Map<String, String>) - Method in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- with(Iterable<? extends Module>) - Method in interface com.google.inject.util.Modules.OverriddenModuleBuilder
-
See the EDSL example at
override()
. - with(Iterable<? extends Module>) - Method in class com.google.inject.util.Modules.RealOverriddenModuleBuilder
- with(HttpServlet) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
- with(HttpServlet) - Method in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- with(HttpServlet, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
- with(HttpServlet, Map<String, String>) - Method in class com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- withAnnotation(Annotation) - Method in class com.google.inject.Key
-
Returns a new key of the same type with the specified annotation.
- withAnnotation(Class<? extends Annotation>) - Method in class com.google.inject.Key
-
Returns a new key of the same type with the specified annotation.
- withDispatcher(ServletRequest, ManagedServletPipeline) - Method in class com.google.inject.servlet.ManagedFilterPipeline
-
Used to create an proxy that dispatches either to the guice-servlet pipeline or the regular pipeline based on uri-path match.
- withKey(Key<T>) - Method in class com.google.inject.internal.BindingImpl
- withKey(Key<T>) - Method in class com.google.inject.internal.ConstructorBindingImpl
- withKey(Key<T>) - Method in class com.google.inject.internal.InstanceBindingImpl
- withKey(Key<T>) - Method in class com.google.inject.internal.LinkedBindingImpl
- withKey(Key<T>) - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- withKey(Key<T>) - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- withKey(Key<T>) - Method in class com.google.inject.internal.UntargettedBindingImpl
- withLookups(MethodHandles.Lookup) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
Typically called via
withLookups(MethodHandles.lookup())
. - withoutAttributes() - Method in class com.google.inject.Key.AnnotationInstanceStrategy
- withoutAttributes() - Method in interface com.google.inject.Key.AnnotationStrategy
- withoutAttributes() - Method in class com.google.inject.Key.AnnotationTypeStrategy
- withoutAttributes() - Method in enum class com.google.inject.Key.NullAnnotationStrategy
- withoutAttributes() - Method in class com.google.inject.Key
-
Returns this key without annotation attributes, i.e.
- withPartialValue(Object) - Method in exception class com.google.inject.ConfigurationException
-
Returns a copy of this configuration exception with the specified partial value.
- withScoping(Scoping) - Method in class com.google.inject.internal.BindingImpl
- withScoping(Scoping) - Method in class com.google.inject.internal.ConstructorBindingImpl
- withScoping(Scoping) - Method in class com.google.inject.internal.InstanceBindingImpl
- withScoping(Scoping) - Method in class com.google.inject.internal.LinkedBindingImpl
- withScoping(Scoping) - Method in class com.google.inject.internal.LinkedProviderBindingImpl
- withScoping(Scoping) - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
- withScoping(Scoping) - Method in class com.google.inject.internal.UntargettedBindingImpl
- withSource(Object) - Method in interface com.google.inject.Binder
-
Returns a binder that uses
source
as the reference location for configuration errors. - withSource(Object) - Method in class com.google.inject.internal.Errors
-
Returns an instance that uses
source
as a reference point for newly added errors. - withSource(Object) - Method in interface com.google.inject.PrivateBinder
- withSource(Object) - Method in class com.google.inject.spi.Elements.RecordingBinder
- withSource(List<Object>) - Method in class com.google.inject.spi.Message
-
Returns a copy of this
Message
with its sources replaced. - withSources(List<Object>) - Method in class com.google.inject.internal.BindingAlreadySetError
- withSources(List<Object>) - Method in class com.google.inject.internal.ChildBindingAlreadySetError
- withSources(List<Object>) - Method in class com.google.inject.internal.DuplicateElementError
- withSources(List<Object>) - Method in class com.google.inject.internal.DuplicateMapKeyError
- withSources(List<Object>) - Method in class com.google.inject.internal.GenericErrorDetail
- withSources(List<Object>) - Method in class com.google.inject.internal.MissingConstructorError
- withSources(List<Object>) - Method in class com.google.inject.internal.MissingImplementationError
- withSources(List<Object>) - Method in class com.google.inject.internal.ScopeNotFoundError
- withSources(List<Object>) - Method in class com.google.inject.spi.ErrorDetail
-
Returns a new instance of the same
ErrorDetail
with updated sources. - withTrustedSource(GuiceInternal, Binder, Object) - Static method in class com.google.inject.spi.Elements
-
Internal version of Binder.withSource for establishing a trusted ElementSource chain for source-restricting bindings that are re-written using
Element.applyTo(com.google.inject.Binder)
. - withTrustedSource(Object) - Method in class com.google.inject.spi.Elements.RecordingBinder
- wrap(Callable<T>, RequestScoper) - Static method in class com.google.inject.servlet.ServletScopes
- wrapRequest(HttpServletRequest, String) - Static method in class com.google.inject.servlet.ManagedServletPipeline
- writeAll(Iterable<? extends Element>) - Method in class com.google.inject.util.Modules.ModuleWriter
- writeReplace() - Method in class com.google.inject.spi.Message
-
When serialized, we convert the error detail to a
GenericErrorDetail
with string sources.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form