- 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
-
Bind a value or constant.
- 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.
- 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()
and or()
.
- 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
-
A support class for
Module
s which reduces repetition and results in
a more readable configuration.
- 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
-
- accept(Method) - Method in class com.google.inject.internal.ProxyFactory.IndicesCallbackFilter
-
- acceptExtensionVisitor(BindingTargetVisitor<T, V>, ProviderInstanceBinding<? extends T>) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
- acceptExtensionVisitor(BindingTargetVisitor<B, V>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.internal.ProviderMethod
-
- acceptExtensionVisitor(BindingTargetVisitor<B, R>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealMapProvider
-
- acceptExtensionVisitor(BindingTargetVisitor<B, V>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- acceptExtensionVisitor(BindingTargetVisitor, ProviderInstanceBinding) - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.JavaOptionalProvider
-
- acceptExtensionVisitor(BindingTargetVisitor<B, R>, ProviderInstanceBinding<? extends B>) - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealOptionalKeyProvider
-
- 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.
- 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 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 Provider<T>, V>) - Method in class com.google.inject.internal.InjectorImpl.ProviderBindingImpl
-
- 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(ElementVisitor<V>) - Method in class com.google.inject.internal.BindingImpl
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.internal.PrivateElementsImpl
-
- acceptVisitor(BindingScopingVisitor<V>) - Method in class com.google.inject.internal.Scoping
-
- 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<R>) - Method in class com.google.inject.spi.InjectionRequest
-
- 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<R>) - Method in class com.google.inject.spi.ProvisionListenerBinding
-
- 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
-
- actualBinding - Variable in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
the actual binding, for the SPI
- ActualImpl(String) - Constructor for class com.google.inject.multibindings.OptionalBinder.ActualImpl
-
- actualKey - Variable in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
- add(Object, Object) - Method in class com.google.inject.internal.InternalContext.DependencyStack
-
- add(Key<?>, State, 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.
- addAll(List<MethodInterceptor>) - Method in class com.google.inject.internal.ProxyFactory.MethodInterceptorsPair
-
- addBinding(Key<?>, TypeLiteral<?>) - Method in class com.google.inject.assistedinject.BindingCollector
-
- addBinding(K) - Method in class com.google.inject.multibindings.MapBinder
-
Returns a binding builder used to add a new entry in the map.
- addBinding(K) - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder
-
This creates two bindings.
- addBinding() - Method in class com.google.inject.multibindings.Multibinder
-
Returns a binding builder used to add a new element in the set.
- addBinding() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- addConverter(TypeConverterBinding) - Method in class com.google.inject.internal.InheritingState
-
- addConverter(TypeConverterBinding) - Method in interface com.google.inject.internal.State
-
- addCreationListener(CreationListener) - Method in class com.google.inject.internal.ProcessedBindingData
-
- addDirectTypeBinding(Binder) - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
Adds a binding for T.
- addedAspects - Variable in class com.google.inject.internal.MembersInjectorImpl
-
- addError(String, Object...) - Method in class com.google.inject.AbstractModule
-
- addError(Throwable) - Method in class com.google.inject.AbstractModule
-
- addError(Message) - 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(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(Message) - Method in interface com.google.inject.Binder
-
Records an error message to be presented to the user at a later time.
- addError(String, Object...) - Method in class com.google.inject.internal.EncounterImpl
-
- addError(Throwable) - Method in class com.google.inject.internal.EncounterImpl
-
- addError(Message) - Method in class com.google.inject.internal.EncounterImpl
-
- addError(String, Object...) - Method in class com.google.inject.PrivateModule
-
- addError(Throwable) - Method in class com.google.inject.PrivateModule
-
- addError(Message) - Method in class com.google.inject.PrivateModule
-
- addError(String, Object...) - Method in class com.google.inject.spi.Elements.RecordingBinder
-
- addError(Throwable) - Method in class com.google.inject.spi.Elements.RecordingBinder
-
- addError(Message) - 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 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.
- addError(Message) - Method in interface com.google.inject.spi.TypeEncounter
-
Records an error message to be presented to the user at a later time.
- addExposureBuilder(ExposureBuilder<?>) - Method in class com.google.inject.internal.PrivateElementsImpl
-
- addField(String, String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- addMessage(String, Object...) - Method in class com.google.inject.internal.Errors
-
- addMessage(Throwable, String, Object...) - Method in class com.google.inject.internal.Errors
-
- addMessage(Message) - Method in class com.google.inject.internal.Errors
-
- addMethodAspect(MethodAspect) - Method in class com.google.inject.internal.InheritingState
-
- addMethodAspect(MethodAspect) - Method in interface com.google.inject.internal.State
-
- 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.InheritingState
-
- addProvisionListener(ProvisionListenerBinding) - Method in interface com.google.inject.internal.State
-
- addScanner(ModuleAnnotatedMethodScannerBinding) - Method in class com.google.inject.internal.InheritingState
-
- addScanner(ModuleAnnotatedMethodScannerBinding) - Method in interface com.google.inject.internal.State
-
- addSubtitle(int, String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- addTypeListener(TypeListenerBinding) - Method in class com.google.inject.internal.InheritingState
-
- addTypeListener(TypeListenerBinding) - Method in interface com.google.inject.internal.State
-
- 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.MethodHandleWrapper
-
- allowsNull(Annotation[]) - Static method in class com.google.inject.internal.Nullability
-
- allowsNull() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
Returns whether a binding supports null values.
- allParameters - Variable in class com.google.inject.assistedinject.AssistedConstructor
-
- ambiguousTypeConversion(String, Object, TypeLiteral<?>, TypeConverterBinding, TypeConverterBinding) - Method in class com.google.inject.internal.Errors
-
- and(BytecodeGen.Visibility) - Method in enum com.google.inject.internal.BytecodeGen.Visibility
-
- 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 return true
.
- 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(Class<? extends Annotation>) - Method in interface com.google.inject.binder.AnnotatedBindingBuilder
-
See the EDSL examples at
Binder
.
- annotatedWith(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(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(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(Annotation) - Method in class com.google.inject.internal.BindingBuilder
-
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
-
- annotatedWith(Annotation) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
-
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.internal.ExposureBuilder
-
- annotatedWith(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(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) - Constructor for class com.google.inject.matcher.Matchers.AnnotatedWith
-
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- annotatedWith(Annotation) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- 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
- annotatedWithInternal(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.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.multibindings.MultibindingsScanner.AnnotationOrError
-
- annotation - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- ANNOTATION_ALREADY_SPECIFIED - Static variable in class com.google.inject.internal.AbstractBindingBuilder
-
- 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.multibindings.MultibindingsScanner.Scanner
-
- 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.multibindings.Indexer.IndexedBinding
-
- AnnotationOrError(Annotation, boolean) - Constructor for class com.google.inject.multibindings.MultibindingsScanner.AnnotationOrError
-
- Annotations - Class in com.google.inject.internal
-
Annotation utilities.
- Annotations() - Constructor for class com.google.inject.internal.Annotations
-
- Annotations.AnnotationChecker - Class in com.google.inject.internal
-
Checks for the presence of annotations.
- 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()
.
- 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.multibindings.Indexer.IndexedBinding
-
- annotationType() - Method in class com.google.inject.multibindings.OptionalBinder.BaseAnnotation
-
- annotationType() - Method in class com.google.inject.multibindings.RealElement
-
- annotationType() - Method in class com.google.inject.name.NamedImpl
-
- annotationType - Variable in class com.google.inject.spi.ScopeBinding
-
- annotationType - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- annotationTypes - Variable in class com.google.inject.internal.Annotations.AnnotationChecker
-
- AnnotationTypeStrategy(Class<? extends Annotation>, Annotation) - Constructor for class com.google.inject.Key.AnnotationTypeStrategy
-
- ANY - Static variable in class com.google.inject.matcher.Matchers
-
- 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
-
- AOP_INTERNAL_CLASSES - Static variable in class com.google.inject.internal.InterceptorStackCallback
-
- append(byte) - Method in class com.google.inject.servlet.ServletUtils.ByteAccumulator
-
- appendModules(Object, ElementSource) - Static method in class com.google.inject.internal.Errors
-
- appliesTo(Object) - Method in class com.google.inject.internal.Errors.Converter
-
- apply(Method) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.NotSyntheticOrBridgePredicate
-
- 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.ProviderBindingImpl
-
- 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(ScopedBindingBuilder) - Method in class com.google.inject.internal.Scoping
-
- 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
-
- 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 - Enum in com.google.inject.grapher.graphviz
-
Arrow symbols that are available from Graphviz.
- ArrowType(String) - Constructor for enum com.google.inject.grapher.graphviz.ArrowType
-
- arrowType - Variable in enum 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
-
- asModule() - Static method in class com.google.inject.multibindings.MultibindingsScanner
-
- 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 Type 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 Type 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
- atInjectRequired(Class) - Method in class com.google.inject.internal.Errors
-
- atInjectRequired - Variable in class com.google.inject.internal.InjectorImpl.InjectorOptions
-
- atInjectRequired - Variable in class com.google.inject.internal.InjectorOptionsProcessor
-
- attributes - Variable in class com.google.inject.servlet.ContinuingHttpServletRequest
-
- 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(InternalContext) - Method in interface com.google.inject.internal.ContextualCallable
-
- call() - Method in interface com.google.inject.internal.ProvisionListenerStackCallback.ProvisionCallback
-
- callable - Variable in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
-
- callbacks - Variable in class com.google.inject.internal.ProxyFactory
-
- callbacks - Variable in class com.google.inject.internal.ProxyFactory.ProxyConstructor
-
- callInContext(ContextualCallable<T>) - Method in class com.google.inject.internal.InjectorImpl
-
Looks up thread local context.
- 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
-
- cannotInjectMethodWithTypeParameters(Method) - Method in class com.google.inject.internal.Errors
-
- cannotInjectNonVoidMethod(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<?>) - Method in class com.google.inject.internal.Errors
-
- canonicalize(ClassLoader) - Static method in class com.google.inject.internal.BytecodeGen
-
Attempts to canonicalize null references to the system class loader.
- 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 by invoked
without wrapping.
- capitalize(String) - Static method in class com.google.inject.internal.TypeConverterBindingProcessor
-
- cause - Variable in class com.google.inject.spi.Message
-
- CGLIB_PACKAGE - Static variable in class com.google.inject.internal.BytecodeGen
-
either "net.sf.cglib", or "com.google.inject.internal.cglib"
- checkArgument(boolean, String, Object...) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- checkConfiguration(boolean, String, Object...) - Static method in class com.google.inject.multibindings.Multibinder
-
- 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<T> - Interface in com.google.inject.throwingproviders
-
Alternative to the Guice
Provider
that throws
a checked Exception.
- checkedProvider - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
-
- 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
-
- 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.
- CheckedProviderWithDependencies<T> - Interface in com.google.inject.throwingproviders
-
A checked provider with dependencies, so
HasDependencies
can be implemented
when using the
SecondaryBinder#using
methods.
- CheckedProvides - Annotation Type in com.google.inject.throwingproviders
-
- 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
.
- checkForNull(T, Object, Dependency<?>) - Method in class com.google.inject.internal.Errors
-
Returns value
if it is non-null or allowed to be null.
- checkForRuntimeRetention(Class<? extends Annotation>) - Static method in class com.google.inject.matcher.Matchers
-
- checkInterface() - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- checkNotAnnotated() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- checkNotAnnotated() - Method in class com.google.inject.internal.ExposureBuilder
-
- checkNotNull(T, String) - Static method in class com.google.inject.multibindings.Multibinder
-
- 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.
- childBindingAlreadySet(Key<?>, Set<Object>) - Method in class com.google.inject.internal.Errors
-
- circularDependenciesDisabled(Class<?>) - Method in class com.google.inject.internal.Errors
-
- CircularDependencyProxy - Interface in com.google.inject.internal
-
- circularGet(Provider<? extends T>, Errors, InternalContext, Dependency<?>, ProvisionListenerStackCallback<T>) - Method in class com.google.inject.internal.ProviderInternalFactory
-
- CLASS_LOADER_CACHE - Static variable in class com.google.inject.internal.BytecodeGen
-
Weak cache of bridge class loaders that make the Guice implementation
classes visible to various code-generated proxies of client classes.
- Classes - Class in com.google.inject.internal.util
-
Class utilities.
- Classes() - Constructor for class com.google.inject.internal.util.Classes
-
- classicLoadClass(String, boolean) - Method in class com.google.inject.internal.BytecodeGen.BridgeClassLoader
-
- ClassMapKey - Annotation Type in com.google.inject.multibindings
-
- classMatcher - Variable in class com.google.inject.internal.MethodAspect
-
- classMatcher - Variable in class com.google.inject.spi.InterceptorBinding
-
- classNamesToSkip - Variable in class com.google.inject.internal.util.SourceProvider
-
- clazz - Variable in class com.google.inject.multibindings.OptionalBinder.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.
- cleanUpForCollectedState(Set<WeakKeySet.KeyAndSource>) - Method in class com.google.inject.internal.WeakKeySet
-
There may be multiple child injectors blacklisting a certain key so only remove the source
that's relevant.
- clearCache() - Static method in class com.google.inject.internal.util.StackTraceElements
-
Clears the internal cache for StackTraceElements
.
- close() - Method in interface com.google.inject.servlet.RequestScoper.CloseableScope
-
- 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 type
elementType
.
- collectionOfJavaxProvidersKey - Variable in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- collectionOfJavaxProvidersOf(TypeLiteral<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
- collectionOfProvidersKey - Variable in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- collectionOfProvidersOf(TypeLiteral<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
- 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.
- 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.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 like "juice")
- 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.testing.fieldbinder - package com.google.inject.testing.fieldbinder
-
- 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(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
-
- CompassPoint - Enum 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 com.google.inject.grapher.graphviz.CompassPoint
-
- compassPt - Variable in enum com.google.inject.grapher.graphviz.CompassPoint
-
Graphviz "compass_pt" value.
- componentType - Variable in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
-
- computeHashCode() - Method in class com.google.inject.Key
-
Computes the hash code for this key.
- ConfigurationException - Exception 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 com.google.inject.ConfigurationException
-
Creates a ConfigurationException containing messages
.
- configure(Binder) - Method in class com.google.inject.AbstractModule
-
- 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(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 interface com.google.inject.Module
-
Contributes bindings and other configurations for this module to binder
.
- configure(Binder) - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder
-
- configure(Binder) - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.MultimapBinder
-
- configure() - Method in class com.google.inject.multibindings.Multibinder.PermitDuplicatesModule
-
- configure(Binder) - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- configure(Binder) - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
- configure(Binder) - Method in class com.google.inject.PrivateModule
-
- 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(Binder) - Method in class com.google.inject.spi.Elements.ElementsAsModule
-
- configure(Binder) - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule
-
- 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.EmptyModule
-
- configure() - Method in class com.google.inject.util.Modules.OverrideModule
-
- configureServlets() - Method in class com.google.inject.servlet.ServletModule
-
Servlet Mapping EDSL
- 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(Errors, InternalContext, Class<?>, 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<T> - Interface in com.google.inject.internal
-
Proxies calls to a Constructor
for a class
T
.
- constructionProxy - Variable in class com.google.inject.internal.ConstructorInjector
-
- ConstructionProxyFactory<T> - Interface in com.google.inject.internal
-
- 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_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.
- constructorIndex - Variable in class com.google.inject.internal.ProxyFactory.ProxyConstructor
-
- 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.multibindings.MapBinder.RealMapBinder
-
- containsElement(Element) - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealMapProvider
-
- 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 class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- containsElement(Element) - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns true if this Multibinder uses the given Element.
- containsElement(Element) - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
- containsElement(Element) - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.JavaOptionalProvider
-
- containsElement(Element) - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealOptionalKeyProvider
-
- 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.internal.ProvisionListenerStackCallback.Provision
-
- context - Variable in class com.google.inject.jndi.JndiIntegration.JndiProvider
-
- Context(HttpServletRequest, HttpServletRequest, HttpServletResponse) - Constructor for class com.google.inject.servlet.GuiceFilter.Context
-
- Context() - Constructor for class com.google.inject.servlet.ServletScopes.Context
-
- contextDestroyed(ServletContextEvent) - Method in class com.google.inject.servlet.GuiceServletContextListener
-
- contextInitialized(ServletContextEvent) - Method in class com.google.inject.servlet.GuiceServletContextListener
-
- ContextualCallable<T> - Interface in com.google.inject.internal
-
- continueRequest(Callable<T>, Map<Key<?>, Object>) - Static method in class com.google.inject.servlet.ServletScopes
-
- 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
-
- 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, ElementSource) - Static method in class com.google.inject.internal.Errors
-
- convert(Object) - Method in class com.google.inject.internal.Errors.Converter
-
- 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.
- 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.Errors.Converter
-
- converterReturnedNull(String, Object, TypeLiteral<?>, TypeConverterBinding) - Method in class com.google.inject.internal.Errors
-
- converters - Static variable in class com.google.inject.internal.Errors
-
- converters - Variable in class com.google.inject.internal.InheritingState
-
- 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, 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.
- 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.
- copyErrorsToBinder(ConfigurationException) - Method in class com.google.inject.internal.BindingBuilder
-
- create(Constructor<T>, List<TypeLiteral<?>>) - Static method in class com.google.inject.assistedinject.AssistedConstructor
-
- create(Method, Object) - Static method in class com.google.inject.assistedinject.FactoryProvider2.MethodHandleWrapper
-
- create() - Method in interface com.google.inject.internal.ConstructionProxyFactory
-
Gets a construction proxy for the given constructor.
- create(InjectorImpl, Key<T>, InjectionPoint, Object, Scoping, Errors, boolean, boolean) - Static method in class com.google.inject.internal.ConstructorBindingImpl
-
- create(ID) - Method in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory
-
Creates new lock within this factory context.
- create() - Method in class com.google.inject.internal.DefaultConstructionProxyFactory
-
- create(K, Errors) - Method in class com.google.inject.internal.FailableCache
-
- create(Key<T>, Method, Object, ImmutableSet<Dependency<?>>, List<Provider<?>>, Class<? extends Annotation>, boolean, Annotation) - Static method in class com.google.inject.internal.ProviderMethod
-
- create(Binding<T>) - Method in class com.google.inject.internal.ProvisionListenerCallbackStore
-
- 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
-
- 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
-
- createBinding(InjectorImpl, Key<T>, ProviderMethod<T>, Object, Scoping) - Static method in class com.google.inject.internal.ProviderMethod
-
- createChild(Object, StackTraceElement[]) - Method in class com.google.inject.spi.ModuleSource
-
- createChildInjector(Iterable<? extends Module>) - Method in interface com.google.inject.Injector
-
Returns a new injector that inherits all state from this injector.
- createChildInjector(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(Module...) - Method in class com.google.inject.internal.InjectorImpl
-
- createChildInjector(Iterable<? extends Module>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
-
- createChildInjector(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(Iterable<? extends 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.
- createInternalFactory(Binding<T>) - Static method in class com.google.inject.internal.InjectorImpl.ProviderBindingImpl
-
- 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
-
- 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.
- createProviderBinding(Key<Provider<T>>, Errors) - Method in class com.google.inject.internal.InjectorImpl
-
Creates a synthetic binding to Provider<T>
, i.e.
- createProviderMethod(Binder, Method, Annotation) - Method in class com.google.inject.internal.ProviderMethodsModule
-
- createProviderMethod(Binder, Method, CheckedProvides) - Method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
-
- createProxy(Errors, 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
-
- createTypeLiteralBinding(Key<TypeLiteral<T>>, Errors) - Method in class com.google.inject.internal.InjectorImpl
-
Converts a binding for a Key<TypeLiteral<T>>
to the value TypeLiteral<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.
- CreationException - Exception in com.google.inject
-
Thrown when errors occur while creating a
Injector
.
- CreationException(Collection<Message>) - Constructor for exception 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
-
- currentInjector - Static variable in class com.google.inject.internal.SingletonScope
-
SingletonScope needs the owning injector's thread-specific InternalContext object during
singleton instantiation, to look up type information on the singleton instance, and to
determine whether circular proxy creation is enabled within InjectorOptions.
- currentReference - Variable in class com.google.inject.internal.ConstructionContext
-
- 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 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
-
- CycleDetectingLockFactory() - Constructor for class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory
-
- 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.
- 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
-
- GenericArrayTypeImpl(Type) - Constructor for class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
-
- get() - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- get() - Method in class com.google.inject.assistedinject.FactoryProvider2
-
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.BoundProviderFactory
-
- get(Errors, InternalContext, Dependency, boolean) - Method in class com.google.inject.internal.ConstantFactory
-
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.ConstructorBindingImpl.Factory
-
- get(InjectionPoint, Errors) - Method in class com.google.inject.internal.ConstructorInjectorStore
-
Returns a new complete constructor injector with injection listeners registered.
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.ExposedKeyFactory
-
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.FactoryProxy
-
- get(K, Errors) - Method in class com.google.inject.internal.FailableCache
-
- get(Errors) - Method in interface com.google.inject.internal.Initializable
-
Ensures the reference is initialized, then returns it.
- get(Errors) - Method in class com.google.inject.internal.Initializer.InjectableReference
-
Reentrant.
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InjectorShell.InjectorFactory
-
- get() - Method in class com.google.inject.internal.InjectorShell.InjectorFactory
-
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InjectorShell.LoggerFactory
-
- get() - Method in class com.google.inject.internal.InjectorShell.LoggerFactory
-
- get(int) - Method in class com.google.inject.internal.InternalContext.DependencyStack
-
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in interface com.google.inject.internal.InternalFactory
-
Creates an object to be injected.
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InternalFactoryToInitializableAdapter
-
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.InternalFactoryToProviderAdapter
-
- get(TypeLiteral<T>, Errors) - Method in class com.google.inject.internal.MembersInjectorStore
-
Returns a new complete members injector with injection listeners registered.
- get(Errors, InternalContext, Dependency, boolean) - Method in class com.google.inject.internal.ProvidedByInternalFactory
-
- get(Errors, InternalContext, Dependency<?>, boolean) - Method in class com.google.inject.internal.ProviderMethod.Factory
-
- get() - Method in class com.google.inject.internal.ProviderMethod
-
- get() - Method in class com.google.inject.internal.ProviderToInternalFactoryAdapter
-
- get(Binding<T>) - Method in class com.google.inject.internal.ProvisionListenerCallbackStore
-
- get(StackTraceElement[]) - Method in class com.google.inject.internal.util.SourceProvider
-
Returns the calling line of code.
- get() - Method in class com.google.inject.jndi.JndiIntegration.JndiProvider
-
- 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>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type.
- 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(Class<T>, Annotation) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation.
- get(Type) - Static method in class com.google.inject.Key
-
Gets a key for an injection type.
- 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(Type, Annotation) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation.
- get(TypeLiteral<T>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type.
- 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(TypeLiteral<T>, Annotation) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation.
- get() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.MultimapBinder.RealMultimapProvider
-
- get() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
-
- get() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry
-
- get() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealMapProvider
-
- get() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealProviderMapProvider
-
- get() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.ValueProvider
-
- get() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- get() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder.RealMultibinderCollectionOfProvidersProvider
-
- get() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.JavaOptionalProvider
-
- get() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.JavaOptionalProviderProvider
-
- get() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealDirectTypeProvider
-
- get() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealOptionalKeyProvider
-
- get() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealOptionalProviderProvider
-
- 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(UriPatternType, String) - Static method in enum com.google.inject.servlet.UriPatternType
-
- 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() - 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(Type) - Static method in class com.google.inject.TypeLiteral
-
Gets type literal for the given Type
instance.
- get(Class<T>) - Static method in class com.google.inject.TypeLiteral
-
Gets type literal for the given Class
instance.
- get() - Method in class com.google.inject.util.Providers.ConstantProvider
-
- get() - Method in class com.google.inject.util.Providers.GuicifiedProvider
-
- GET_INSTANCE_VISITOR - Static variable in class com.google.inject.spi.Elements
-
- getActualBinding() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
- getActualBinding() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.JavaOptionalProvider
-
- getActualBinding() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealOptionalKeyProvider
-
- getActualBinding() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
- 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(TypeLiteral<T>) - Method in class com.google.inject.internal.InjectorImpl.BindingsMultimap
-
- getAll(Errors, 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
-
- getAllLockIdsAfter(long, CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock) - Method in class com.google.inject.internal.CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
-
Return locks owned by a thread after a lock specified, inclusive.
- getAllParameters() - Method in class com.google.inject.assistedinject.AssistedConstructor
-
Returns an ordered list of all constructor parameters (both
Assisted
and
Inject
ed).
- 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.
- getAnnotation() - Method in enum com.google.inject.Key.NullAnnotationStrategy
-
- getAnnotation() - Method in interface com.google.inject.spi.ProvidesMethodBinding
-
Returns the annotation that caused this binding to be created.
- getAnnotationName(Key<?>) - Method in interface com.google.inject.grapher.NameFactory
-
- getAnnotationName(Key<?>) - Method in class com.google.inject.grapher.ShortNameFactory
-
- getAnnotationName() - Method in class com.google.inject.Key
-
- 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 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
-
Turns a
List
of
ArrowType
s into a
String
that
represents combining them.
- 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
-
- getAssistedMethods() - Method in class com.google.inject.assistedinject.FactoryProvider2
-
- getAssistedParameters() - Method in class com.google.inject.assistedinject.AssistedConstructor
-
- 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(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the binding for the given injection key.
- getBinding(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the binding for the given type.
- getBinding() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- getBinding(Key<T>) - Method in class com.google.inject.internal.InjectorImpl
-
Returns the binding for key
- getBinding(Class<T>) - Method in class com.google.inject.internal.InjectorImpl
-
- getBinding(Key<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
-
- getBinding(Class<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
-
- getBinding() - Method in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
-
- getBinding() - Method in class com.google.inject.spi.ProvisionListener.ProvisionInvocation
-
Returns the Binding this is provisioning.
- 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.
- 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.
- 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(Injector, Set<Key<?>>) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Returns the bindings for the root keys and their transitive dependencies.
- 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
-
- getBindingSource() - Method in class com.google.inject.spi.DependencyAndSource
-
Returns a string describing where this dependency was bound.
- getBoundFieldInfo(TypeLiteral<?>, Field) - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule
-
- getBoundType() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
- 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.
- getClassLoader(Class<?>) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns the class loader to host generated classes for type
.
- getClassLoader(Class<?>, ClassLoader) - Static method in class com.google.inject.internal.BytecodeGen
-
- getClassMatcher() - Method in class com.google.inject.spi.InterceptorBinding
-
- getClassName(Key<?>) - Method in interface com.google.inject.grapher.NameFactory
-
- getClassName(Key<?>) - Method in class com.google.inject.grapher.ShortNameFactory
-
- getClassName() - Method in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
-
- getCollectionKey() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder.RealMultibinderCollectionOfProvidersProvider
-
- 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.InheritingState
-
- getConverter(String, TypeLiteral<?>, Errors, Object) - Method in interface com.google.inject.internal.State
-
Returns the matching converter for type
, or null if none match.
- getConvertersThisLevel() - Method in class com.google.inject.internal.InheritingState
-
- getConvertersThisLevel() - Method in interface com.google.inject.internal.State
-
Returns all converters at this level only.
- 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
-
- 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.multibindings.OptionalBinder.RealOptionalBinder
-
- getDefaultBinding() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.JavaOptionalProvider
-
- getDefaultBinding() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealOptionalKeyProvider
-
- getDefaultBinding() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
- 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.
- getDelegateModule() - 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(InjectionPoint, TypeLiteral<?>) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
Calculates all dependencies required by the implementation and constructor.
- 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.ProviderBindingImpl
-
- 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.multibindings.MapBinder.RealMapBinder.MultimapBinder.RealMultimapProvider
-
- getDependencies() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
-
- getDependencies() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry
-
- getDependencies() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealMapProvider
-
- getDependencies() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealProviderMapProvider
-
- getDependencies() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- getDependencies() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder.RealMultibinderCollectionOfProvidersProvider
-
- getDependencies() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.JavaOptionalProvider
-
- getDependencies() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.JavaOptionalProviderProvider
-
- getDependencies() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealDirectTypeProvider
-
- getDependencies() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealOptionalKeyProvider
-
- getDependencies() - Method in class com.google.inject.multibindings.OptionalBinder.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
-
- getDependency() - Method in class com.google.inject.internal.InternalContext
-
- getDependency() - Method in class com.google.inject.spi.DependencyAndSource
-
Returns the Dependency, if one exists.
- getDependency() - Method in class com.google.inject.spi.ProviderLookup
-
- getDependencyChain() - Method in class com.google.inject.internal.InternalContext
-
Returns the current dependency chain (all the state).
- getDependencyChain() - Method in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
-
- getDependencyChain() - Method in class com.google.inject.spi.ProvisionListener.ProvisionInvocation
-
Returns the dependency chain that led to this object being provisioned.
- 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 class com.google.inject.internal.InjectorShell
-
- getElements() - Method in class com.google.inject.internal.PrivateElementsImpl
-
- getElements() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- getElements() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns all bindings that make up the set.
- 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(Iterable<? extends 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() - Method in interface com.google.inject.spi.PrivateElements
-
Returns the configuration information in this private environment.
- 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.multibindings.Multibinder.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.
- getEntries() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealMapProvider
-
- getEntries() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns all entries in the Map.
- getErrorMessages() - Method in exception com.google.inject.ConfigurationException
-
Returns messages for the errors that caused this exception.
- getErrorMessages() - Method in exception com.google.inject.CreationException
-
Returns messages for the errors that caused this exception.
- getErrorMessages() - Method in exception com.google.inject.ProvisionException
-
Returns messages for the errors that caused this exception.
- getErrors() - Method in exception com.google.inject.internal.ErrorsException
-
- 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.InheritingState
-
- getExplicitBinding(Key<T>) - Method in interface com.google.inject.internal.State
-
Gets a binding which was specified explicitly in a module, or null.
- getExplicitBindingsThisLevel() - Method in class com.google.inject.internal.InheritingState
-
- getExplicitBindingsThisLevel() - Method in interface com.google.inject.internal.State
-
Returns the explicit bindings at this level only.
- 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
.
- getFieldValue(BoundFieldModule.BoundFieldInfo) - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule
-
Returns the field value to bind, throwing for non-@Nullable
fields with null values,
and for null "transparent providers".
- 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
-
- 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(TypeLiteral<?>, boolean, Errors) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns an ordered, immutable set of injection points for the given type.
- 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 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.
- 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.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.
- 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(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the appropriate instance for the given injection key; equivalent to getProvider(key).get()
.
- 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(Key<T>) - Method in class com.google.inject.internal.InjectorImpl
-
- getInstance(Class<T>) - Method in class com.google.inject.internal.InjectorImpl
-
- getInstance() - Method in class com.google.inject.internal.InstanceBindingImpl
-
- getInstance(Key<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
-
- getInstance(Class<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
-
- getInstance() - Method in class com.google.inject.internal.ProviderMethod
-
- getInstance() - Method in class com.google.inject.spi.InjectionRequest
-
- getInstance() - Method in interface com.google.inject.spi.InstanceBinding
-
Returns the user-supplied instance.
- 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
-
- 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
-
- 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(TypeLiteral<?>, Member, Annotation[], Errors) - Static method in class com.google.inject.internal.Annotations
-
Gets a key for the given type, member and annotations.
- 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(Errors, TypeLiteral<T>, Member, Annotation[]) - Method in class com.google.inject.internal.ProviderMethodsModule
-
- getKey() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry
-
- getKey() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.JavaOptionalProvider
-
- getKey() - Method in class com.google.inject.multibindings.OptionalBinder.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(Errors, TypeLiteral<T>, Member, Annotation[]) - Method in class com.google.inject.throwingproviders.CheckedProviderMethodsModule
-
- 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.
- getKeyForActualBinding() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
- getKeyForDefaultBinding() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
- getKeyForNewItem() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- getKeyForNewValue(K) - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder
-
- getKeyTypeLiteral() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealMapProvider
-
- getKeyTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the TypeLiteral describing the keys of the map.
- getLineNumber(Member) - Method in class com.google.inject.internal.util.LineNumbers
-
Get the line number associated with the given member.
- getLineNumber() - Method in class com.google.inject.internal.util.StackTraceElements.InMemoryStackTraceElement
-
- 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
-
- getLowerBounds() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- getMapKey() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealMapProvider
-
- getMapKey() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the
Key
for the map.
- 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(Class<T>) - Method in class com.google.inject.AbstractModule
-
- 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(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(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(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(TypeLiteral<T>) - Method in class com.google.inject.internal.DeferredLookups
-
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.internal.EncounterImpl
-
- getMembersInjector(Class<T>) - Method in class com.google.inject.internal.EncounterImpl
-
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.internal.InjectorImpl
-
- getMembersInjector(Class<T>) - Method in class com.google.inject.internal.InjectorImpl
-
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
-
- getMembersInjector(Class<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
-
- getMembersInjector(TypeLiteral<T>) - Method in interface com.google.inject.internal.Lookups
-
- getMembersInjector(Class<T>) - Method in class com.google.inject.PrivateModule
-
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.PrivateModule
-
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
-
- getMembersInjector(Class<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
-
- getMembersInjector() - Method in class com.google.inject.spi.MembersInjectorLookup
-
Returns the looked up members injector.
- 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 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
.
- getMembersInjectors() - Method in class com.google.inject.internal.EncounterImpl
-
- getMessage() - Method in exception com.google.inject.ConfigurationException
-
- getMessage() - Method in exception com.google.inject.CreationException
-
- getMessage() - Method in exception com.google.inject.ProvisionException
-
- 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.
- getMethodAspects() - Method in class com.google.inject.internal.InheritingState
-
- getMethodAspects() - Method in interface com.google.inject.internal.State
-
- 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
-
- 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.
- getModuleConfigurePositionsInStackTrace() - Method in class com.google.inject.spi.ElementSource
-
- getModuleSource(Object) - Method in class com.google.inject.spi.Elements.RecordingBinder
-
- getNaturalFieldType() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
Retrieves the type this field binds to naturally.
- 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.Errors
-
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.Errors
-
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
-
- 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.
- 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
.
- getPartialCallStack(StackTraceElement[]) - Method in class com.google.inject.spi.Elements.RecordingBinder
-
- getPartialCallStack() - Method in class com.google.inject.spi.ModuleSource
-
- getPartialCallStackSize() - Method in class com.google.inject.spi.ModuleSource
-
Returns the size of partial call stack if stack trace collection is on otherwise zero.
- getPartialValue() - Method in exception 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
-
- 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(Key<Provider<T>>, Errors) - Static method in class com.google.inject.internal.InjectorImpl
-
- getProvidedKey() - Method in class com.google.inject.internal.InjectorImpl.ProviderBindingImpl
-
- getProvidedKey() - Method in interface com.google.inject.spi.ProviderBinding
-
- getProvidedType(Type) - Method in class com.google.inject.assistedinject.Parameter
-
- getProvider(Key<T>) - Method in class com.google.inject.AbstractModule
-
- getProvider(Class<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(Dependency<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Class<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection type.
- getProvider() - Method in interface com.google.inject.Binding
-
Returns the scoped provider guice uses to fulfill requests for this
binding.
- getProvider(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the provider used to obtain instances for the given type.
- getProvider() - Method in class com.google.inject.internal.BindingImpl
-
- getProvider(Key<T>) - Method in class com.google.inject.internal.DeferredLookups
-
- getProvider(Key<T>) - Method in class com.google.inject.internal.EncounterImpl
-
- getProvider(Class<T>) - Method in class com.google.inject.internal.EncounterImpl
-
- getProvider() - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
-
- getProvider(Class<T>) - Method in class com.google.inject.internal.InjectorImpl
-
- getProvider(Key<T>) - Method in class com.google.inject.internal.InjectorImpl
-
- getProvider() - Method in class com.google.inject.internal.InstanceBindingImpl
-
- getProvider(Key<T>) - Method in class com.google.inject.internal.InternalInjectorCreator.ToolStageInjector
-
- getProvider(Class<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(Class<T>) - Method in class com.google.inject.PrivateModule
-
- getProvider(Key<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
-
- getProvider(Dependency<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
-
- getProvider(Class<T>) - Method in class com.google.inject.spi.Elements.RecordingBinder
-
- getProvider() - Method in class com.google.inject.spi.ProviderLookup
-
Returns the looked up provider.
- getProvider(Key<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Class<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the provider used to obtain instances for the given injection type.
- 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.
- getProviderInstance() - Method in class com.google.inject.internal.ProviderInstanceBindingImpl
-
- getProviderInstance() - Method in interface com.google.inject.spi.ProviderInstanceBinding
-
- 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.
- 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
-
- getProvisionListenerBindings() - Method in class com.google.inject.internal.InheritingState
-
- getProvisionListenerBindings() - Method in interface com.google.inject.internal.State
-
- getRawType(Type) - Static method in class com.google.inject.internal.MoreTypes
-
- 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.
- 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
-
- 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.spi.ModuleAnnotatedMethodScannerBinding
-
- getScannerBindings() - Method in class com.google.inject.internal.InheritingState
-
- getScannerBindings() - Method in interface com.google.inject.internal.State
-
- 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.InheritingState
-
- getScopeBinding(Class<? extends Annotation>) - Method in interface com.google.inject.internal.State
-
- 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
-
- 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.InheritingState
-
- getScopes() - Method in interface com.google.inject.internal.State
-
Returns all the scope bindings at this level and parent levels.
- 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
-
- 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.multibindings.Multibinder.RealMultibinder
-
- getSetKey() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns the key for the set.
- getSetName() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- getShape() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- 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.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(Key<?>) - Method in class com.google.inject.internal.WeakKeySet
-
- getSources() - Method in class com.google.inject.spi.Message
-
- getSourcesForBlacklistedKey(Key<?>) - Method in class com.google.inject.internal.InheritingState
-
- getSourcesForBlacklistedKey(Key<?>) - Method in interface com.google.inject.internal.State
-
Returns the source of a blacklisted key.
- getStackTrace() - Method in class com.google.inject.spi.ElementSource
-
Returns the sequence of method calls that ends at one of
Binder
bindXXX()
methods and eventually defines the element.
- getStackTrace() - Method in class com.google.inject.spi.ModuleSource
-
Returns the full call stack that ends just before the module
configure(Binder)
method invocation.
- getStackTraceSize() - Method in class com.google.inject.spi.ModuleSource
-
- getStage() - Method in class com.google.inject.internal.InjectorShell.Builder
-
- getState() - Method in class com.google.inject.internal.InjectorShell.Builder
-
- 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
-
- getSuperclassTypeParameter(Class<?>) - Static method in class com.google.inject.TypeLiteral
-
- 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.InheritingState
-
- getTypeListenerBindings() - Method in interface com.google.inject.internal.State
-
- 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 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(Injector) - Method in class com.google.inject.assistedinject.Parameter
-
Returns the Guice
Key
for this parameter.
- getValue() - Method in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
-
- getValue() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry
-
- getValue() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns the converted value.
- getValue() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
- getValueBinding() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.ValueProvider
-
- getValueKey() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry
-
- getValueTypeLiteral() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealMapProvider
-
- getValueTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the TypeLiteral describing the values of the map.
- graph(Injector) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
- graph(Injector, Set<Key<?>>) - 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 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 Type 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
-
- 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_CLASS_LOADER - Static variable in class com.google.inject.internal.BytecodeGen
-
- GUICE_INTERNAL_PACKAGE - Static variable in class com.google.inject.internal.BytecodeGen
-
ie.
- 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
-
- 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-330 javax.inject.Provider
.
- 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
-
- ignoreSourceInComparisons - Static variable in class com.google.inject.grapher.Node
-
- ImmutableCookie(Cookie) - Constructor for class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
-
- implement(Class<T>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, Annotation, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, Annotation, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Annotation, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Annotation, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, Class<? extends Annotation>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, Class<? extends Annotation>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Class<? extends Annotation>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Class<? extends Annotation>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Key<T>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Key<T>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- IMPLEMENTATION_ALREADY_SET - Static variable in class com.google.inject.internal.AbstractBindingBuilder
-
- ImplementationNode - Class in com.google.inject.grapher
-
- 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 Type in com.google.inject
-
A pointer to the default implementation of a type.
- in(Class<? extends Annotation>) - Method in interface com.google.inject.binder.ScopedBindingBuilder
-
See the EDSL examples at
Binder
.
- in(Scope) - 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
-
- in(Scope) - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- INCLUDE_STACK_TRACES - Static variable in class com.google.inject.internal.InternalFlags
-
- IncludeStackTraceOption() - Constructor for enum com.google.inject.internal.InternalFlags.IncludeStackTraceOption
-
- index - Variable in class com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy
-
- index() - Method in class com.google.inject.internal.InjectorImpl
-
Indexes bindings by type.
- index(Binding<T>) - Method in class com.google.inject.internal.InjectorImpl
-
- index - Variable in class com.google.inject.internal.InterceptorStackCallback.InterceptedMethodInvocation
-
- index - Variable in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
-
- index - Variable in class com.google.inject.servlet.FilterChainInvocation
-
- IndexedBinding(Binding<?>, Indexer.BindingType, Object, Object) - Constructor for class com.google.inject.multibindings.Indexer.IndexedBinding
-
- Indexer - Class in com.google.inject.multibindings
-
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.multibindings.Indexer
-
- Indexer.BindingType - Enum in com.google.inject.multibindings
-
- Indexer.IndexedBinding - Class in com.google.inject.multibindings
-
- indexOf(Object[], Object) - Static method in class com.google.inject.internal.MoreTypes
-
- indices - Variable in class com.google.inject.internal.ProxyFactory.IndicesCallbackFilter
-
- IndicesCallbackFilter(List<Method>) - Constructor for class com.google.inject.internal.ProxyFactory.IndicesCallbackFilter
-
- InheritedScannersModule(State) - Constructor for class com.google.inject.internal.InjectorShell.InheritedScannersModule
-
- InheritingState - Class in com.google.inject.internal
-
- InheritingState(State) - Constructor for class com.google.inject.internal.InheritingState
-
- init(ServletContext, Injector, Set<Filter>) - Method in class com.google.inject.servlet.FilterDefinition
-
- 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<HttpServlet>) - Method in class com.google.inject.servlet.ServletDefinition
-
- initializable - Variable in class com.google.inject.internal.ConstantFactory
-
- Initializable<T> - Interface in com.google.inject.internal
-
Holds a reference that requires initialization to be performed before it can be used.
- initializable - Variable in class com.google.inject.internal.InternalFactoryToInitializableAdapter
-
- 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.
- initialize(Injector) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
At injector-creation time, we initialize the invocation handler.
- initialize(InjectorImpl, Errors) - Method in class com.google.inject.internal.ConstructorBindingImpl
-
- 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 interface com.google.inject.internal.DelayedInitialize
-
Initializes this binding, throwing any errors if necessary.
- 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.ProviderMethodProviderInstanceBindingImpl
-
- initialize(Injector) - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
-
- initialize(Injector) - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealProviderMapProvider
-
- initialize(Injector) - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
Invoked by Guice at Injector-creation time to prepare providers for each
element in this set.
- initialize(Injector) - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder.RealOptionalProviderProvider
-
- initialize(Injector) - Method in class com.google.inject.util.Providers.GuicifiedProviderWithDependencies
-
- initializeBinding(BindingImpl<T>, Errors) - Method in class com.google.inject.internal.InjectorImpl
-
- initializeBindings() - Method in class com.google.inject.internal.ProcessedBindingData
-
- initialized - Variable in class com.google.inject.internal.DelegatingInvocationHandler
-
- initialized - Variable in class com.google.inject.servlet.ManagedFilterPipeline
-
- 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 - Class in com.google.inject.internal
-
Manages and injects instances at injector-creation time.
- Initializer() - Constructor for class com.google.inject.internal.Initializer
-
- initializer - Variable in class com.google.inject.internal.InjectionRequestProcessor
-
- initializer - Variable in class com.google.inject.internal.InternalInjectorCreator
-
- Initializer.InjectableReference<T> - Class in com.google.inject.internal
-
- Initializer.InjectableReferenceState - Enum 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 - Annotation Type in com.google.inject
-
Annotates members of your implementation class (constructors, methods
and fields) into which the
Injector
should inject values.
- inject(Errors, InternalContext, Object) - Method in class com.google.inject.internal.SingleFieldInjector
-
- inject(Errors, InternalContext, Object) - Method in interface com.google.inject.internal.SingleMemberInjector
-
- inject(Errors, InternalContext, Object) - Method in class com.google.inject.internal.SingleMethodInjector
-
- inject(Errors, InternalContext) - Method in class com.google.inject.internal.SingleParameterInjector
-
- 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() - Constructor for class com.google.inject.spi.InjectionPoint.InjectableMembers
-
- injectableMembers - Variable in class com.google.inject.spi.InjectionPoint.OverrideIndex
-
- 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 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, Errors, 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
-
- 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<?>, Method, boolean) - Constructor for class com.google.inject.spi.InjectionPoint
-
- InjectionPoint(TypeLiteral<?>, Constructor<?>) - Constructor for class com.google.inject.spi.InjectionPoint
-
- InjectionPoint(TypeLiteral<?>, Field, 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 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 - Class in com.google.inject.internal
-
Handles Binder.requestInjection
and Binder.requestStaticInjection
commands.
- InjectionRequestProcessor(Errors, Initializer) - Constructor for class com.google.inject.internal.InjectionRequestProcessor
-
- injectionRequestProcessor - Variable in class com.google.inject.internal.InternalInjectorCreator
-
- InjectionRequestProcessor.StaticInjection - Class in com.google.inject.internal
-
A requested static injection.
- injectMembers(Object) - Method in interface com.google.inject.Injector
-
Injects dependencies into the fields and methods of instance
.
- injectMembers() - Method in class com.google.inject.internal.InjectionRequestProcessor
-
- injectMembers() - Method in class com.google.inject.internal.InjectionRequestProcessor.StaticInjection
-
- 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, Errors, InternalContext, boolean) - 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
.
- 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 - Interface in com.google.inject
-
Builds the graphs of objects that make up your application.
- 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.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.multibindings.Indexer
-
- injector - Variable in class com.google.inject.servlet.ManagedFilterPipeline
-
- INJECTOR_NAME - Static variable in class com.google.inject.servlet.GuiceServletContextListener
-
- 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
-
- InjectorImpl(InjectorImpl, State, InjectorImpl.InjectorOptions) - Constructor for class com.google.inject.internal.InjectorImpl
-
- InjectorImpl.BindingsMultimap - Class in com.google.inject.internal
-
- 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 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.ProviderBindingImpl<T> - Class in com.google.inject.internal
-
- 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
-
- InjectorShell - Class in com.google.inject.internal
-
A partially-initialized injector.
- InjectorShell(InjectorShell.Builder, 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 - Static variable in class com.google.inject.internal.Errors.ThrowableEquivalence
-
- 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 - Static variable in class com.google.inject.multibindings.MultibindingsScanner.Scanner
-
- instance - Variable in class com.google.inject.spi.InjectionRequest
-
- instance - Variable in class com.google.inject.testing.fieldbinder.BoundFieldModule
-
- instance - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
-
- INSTANCE - Static variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.NotSyntheticOrBridgePredicate
-
- instance - Variable in class com.google.inject.util.Providers.ConstantProvider
-
- 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
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class com.google.inject.internal.InterceptorStackCallback
-
- InterceptedMethodInvocation(Object, MethodProxy, 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
-
- interceptors - Variable in class com.google.inject.internal.InterceptorStackCallback
-
- interceptors - Variable in class com.google.inject.internal.MethodAspect
-
- interceptors() - Method 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.MethodInterceptorsPair
-
- interceptors - Variable in class com.google.inject.spi.InterceptorBinding
-
- InterceptorStackCallback - Class in com.google.inject.internal
-
Intercepts a method with a stack of interceptors.
- InterceptorStackCallback(Method, List<MethodInterceptor>) - 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) - Constructor for class com.google.inject.internal.InternalContext
-
- InternalContext.DependencyStack - Class in com.google.inject.internal
-
Keeps track of the hierarchy of types needed during injection.
- internalContextsMap - Static variable in class com.google.inject.internal.SingletonScope
-
A map of thread running singleton instantiation, to the InternalContext that is relevant
to the singleton being instantiated.
- internalConvertToTypes(InjectorImpl, Matcher<? super TypeLiteral<?>>, TypeConverter) - Static method in class com.google.inject.internal.TypeConverterBindingProcessor
-
- internalFactory - Variable in class com.google.inject.internal.BindingImpl
-
- InternalFactory<T> - Interface in com.google.inject.internal
-
Creates objects which will be injected.
- internalFactory - Variable in class com.google.inject.internal.ProviderToInternalFactoryAdapter
-
- InternalFactoryToInitializableAdapter<T> - Class in com.google.inject.internal
-
- 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.CustomClassLoadingOption - Enum in com.google.inject.internal
-
The options for Guice custom class loading.
- InternalFlags.IncludeStackTraceOption - Enum in com.google.inject.internal
-
The options for Guice stack trace collection.
- InternalFlags.NullableProvidesOption - Enum in com.google.inject.internal
-
- 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
-
- 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
-
- invocationHandlers - Variable in class com.google.inject.internal.ConstructionContext
-
- 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, Object...) - Method in interface com.google.inject.internal.InjectorImpl.MethodInvoker
-
- invokeWithArguments - Static variable in class com.google.inject.assistedinject.FactoryProvider2.MethodHandleWrapper
-
- invokeWithArguments(Object[]) - Method in class com.google.inject.assistedinject.FactoryProvider2.MethodHandleWrapper
-
- IS_SINGLETON_VISITOR - Static variable in class com.google.inject.Scopes
-
- isAllDefaultMethods(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
- isAssisted - Variable in class com.google.inject.assistedinject.Parameter
-
- isBindingAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
Returns true if annotations of the specified type are binding annotations.
- isBlacklisted(Key<?>) - Method in class com.google.inject.internal.InheritingState
-
- isBlacklisted(Key<?>) - Method in interface com.google.inject.internal.State
-
Returns true if key
is forbidden from being bound in this injector.
- isBound(Injector) - Method in class com.google.inject.assistedinject.Parameter
-
- isBound(Injector, Key<?>) - Method in class com.google.inject.assistedinject.Parameter
-
- 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
.
- 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
-
- isExplicitlyScoped() - Method in class com.google.inject.internal.Scoping
-
Returns true if this scope was explicitly applied.
- 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(Type) - Static method in class com.google.inject.internal.MoreTypes
-
Returns true if type
is free from type variables.
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- isIndexable(Binding<?>) - Method in class com.google.inject.multibindings.Indexer
-
- 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.multibindings.MapBinder.RealMapBinder
-
- isInitialized() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- isInitialized() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
- isInjectorOrAssistedProvider(Dependency<?>) - Method in class com.google.inject.assistedinject.FactoryProvider2
-
- isInnerClass(Class<?>) - Static method in class com.google.inject.internal.util.Classes
-
- 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).
- 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.
- isOkayDuplicate(BindingImpl<?>, BindingImpl<?>, State) - 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 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(Type) - Method 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(Binder, Method) - Method in class com.google.inject.internal.ProviderMethodsModule
-
Returns true if the method is a provider.
- isPubliclyCallable(Member) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns true if the member can be called by a fast class generated in a different classloader.
- 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.
- 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.
- isToolable() - Method in class com.google.inject.spi.InjectionPoint
-
Returns true if the element is annotated with @
Toolable
.
- isTransparentProvider(Class<?>) - Static method in class com.google.inject.testing.fieldbinder.BoundFieldModule
-
Determines if clazz
is a "transparent provider".
- 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
-
- name - Variable in enum com.google.inject.grapher.graphviz.EdgeStyle
-
- name - Variable in enum 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 - Annotation Type in com.google.inject.name
-
Annotates named things.
- named(String) - Static method in class com.google.inject.name.Names
-
Creates a
Named
annotation with
name
as the value.
- 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
-
Interface for a service that provides nice
String
s that we can
display in the graph for the types that come up in
Binding
s.
- nameOf(Key<?>) - Static method in class com.google.inject.multibindings.RealElement
-
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
-
- naturalType - Variable in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
The "natural" type of this field.
- 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
-
- 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(Map<T, Binding<T>>, Binding<T>, T, Binding<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
- newEnhancer(Class<?>, BytecodeGen.Visibility) - Static method in class com.google.inject.internal.BytecodeGen
-
- newFactory(Class<F>, Class<?>) - Static method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- newFactory(TypeLiteral<F>, TypeLiteral<?>) - Static method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- newFastClassForMember(Member) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns a FastClass proxy for invoking the given member or null
if access rules
disallow it.
- newFastClassForMember(Class<?>, Member) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns a FastClass proxy for invoking the given member or null
if access rules
disallow it.
- newImplementationNode(ImplementationNode) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Adds a new implementation node to the graph.
- 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.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(T, Object) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
Returns a new instance node for the given
Binding
.
- newInstanceNode(InstanceNode) - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
-
- newInterfaceNode(InterfaceNode) - Method in class com.google.inject.grapher.AbstractInjectorGrapher
-
Adds a new interface node to the graph.
- 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.graphviz.GraphvizGrapher
-
- newLinkedKeyArrayValueMultimap() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder
-
- 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 a
Map
that is itself bound with no binding annotation.
- 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 a
Map
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 a
Map
that is itself bound with 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 a
Map
that is itself bound with annotation
.
- 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 a
Map
that is itself bound with annotationType
.
- 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 a
Map
that is itself bound with annotationType
.
- newOptionalBinder(Binder, Class<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, Key<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
to
rawType
.
- newParameterizedTypeWithOwner(Type, Type, Type...) - Static method in class com.google.inject.util.Types
-
Returns a new parameterized type, applying typeArguments
to
rawType
and enclosed by ownerType
.
- 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.multibindings.MapBinder
-
- newRealMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Key<Map<K, V>>, Multibinder<Map.Entry<K, Provider<V>>>) - Static method in class com.google.inject.multibindings.MapBinder
-
- newRealOptionalBinder(Binder, Key<T>) - Static method in class com.google.inject.multibindings.OptionalBinder
-
- newRealSetBinder(Binder, Key<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
Implementation of newSetBinder.
- newRequestUri - Variable in class com.google.inject.servlet.ManagedServletPipeline.RequestDispatcherRequestWrapper
-
- newSetBinder(Binder, TypeLiteral<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of type
in a Set
that is
itself bound with no binding annotation.
- newSetBinder(Binder, Class<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of type
in a Set
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 a Set
that is
itself bound with 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 a Set
that is
itself bound with annotation
.
- 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 a Set
that is
itself bound with annotationType
.
- 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, Class<T>, Class<? extends Annotation>) - Static method in class com.google.inject.multibindings.Multibinder
-
Returns a new multibinder that collects instances of type
in a Set
that is
itself bound with annotationType
.
- newTypeId(Key<?>) - Static method in class com.google.inject.grapher.NodeId
-
- next - Variable in class com.google.inject.spi.InjectionPoint.InjectableMember
-
- nextUniqueId - Static variable in class com.google.inject.multibindings.RealElement
-
- nextUniqueValue - Static variable in class com.google.inject.internal.UniqueAnnotations
-
- NO_ARGUMENTS - Static variable in class com.google.inject.internal.SingleParameterInjector
-
- 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 in com.google.inject.grapher
-
Type of node.
- nodes - Variable in class com.google.inject.grapher.graphviz.GraphvizGrapher
-
- NodeShape - Enum in com.google.inject.grapher.graphviz
-
Enum for the shapes that are most interesting for Guice graphing.
- NodeShape(String) - Constructor for enum com.google.inject.grapher.graphviz.NodeShape
-
- NodeStyle - Enum in com.google.inject.grapher.graphviz
-
Styles for nodes.
- NodeStyle(String) - Constructor for enum com.google.inject.grapher.graphviz.NodeStyle
-
- nodeType - Variable in class com.google.inject.grapher.NodeId
-
- NodeType() - Constructor for enum com.google.inject.grapher.NodeId.NodeType
-
- NodeVisitor() - Constructor for class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
- NONE - Static variable in interface com.google.inject.internal.State
-
- normalizePath(String) - Static method in class com.google.inject.servlet.ServletUtils
-
Normalizes a path by unescaping all safe, percent encoded characters.
- 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
-
- 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, Errors) - Method in class com.google.inject.internal.MembersInjectorImpl
-
- NotSyntheticOrBridgePredicate() - Constructor for class com.google.inject.throwingproviders.ThrowingProviderBinder.NotSyntheticOrBridgePredicate
-
- NULL - Static variable in class com.google.inject.internal.SingletonScope
-
A sentinel value representing null.
- NULL_KEY - Static variable in class com.google.inject.internal.AbstractBindingBuilder
-
- 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 com.google.inject.internal.InternalFlags.NullableProvidesOption
-
- NullAnnotationStrategy() - Constructor for enum com.google.inject.Key.NullAnnotationStrategy
-
- NullObject() - Constructor for enum com.google.inject.servlet.ServletScopes.NullObject
-
- numErrorsBefore - Variable in class com.google.inject.internal.ProvisionListenerStackCallback.Provision
-
- packageName - Variable in class com.google.inject.matcher.Matchers.InPackage
-
- 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.ConstructorInjector
-
- parameterInjectors - Variable in class com.google.inject.internal.ProviderMethod.Factory
-
- 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(List<Type>) - Constructor for class com.google.inject.assistedinject.ParameterListKey
-
- ParameterListKey(Type[]) - Constructor for class com.google.inject.assistedinject.ParameterListKey
-
- parameterProviders - Variable in class com.google.inject.internal.ProviderMethod
-
- parameterProviders - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
-
- parameters - Variable in class com.google.inject.internal.ProviderMethodsModule.Signature
-
- 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.InheritingState
-
- parent() - Method in class com.google.inject.internal.InheritingState
-
- parent - Variable in class com.google.inject.internal.InjectorImpl
-
- parent - Variable in class com.google.inject.internal.InjectorShell.Builder
-
- parent(InjectorImpl) - Method in class com.google.inject.internal.InjectorShell.Builder
-
- parent() - Method in interface com.google.inject.internal.State
-
- 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
-
- parentInjector(InjectorImpl) - Method in class com.google.inject.internal.InternalInjectorCreator
-
Sets the parent of the injector to-be-constructed.
- parseCustomClassLoadingOption() - Static method in class com.google.inject.internal.InternalFlags
-
- parseIncludeStackTraceOption() - Static method in class com.google.inject.internal.InternalFlags
-
- parseNullableProvidesOption(InternalFlags.NullableProvidesOption) - Static method in class com.google.inject.internal.InternalFlags
-
- parsePatterns(UriPatternType, List<String>) - Method in class com.google.inject.servlet.FiltersModuleBuilder
-
- parsePatterns(UriPatternType, List<String>) - Method in class com.google.inject.servlet.ServletsModuleBuilder
-
- partialCallStack - Variable in class com.google.inject.spi.ElementSource
-
The partial call stack that starts at the last module configure(Binder)
call.
- partialCallStack - Variable in class com.google.inject.spi.ModuleSource
-
- partialValue - Variable in exception com.google.inject.ConfigurationException
-
- 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
-
- permitDuplicates() - Method in class com.google.inject.multibindings.MapBinder
-
Configures the MapBinder
to handle duplicate entries.
- permitDuplicates - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder
-
- permitDuplicates() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder
-
- permitDuplicates() - Method in class com.google.inject.multibindings.Multibinder
-
Configures the bound set to silently discard duplicate elements.
- permitDuplicates - Variable in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
whether duplicates are allowed.
- permitDuplicates() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- permitDuplicatesKey - Variable in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- PermitDuplicatesModule(Key<Boolean>) - Constructor for class com.google.inject.multibindings.Multibinder.PermitDuplicatesModule
-
- permitsDuplicates() - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealMapProvider
-
- permitsDuplicates() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns true if the MapBinder permits duplicates.
- permitsDuplicates(Injector) - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- permitsDuplicates() - Method in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- permitsDuplicates() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns true if the multibinder permits duplicates.
- 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
.
- pop() - Method in class com.google.inject.internal.InternalContext.DependencyStack
-
- popState() - Method in class com.google.inject.internal.InternalContext
-
Pops from the state without setting a dependency.
- popStateAndSetDependency(Dependency<?>) - Method in class com.google.inject.internal.InternalContext
-
Pops the current state & sets the new dependency.
- portIdFactory - Variable in class com.google.inject.grapher.graphviz.GraphvizGrapher
-
- PortIdFactory - Interface in com.google.inject.grapher.graphviz
-
- PortIdFactoryImpl - Class in com.google.inject.grapher.graphviz
-
- PortIdFactoryImpl() - Constructor for class com.google.inject.grapher.graphviz.PortIdFactoryImpl
-
- position - Variable in class com.google.inject.internal.AbstractBindingBuilder
-
- position - Variable in class com.google.inject.spi.InjectionPoint.OverrideIndex
-
- Position() - Constructor for enum 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
-
- 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.multibindings.MultibindingsScanner.Scanner
-
- prepareMethod(Binder, Annotation, Key<T>, InjectionPoint) - Method in class com.google.inject.spi.ModuleAnnotatedMethodScanner
-
Prepares a method for binding.
- 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
-
- PrivateBinder - Interface in com.google.inject
-
Returns a binder whose configuration information is hidden from its environment by default.
- privateBinders - 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
-
- privateElements(PrivateElements) - Method in class com.google.inject.internal.InjectorShell.Builder
-
- privateElements - Variable in class com.google.inject.spi.Elements.RecordingBinder
-
- 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
-
- 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(Iterable<InjectorShell>) - Method in class com.google.inject.internal.AbstractProcessor
-
- process(InjectorImpl, List<Element>) - Method in class com.google.inject.internal.AbstractProcessor
-
- ProcessedBindingData - Class in com.google.inject.internal
-
Keeps track of creation listeners & 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
-
- providedBinding - Variable in class com.google.inject.internal.InjectorImpl.ProviderBindingImpl
-
- ProvidedBy - Annotation Type in com.google.inject
-
A pointer to the default provider type for a type.
- ProvidedByInternalFactory<T> - Class in com.google.inject.internal
-
- 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.InstanceBindingImpl
-
- provider - Variable in class com.google.inject.internal.InternalFactoryToProviderAdapter
-
- provider - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry
-
- Provider<T> - Interface in com.google.inject
-
An object capable of providing instances of type T
.
- ProviderAliasCreator - Class in com.google.inject.grapher
-
- ProviderAliasCreator() - Constructor for class com.google.inject.grapher.ProviderAliasCreator
-
- providerBinding - Variable in class com.google.inject.internal.ProvidedByInternalFactory
-
- ProviderBinding<T extends Provider<?>> - Interface in com.google.inject.spi
-
A binding to a
Provider
that delegates to the binding for the provided type.
- ProviderBindingImpl(InjectorImpl, Key<Provider<T>>, Binding<T>) - Constructor for class com.google.inject.internal.InjectorImpl.ProviderBindingImpl
-
- providerCollectionMultimapKey - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder.MultimapBinder
-
- providerCollectionMultimapKey - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder
-
- providerDependencies - Variable in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
the dependencies -- initialized with defaults & overridden when tooled.
- 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
-
- providerMap - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder.RealProviderMapProvider
-
- ProviderMapEntry(K, Provider<V>, Key<V>) - Constructor for class com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry
-
- providerMapKey - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder
-
- 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<?>>, List<Provider<?>>, Class<? extends Annotation>, Annotation) - Constructor for class com.google.inject.internal.ProviderMethod
-
- providerMethod - Variable in class com.google.inject.internal.ProviderMethod.Factory
-
- ProviderMethod.Factory<T> - Class in com.google.inject.internal
-
- ProviderMethod.FastClassProviderMethod<T> - Class in com.google.inject.internal
-
A
ProviderMethod
implementation that uses
FastClass.invoke(java.lang.String, java.lang.Class[], java.lang.Object, java.lang.Object[])
to invoke the provider method.
- ProviderMethod.ProviderMethodProviderInstanceBindingImpl<T> - Class in com.google.inject.internal
-
- ProviderMethod.ReflectionProviderMethod<T> - Class in com.google.inject.internal
-
A
ProviderMethod
implementation that invokes the method using normal java reflection.
- ProviderMethodProviderInstanceBindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping, ProviderMethod<T>, ProviderMethod.Factory<T>) - Constructor for class com.google.inject.internal.ProviderMethod.ProviderMethodProviderInstanceBindingImpl
-
- 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.Signature - Class in com.google.inject.internal
-
- providerMultimap - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder.MultimapBinder.RealProviderMultimapProvider
-
- providerMultimapKey - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder.MultimapBinder
-
- providerOf(Key<T>) - Static method in class com.google.inject.multibindings.OptionalBinder
-
- providerOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type modelling a
Provider
that provides elements of type
elementType
.
- providers - Variable in class com.google.inject.assistedinject.FactoryProvider2.AssistData
-
the list of optimized providers, empty if not optimized.
- 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.multibindings.MapBinder.RealMapBinder
-
- 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 Type in com.google.inject
-
Annotates methods of a
Module
to create a provider method binding.
- PROVIDES_BUILDER - Static variable in class com.google.inject.internal.ProviderMethodsModule
-
- provideScopingOnlyGuiceFilter() - Method in class com.google.inject.servlet.InternalServletModule
-
- ProvidesIntoMap - Annotation Type in com.google.inject.multibindings
-
- ProvidesIntoOptional - Annotation Type in com.google.inject.multibindings
-
- ProvidesIntoOptional.Type - Enum in com.google.inject.multibindings
-
- ProvidesIntoSet - Annotation Type in com.google.inject.multibindings
-
- ProvidesMethodBinding<T> - Interface in com.google.inject.spi
-
- ProvidesMethodTargetVisitor<T,V> - Interface in com.google.inject.spi
-
- providing(Class<? extends T>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- providing(TypeLiteral<? extends T>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- provision(Provider<? extends T>, Errors, Dependency<?>, ConstructionContext<T>) - Method in class com.google.inject.internal.BoundProviderFactory
-
- provision(Errors, InternalContext, ConstructionContext<T>) - Method in class com.google.inject.internal.ConstructorInjector
-
Provisions a new T.
- provision(Provider<? extends T>, Errors, Dependency<?>, ConstructionContext<T>) - Method in class com.google.inject.internal.InternalFactoryToInitializableAdapter
-
- provision(Provider<? extends T>, Errors, Dependency<?>, ConstructionContext<T>) - Method in class com.google.inject.internal.ProvidedByInternalFactory
-
- provision(Provider<? extends T>, Errors, Dependency<?>, ConstructionContext<T>) - Method in class com.google.inject.internal.ProviderInternalFactory
-
Provisions a new instance.
- provision(Errors, Dependency<?>, InternalContext, ConstructionContext<T>) - Method in class com.google.inject.internal.ProviderMethod.Factory
-
- provision(Errors, InternalContext, ProvisionListenerStackCallback.ProvisionCallback<T>) - Method in class com.google.inject.internal.ProvisionListenerStackCallback
-
- Provision(Errors, InternalContext, ProvisionListenerStackCallback.ProvisionCallback<T>) - Constructor for class com.google.inject.internal.ProvisionListenerStackCallback.Provision
-
- 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.
- 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.ProvidedByInternalFactory
-
- provisionCallback - Variable in class com.google.inject.internal.ProviderMethod.Factory
-
- ProvisionException - Exception in com.google.inject
-
Indicates that there was a runtime failure while providing an instance.
- ProvisionException(Iterable<Message>) - Constructor for exception com.google.inject.ProvisionException
-
Creates a ProvisionException containing messages
.
- ProvisionException(String, Throwable) - Constructor for exception com.google.inject.ProvisionException
-
- ProvisionException(String) - Constructor for exception 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.InheritingState
-
- ProvisionListenerCallbackStore - Class in com.google.inject.internal
-
- ProvisionListenerCallbackStore(List<ProvisionListenerBinding>) - Constructor for class com.google.inject.internal.ProvisionListenerCallbackStore
-
- ProvisionListenerCallbackStore.KeyBinding - Class in com.google.inject.internal
-
A struct that holds key & 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(Enhancer, InjectionPoint, Callback[], ImmutableMap<Method, List<MethodInterceptor>>) - 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.IndicesCallbackFilter - Class in com.google.inject.internal
-
A callback filter that maps methods to unique IDs.
- ProxyFactory.MethodInterceptorsPair - Class in com.google.inject.internal
-
- ProxyFactory.ProxyConstructor<T> - Class in com.google.inject.internal
-
Constructs instances that participate in AOP.
- 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.
- pushDependency(Dependency<?>, Object) - Method in class com.google.inject.internal.InternalContext
-
Sets the new current dependency & adds it to the state.
- pushState(Key<?>, Object) - Method in class com.google.inject.internal.InternalContext
-
Adds to the state without setting the dependency.
- put(TypeLiteral<T>, Binding<T>) - Method in class com.google.inject.internal.InjectorImpl.BindingsMultimap
-
- putBinding(BindingImpl<?>) - Method in class com.google.inject.internal.AbstractBindingProcessor
-
- putBinding(Key<?>, BindingImpl<?>) - Method in class com.google.inject.internal.InheritingState
-
- putBinding(Key<?>, BindingImpl<?>) - Method in interface com.google.inject.internal.State
-
- putScopeBinding(Class<? extends Annotation>, ScopeBinding) - Method in class com.google.inject.internal.InheritingState
-
- putScopeBinding(Class<? extends Annotation>, ScopeBinding) - Method in interface com.google.inject.internal.State
-
- 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() - Static method in class com.google.inject.multibindings.MultibindingsScanner
-
- Scanner() - Constructor for class com.google.inject.multibindings.MultibindingsScanner.Scanner
-
- scanner - Variable in class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
-
- scannerBindings - Variable in class com.google.inject.internal.InheritingState
-
- scanners - Variable in class com.google.inject.spi.Elements.RecordingBinder
-
- scheduleInitialization(BindingImpl<?>) - Method in class com.google.inject.internal.AbstractBindingProcessor.Processor
-
- 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 - Variable in class com.google.inject.multibindings.Indexer.IndexedBinding
-
- scope(Binding<?>) - Method in class com.google.inject.multibindings.Indexer
-
- Scope - Interface in com.google.inject
-
A scope is a level of visibility that instances provided by Guice may have.
- 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 - Variable in class com.google.inject.spi.ScopeBinding
-
- SCOPE_ALREADY_SET - Static variable in class com.google.inject.internal.AbstractBindingBuilder
-
- scopeAnnotation - Variable in class com.google.inject.internal.ProviderMethod
-
- ScopeAnnotation - Annotation Type in com.google.inject
-
Annotates annotations which are used for scoping.
- scopeAnnotation - Variable in class com.google.inject.throwingproviders.CheckedProviderMethod
-
- 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(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
-
- 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.InheritingState
-
- 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 in com.google.inject.servlet
-
Exception thrown when there was a failure entering request scope.
- ScopingException(String) - Constructor for exception com.google.inject.servlet.ScopingException
-
- ScopingOnly - Annotation Type in com.google.inject.servlet
-
Annotates a
GuiceFilter
that provides scope functionality, but
doesn't dispatch to
ServletModule
bound servlets or filters.
- SecondaryBinder(Class<P>, Type) - Constructor for class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- serialVersionUID - Static variable in exception com.google.inject.ConfigurationException
-
- serialVersionUID - Static variable in exception com.google.inject.CreationException
-
- 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.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.multibindings.OptionalBinder.BaseAnnotation
-
- serialVersionUID - Static variable in class com.google.inject.name.NamedImpl
-
- serialVersionUID - Static variable in exception 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(String, String...) - Method in class com.google.inject.servlet.ServletModule
-
- serve(Iterable<String>) - Method in class com.google.inject.servlet.ServletModule
-
- serve(List<String>) - Method in class com.google.inject.servlet.ServletsModuleBuilder
-
- serveRegex(String, String...) - Method in class com.google.inject.servlet.ServletModule
-
- serveRegex(Iterable<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_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
-
- 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
-
- 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
-
- ServletModule.ServletKeyBindingBuilder - Interface in com.google.inject.servlet
-
- ServletModuleBinding - Interface in com.google.inject.servlet
-
- 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 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 Type 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(BindingImpl<T>) - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- setBinding() - Method in class com.google.inject.multibindings.OptionalBinder.RealOptionalBinder
-
- setBinding() - Method in class com.google.inject.multibindings.OptionalBinder
-
Returns a binding builder used to set the actual value that will be injected.
- 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.multibindings.OptionalBinder.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
-
- 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.multibindings.Multibinder.RealMultibinder
-
- setMaxAge(int) - Method in class com.google.inject.servlet.ContinuingHttpServletRequest.ImmutableCookie
-
- setName - Variable in class com.google.inject.multibindings.Multibinder.RealMultibinder
-
- setName - Variable in class com.google.inject.multibindings.RealElement
-
- setName() - Method in class com.google.inject.multibindings.RealElement
-
- setNodeCreator(NodeCreator) - Method in class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters
-
- setOf(TypeLiteral<T>) - Static method in class com.google.inject.multibindings.Multibinder
-
- setOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type modelling a Set
whose elements are of type
elementType
.
- setOfEntryOfJavaxProviderOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.multibindings.MapBinder
-
- 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
-
- setValue(Provider<V>) - Method in class com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry
-
- 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 com.google.inject.grapher.graphviz.NodeShape
-
- shellBuilder - Variable in class com.google.inject.internal.InternalInjectorCreator
-
- shells - Variable in class com.google.inject.internal.InternalInjectorCreator
-
- ShortNameFactory - Class in com.google.inject.grapher
-
- 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(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 - Static variable in class com.google.inject.Scopes
-
- Singleton - Annotation Type 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_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
-
- SingletonScope() - Constructor for class com.google.inject.internal.SingletonScope
-
- size() - Method in class com.google.inject.internal.Errors
-
- size - Variable in class com.google.inject.internal.InternalContext.DependencyStack
-
- size() - Method in class com.google.inject.internal.InternalContext.DependencyStack
-
- 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
-
- 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.PrivateElementsImpl
-
- source - Variable in class com.google.inject.internal.ProviderInternalFactory
-
- source - Variable in class com.google.inject.internal.ProviderMethod.Factory
-
- source - Variable in class com.google.inject.internal.util.LineNumbers
-
- source - Variable in class com.google.inject.internal.WeakKeySet.KeyAndSource
-
- Source() - Constructor for enum com.google.inject.multibindings.OptionalBinder.Source
-
- source - Variable in class com.google.inject.spi.DependencyAndSource
-
- 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
-
- SourceProvider - Class in com.google.inject.internal.util
-
Provides access to the calling line of code.
- SourceProvider(Iterable<String>) - Constructor for class com.google.inject.internal.util.SourceProvider
-
- SourceProvider(SourceProvider, Iterable<String>) - Constructor for class com.google.inject.internal.util.SourceProvider
-
- sourceProvider - Variable in class com.google.inject.spi.Elements.RecordingBinder
-
- sources - Variable in class com.google.inject.spi.Message
-
- 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(Stage) - Method in class com.google.inject.internal.InjectorShell.Builder
-
- stage(Stage) - Method in class com.google.inject.internal.InternalInjectorCreator
-
- stage - Variable in class com.google.inject.spi.Elements.RecordingBinder
-
- Stage - Enum in com.google.inject
-
The stage we're running in.
- Stage() - Constructor for enum com.google.inject.Stage
-
- start() - Method in class com.google.inject.grapher.graphviz.GraphvizGrapher
-
- start - Variable in class com.google.inject.internal.util.Stopwatch
-
- startConstruction() - Method in class com.google.inject.internal.ConstructionContext
-
- state - Variable in class com.google.inject.internal.Initializer.InjectableReference
-
- state - Variable in class com.google.inject.internal.InjectorImpl
-
- state - Variable in class com.google.inject.internal.InjectorShell.Builder
-
lazily constructed
- state - Variable in class com.google.inject.internal.InjectorShell.InheritedScannersModule
-
- state - Variable in class com.google.inject.internal.InternalContext
-
Keeps track of the hierarchy of types needed during injection.
- State - Interface in com.google.inject.internal
-
The inheritable data within an injector.
- 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
-
- staticInjections - Variable in class com.google.inject.internal.InjectionRequestProcessor
-
- stopwatch - Variable in class com.google.inject.internal.InternalInjectorCreator
-
- Stopwatch - Class in com.google.inject.internal.util
-
Enables simple performance monitoring.
- Stopwatch() - Constructor for class com.google.inject.internal.util.Stopwatch
-
- 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 Type in com.google.inject.multibindings
-
- 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
-
- subtypeNotProvided(Class<? extends Provider<?>>, Class<?>) - Method in class com.google.inject.internal.Errors
-
- subtypeOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type that represents an unknown type that extends bound
.
- superclass - Variable in class com.google.inject.matcher.Matchers.SubclassesOf
-
- supertypeOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type that represents an unknown supertype of bound
.
- SYSTEM_BRIDGE - Static variable in class com.google.inject.internal.BytecodeGen.SystemBridgeHolder
-
- SystemBridgeHolder() - Constructor for class com.google.inject.internal.BytecodeGen.SystemBridgeHolder
-
- valid - Static variable in class com.google.inject.assistedinject.FactoryProvider2.MethodHandleWrapper
-
- valid - Variable in class com.google.inject.internal.EncounterImpl
-
- valid - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- validate(Errors) - Method in class com.google.inject.internal.Initializer.InjectableReference
-
- validate() - Method in class com.google.inject.internal.InjectionRequestProcessor.StaticInjection
-
- validate() - Method in class com.google.inject.internal.InjectionRequestProcessor
-
- 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.
- 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
-
- value - Variable in class com.google.inject.internal.InjectorImpl.ConvertedConstantBindingImpl
-
- 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.multibindings.MultibindingsScanner.TypeAndValue
-
- value - Variable in class com.google.inject.multibindings.OptionalBinder.BaseAnnotation
-
- value() - Method in class com.google.inject.multibindings.OptionalBinder.BaseAnnotation
-
- value - Variable in class com.google.inject.name.NamedImpl
-
- value() - Method in class com.google.inject.name.NamedImpl
-
- value - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.Result
-
- valueKey - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry
-
- valueOf(String) - Static method in enum com.google.inject.grapher.BindingEdge.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.ArrowType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.CompassPoint
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.EdgeStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.NodeShape
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.NodeStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.NodeId.NodeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.BytecodeGen.Visibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.Initializer.InjectableReferenceState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.InjectorImpl.JitLimitation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.InternalFlags.IncludeStackTraceOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.InternalFlags.NullableProvidesOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.Key.NullAnnotationStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.multibindings.Element.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.multibindings.Indexer.BindingType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.multibindings.OptionalBinder.Source
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.multibindings.ProvidesIntoOptional.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.servlet.ServletScopes.NullObject
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.servlet.UriPatternType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.spi.InjectionPoint.Position
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.Stage
-
Returns the enum constant of this type with the specified name.
- ValueProvider(Provider<V>, Binding<V>) - Constructor for class com.google.inject.multibindings.MapBinder.RealMapBinder.ValueProvider
-
- values() - Static method in enum com.google.inject.grapher.BindingEdge.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.ArrowType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.CompassPoint
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.EdgeStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.NodeShape
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.NodeStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.NodeId.NodeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.internal.BytecodeGen.Visibility
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.internal.Initializer.InjectableReferenceState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.internal.InjectorImpl.JitLimitation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.internal.InternalFlags.IncludeStackTraceOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.internal.InternalFlags.NullableProvidesOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.Key.NullAnnotationStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.multibindings.Element.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.multibindings.Indexer.BindingType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.multibindings.OptionalBinder.Source
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.multibindings.ProvidesIntoOptional.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.servlet.ServletScopes.NullObject
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.servlet.UriPatternType.ServletStyleUriPatternMatcher.Kind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.servlet.UriPatternType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.spi.InjectionPoint.Position
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.Stage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueType - Variable in class com.google.inject.multibindings.MapBinder.RealMapBinder
-
- valueType - Variable in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- verifyBindingAnnotations(Field, AnnotatedBindingBuilder<?>) - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule
-
- Visibility() - Constructor for enum com.google.inject.internal.BytecodeGen.Visibility
-
- visibility - Variable in class com.google.inject.internal.ProxyFactory
-
PUBLIC is default; it's used if all the methods we're intercepting are public.
- visit(AssistedInjectBinding<? extends T>) - Method in interface com.google.inject.assistedinject.AssistedInjectTargetVisitor
-
- visit(ConstructorBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
- visit(ConvertedConstantBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
- visit(InstanceBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
- visit(LinkedKeyBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
- visit(ProviderBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
- visit(ProviderInstanceBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
- visit(ProviderKeyBinding<?>) - Method in class com.google.inject.grapher.DefaultEdgeCreator.EdgeVisitor
-
- visit(ConstructorBinding<?>) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
- visit(InstanceBinding<?>) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
- visit(ProviderInstanceBinding<?>) - Method in class com.google.inject.grapher.DefaultNodeCreator.NodeVisitor
-
- visit(ConstructorBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(ConvertedConstantBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(InstanceBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(LinkedKeyBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(ProviderBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(ProviderInstanceBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(ProviderKeyBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(Binding<T>) - Method in class com.google.inject.internal.BindingProcessor
-
- visit(PrivateElements) - Method in class com.google.inject.internal.BindingProcessor
-
- visit(StaticInjectionRequest) - Method in class com.google.inject.internal.InjectionRequestProcessor
-
- visit(InjectionRequest<?>) - Method in class com.google.inject.internal.InjectionRequestProcessor
-
- visit(DisableCircularProxiesOption) - Method in class com.google.inject.internal.InjectorOptionsProcessor
-
- visit(RequireExplicitBindingsOption) - Method in class com.google.inject.internal.InjectorOptionsProcessor
-
- visit(RequireAtInjectOnConstructorsOption) - Method in class com.google.inject.internal.InjectorOptionsProcessor
-
- visit(RequireExactBindingAnnotationsOption) - Method in class com.google.inject.internal.InjectorOptionsProcessor
-
- visit(InterceptorBinding) - Method in class com.google.inject.internal.InterceptorBindingProcessor
-
- visit(TypeListenerBinding) - Method in class com.google.inject.internal.ListenerBindingProcessor
-
- visit(ProvisionListenerBinding) - Method in class com.google.inject.internal.ListenerBindingProcessor
-
- visit(MembersInjectorLookup<T>) - Method in class com.google.inject.internal.LookupProcessor
-
- visit(ProviderLookup<T>) - Method in class com.google.inject.internal.LookupProcessor
-
- visit(Message) - Method in class com.google.inject.internal.MessageProcessor
-
- visit(ModuleAnnotatedMethodScannerBinding) - Method in class com.google.inject.internal.ModuleAnnotatedMethodScannerProcessor
-
- visit(PrivateElements) - Method in class com.google.inject.internal.PrivateElementProcessor
-
- visit(ScopeBinding) - Method in class com.google.inject.internal.ScopeBindingProcessor
-
- visit(TypeConverterBinding) - Method in class com.google.inject.internal.TypeConverterBindingProcessor
-
- visit(Binding<T>) - Method in class com.google.inject.internal.UntargettedBindingProcessor
-
- visit(int, int, String, String, String, String[]) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader
-
- visit(ConstructorBinding<? extends Object>) - Method in class com.google.inject.multibindings.Indexer
-
- visit(ConvertedConstantBinding<? extends Object>) - Method in class com.google.inject.multibindings.Indexer
-
- visit(ExposedBinding<? extends Object>) - Method in class com.google.inject.multibindings.Indexer
-
- visit(InstanceBinding<? extends Object>) - Method in class com.google.inject.multibindings.Indexer
-
- visit(LinkedKeyBinding<? extends Object>) - Method in class com.google.inject.multibindings.Indexer
-
- visit(ProviderBinding<? extends Object>) - Method in class com.google.inject.multibindings.Indexer
-
- visit(ProviderInstanceBinding<? extends Object>) - Method in class com.google.inject.multibindings.Indexer
-
- visit(ProviderKeyBinding<? extends Object>) - Method in class com.google.inject.multibindings.Indexer
-
- visit(UntargettedBinding<? extends Object>) - Method in class com.google.inject.multibindings.Indexer
-
- visit(MultibinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
- visit(MapBinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
- visit(OptionalBinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
- visit(LinkedFilterBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
- visit(InstanceFilterBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
- visit(LinkedServletBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
- visit(InstanceServletBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
- visit(InstanceBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a instance binding.
- visit(ProviderInstanceBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a provider instance binding.
- visit(ProviderKeyBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a provider key binding.
- visit(LinkedKeyBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a linked key binding.
- 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(UntargettedBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit an untargetted binding.
- visit(ConstructorBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a constructor binding.
- 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(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(InstanceBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ProviderInstanceBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ProviderKeyBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(LinkedKeyBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ExposedBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(UntargettedBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ConstructorBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ConvertedConstantBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ProviderBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(Message) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(Binding<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(InterceptorBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ScopeBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(TypeConverterBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ProviderLookup<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(InjectionRequest<?>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(StaticInjectionRequest) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(PrivateElements) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(MembersInjectorLookup<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(TypeListenerBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ProvisionListenerBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(DisableCircularProxiesOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(RequireExplicitBindingsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(RequireAtInjectOnConstructorsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(RequireExactBindingAnnotationsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ModuleAnnotatedMethodScannerBinding) - 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(InterceptorBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of interceptors for matching methods of matching classes.
- visit(ScopeBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of a scope annotation with the scope that implements it.
- visit(TypeConverterBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of type converters for matching target types.
- visit(InjectionRequest<?>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a request to inject the instance fields and methods of an instance.
- visit(StaticInjectionRequest) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a request to inject the static fields and methods of type.
- visit(ProviderLookup<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a lookup of the provider for a type.
- visit(MembersInjectorLookup<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a lookup of the members injector.
- visit(Message) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit an error message and the context in which it occured.
- visit(PrivateElements) - Method in interface com.google.inject.spi.ElementVisitor
-
- visit(TypeListenerBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit an injectable type listener binding.
- visit(ProvisionListenerBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a provision listener binding.
- visit(RequireExplicitBindingsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require explicit bindings command.
- visit(DisableCircularProxiesOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a disable circular proxies command.
- visit(RequireAtInjectOnConstructorsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require explicit @
Inject
command.
- visit(RequireExactBindingAnnotationsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require exact binding annotations command.
- visit(ModuleAnnotatedMethodScannerBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
- visit(ProvidesMethodBinding<? extends T>) - Method in interface com.google.inject.spi.ProvidesMethodTargetVisitor
-
- visitAnnotation(String, String) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader.LineNumberAnnotationVisitor
-
- 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
-
- 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.multibindings.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
-
- 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
-
- visitMethod(int, String, String, String, String[]) - Method in class com.google.inject.internal.util.LineNumbers.LineNumberReader
-
- visitNoScoping() - Method in class com.google.inject.multibindings.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(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(Element) - Method in class com.google.inject.internal.AbstractProcessor
-
- visitOther() - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
-
Default visit implementation.
- visitOther(Binding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
Default visit implementation.
- 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.multibindings.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.multibindings.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
-
- voidProviderMethod() - Method in class com.google.inject.internal.Errors
-