A B C D E F G H I J K L M N O P R S T U V W

A

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
 
AbstractIterator<T> - Class in com.google.inject.internal.util
This class provides a skeletal implementation of the Iterator interface, to make this interface easier to implement for certain types of data sources.
AbstractIterator() - Constructor for class com.google.inject.internal.util.AbstractIterator
 
AbstractMapEntry<K,V> - Class in com.google.inject.internal.util
Implementation of the equals, hashCode, and toString methods of Entry.
AbstractMapEntry() - Constructor for class com.google.inject.internal.util.AbstractMapEntry
 
AbstractMatcher<T> - Class in com.google.inject.matcher
Implements and() and or().
AbstractMatcher() - Constructor for class com.google.inject.matcher.AbstractMatcher
 
AbstractModule - Class in com.google.inject
A support class for Modules which reduces repetition and results in a more readable configuration.
AbstractModule() - Constructor for class com.google.inject.AbstractModule
 
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.ExposedBindingImpl
 
acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.LinkedBindingImpl
 
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.ProviderLookup
 
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
 
add(E) - Method in class com.google.inject.internal.util.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
add(int, E) - Method in class com.google.inject.internal.util.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
add(E) - Method in class com.google.inject.internal.util.ImmutableList.Builder
Adds element to the ImmutableList.
add(E) - Method in class com.google.inject.internal.util.ImmutableSet.Builder
Adds element to the ImmutableSet.
add(E...) - Method in class com.google.inject.internal.util.ImmutableSet.Builder
Adds each element of elements to the ImmutableSet, ignoring duplicate elements (only the first duplicate element is added).
add(String, Object) - Method in class com.google.inject.internal.util.ToStringBuilder
 
addAll(Collection<? extends E>) - Method in class com.google.inject.internal.util.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
addAll(int, Collection<? extends E>) - Method in class com.google.inject.internal.util.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
addAll(Iterable<? extends E>) - Method in class com.google.inject.internal.util.ImmutableList.Builder
Adds each element of elements to the ImmutableList.
addAll(Iterable<? extends E>) - Method in class com.google.inject.internal.util.ImmutableSet.Builder
Adds each element of elements to the ImmutableSet, ignoring duplicate elements (only the first duplicate element is added).
addAll(Iterator<? extends E>) - Method in class com.google.inject.internal.util.ImmutableSet.Builder
Adds each element of elements to the ImmutableSet, ignoring duplicate elements (only the first duplicate element is added).
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.PrivateModule
 
addError(Throwable) - Method in class com.google.inject.PrivateModule
 
addError(Message) - Method in class com.google.inject.PrivateModule
 
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
 
addMessage(String, Object...) - Method in class com.google.inject.internal.Errors
 
addMessage(Message) - Method in class com.google.inject.internal.Errors
 
addModules(Iterable<? extends Module>) - Method in class com.google.inject.internal.InternalInjectorCreator
 
afterInjection(I) - Method in interface com.google.inject.spi.InjectionListener
Invoked by Guice after it injects the fields and methods of instance.
allowsNull(Annotation[]) - Static method in class com.google.inject.internal.Nullability
 
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.
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.
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
ANNOTATION_ALREADY_SPECIFIED - Static variable in class com.google.inject.internal.AbstractBindingBuilder
 
Annotations - Class in com.google.inject.internal
Annotation utilities.
Annotations() - Constructor for class com.google.inject.internal.Annotations
 
any() - Static method in class com.google.inject.matcher.Matchers
Returns a matcher which matches any input.
apply(F) - Method in interface com.google.inject.internal.util.Function
Applies the function to an object of type F, resulting in an object of type T.
applyTo(Binder) - Method in class com.google.inject.internal.ExposedBindingImpl
 
applyTo(Binder) - Method in class com.google.inject.internal.LinkedBindingImpl
 
applyTo(Binder) - Method in class com.google.inject.internal.PrivateElementsImpl
 
applyTo(ScopedBindingBuilder) - Method in class com.google.inject.internal.Scoping
 
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.ProviderLookup
 
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
 
arrayOf(Type) - Static method in class com.google.inject.util.Types
Returns an array type whose elements are all instances of componentType.
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
 
asEnumeration(Iterator<T>) - Static method in class com.google.inject.internal.util.Iterators
Adapts an Iterator to the Enumeration interface.
AsynchronousComputationException - Exception in com.google.inject.internal.util
Wraps an exception that occured during a computation in a different thread.
AsynchronousComputationException(Throwable) - Constructor for exception com.google.inject.internal.util.AsynchronousComputationException
 

B

bind(Key<T>) - Method in class com.google.inject.AbstractModule
 
bind(TypeLiteral<T>) - Method in class com.google.inject.AbstractModule
 
bind(Class<T>) - Method in class com.google.inject.AbstractModule
 
bind(Key<T>) - Method in interface com.google.inject.Binder
See the EDSL examples at Binder.
bind(TypeLiteral<T>) - Method in interface com.google.inject.Binder
See the EDSL examples at Binder.
bind(Class<T>) - Method in interface com.google.inject.Binder
See the EDSL examples at Binder.
bind(Key<T>) - Method in class com.google.inject.PrivateModule
 
bind(TypeLiteral<T>) - Method in class com.google.inject.PrivateModule
 
bind(Class<T>) - Method in class com.google.inject.PrivateModule
 
bindConstant() - Method in class com.google.inject.AbstractModule
 
bindConstant() - Method in interface com.google.inject.Binder
See the EDSL examples at Binder.
bindConstant() - Method in class com.google.inject.PrivateModule
 
binder() - Method in class com.google.inject.AbstractModule
Gets direct access to the underlying Binder.
Binder - Interface in com.google.inject
Collects configuration information (primarily bindings) which will be used to create an Injector.
binder - Variable in class com.google.inject.internal.AbstractBindingBuilder
 
binder() - Method in class com.google.inject.PrivateModule
Returns the current binder.
Binding<T> - Interface in com.google.inject
A mapping from a key (type and optional annotation) to the strategy for getting instances of the type.
BINDING_TO_NULL - Static variable in class com.google.inject.internal.AbstractBindingBuilder
 
bindingAlreadySet(Key<?>, Object) - Method in class com.google.inject.internal.Errors
 
BindingAnnotation - Annotation Type in com.google.inject
Annotates annotations which are used for binding.
BindingBuilder<T> - Class in com.google.inject.internal
Bind a non-constant key.
BindingBuilder(Binder, List<Element>, Object, Key<T>) - Constructor for class com.google.inject.internal.BindingBuilder
 
BindingImpl<T> - Class in com.google.inject.internal
 
BindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping) - Constructor for class com.google.inject.internal.BindingImpl
 
BindingImpl(Object, Key<T>, Scoping) - Constructor for class com.google.inject.internal.BindingImpl
 
BindingScopingVisitor<V> - Interface in com.google.inject.spi
Visits each of the strategies used to scope an injection.
BindingTargetVisitor<T,V> - Interface in com.google.inject.spi
Visits each of the strategies used to find an instance to satisfy an injection.
bindingToProvider() - Method in class com.google.inject.internal.Errors
 
bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - Method in class com.google.inject.AbstractModule
 
bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - Method in interface com.google.inject.Binder
Binds method interceptor[s] to methods matched by class and method matchers.
bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - Method in class com.google.inject.PrivateModule
 
bindInterceptor(Matcher<? super Method>, MethodInterceptor...) - Method in interface com.google.inject.spi.TypeEncounter
Binds method interceptor[s] to methods matched in type I and its supertypes.
bindListener(Matcher<? super TypeLiteral<?>>, TypeListener) - Method in class com.google.inject.AbstractModule
 
bindListener(Matcher<? super TypeLiteral<?>>, TypeListener) - Method in interface com.google.inject.Binder
Registers a listener for injectable types.
bindListener(Matcher<? super TypeLiteral<?>>, TypeListener) - Method in class com.google.inject.PrivateModule
 
bindProperties(Binder, Map<String, String>) - Static method in class com.google.inject.name.Names
Creates a constant binding to @Named(key) for each entry in properties.
bindProperties(Binder, Properties) - Static method in class com.google.inject.name.Names
Creates a constant binding to @Named(key) for each property.
bindScope(Class<? extends Annotation>, Scope) - Method in class com.google.inject.AbstractModule
 
bindScope(Class<? extends Annotation>, Scope) - Method in interface com.google.inject.Binder
Binds a scope to an annotation.
bindScope(Class<? extends Annotation>, Scope) - Method in class com.google.inject.PrivateModule
 
build() - Method in class com.google.inject.internal.InternalInjectorCreator
 
build() - Method in class com.google.inject.internal.util.ImmutableList.Builder
Returns a newly-created ImmutableList based on the contents of the Builder.
build() - Method in class com.google.inject.internal.util.ImmutableMap.Builder
Returns a newly-created immutable map.
build() - Method in class com.google.inject.internal.util.ImmutableSet.Builder
Returns a newly-created ImmutableSet based on the contents of the Builder.
builder() - Static method in class com.google.inject.internal.util.ImmutableList
Returns a new builder.
builder() - Static method in class com.google.inject.internal.util.ImmutableMap
Returns a new builder.
builder() - Static method in class com.google.inject.internal.util.ImmutableSet
Returns a new builder.
BytecodeGen - Class in com.google.inject.internal
Utility methods for runtime code generation and class loading.
BytecodeGen() - Constructor for class com.google.inject.internal.BytecodeGen
 
BytecodeGen.Visibility - Enum in com.google.inject.internal
The required visibility of a user's class from a Guice-generated class.

C

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
 
cannotSatisfyCircularDependency(Class<?>) - Method in class com.google.inject.internal.Errors
 
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.
capitalize(String) - Static method in class com.google.inject.internal.util.Strings
Returns a string that is equivalent to the specified string with its first character converted to uppercase as by String.toUpperCase(java.util.Locale).
checkArgument(boolean) - Static method in class com.google.inject.internal.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, Object) - Static method in class com.google.inject.internal.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object...) - Static method in class com.google.inject.internal.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkContentsNotNull(T) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that an Iterable object passed as a parameter to the calling method is not null and contains no null elements.
checkContentsNotNull(T, Object) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that an Iterable object passed as a parameter to the calling method is not null and contains no null elements.
checkContentsNotNull(T, String, Object...) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that an Iterable object passed as a parameter to the calling method is not null and contains no null elements.
checkElementIndex(int, int) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that index specifies a valid element in an array, list or string of size size.
checkElementIndex(int, int, String) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that index specifies a valid element in an array, list or string of size size.
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 allowed to be null.
checkNotAnnotated() - Method in class com.google.inject.internal.AbstractBindingBuilder
 
checkNotAnnotated() - Method in class com.google.inject.internal.ExposureBuilder
 
checkNotNull(T) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, Object) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object...) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotScoped() - Method in class com.google.inject.internal.AbstractBindingBuilder
 
checkNotTargetted() - Method in class com.google.inject.internal.AbstractBindingBuilder
 
checkPositionIndex(int, int) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that index specifies a valid position in an array, list or string of size size.
checkPositionIndex(int, int, String) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that index specifies a valid position in an array, list or string of size size.
checkPositionIndexes(int, int, int) - Static method in class com.google.inject.internal.util.Preconditions
Ensures that start and end specify a valid positions in an array, list or string of size size, and are in order.
checkState(boolean) - Static method in class com.google.inject.internal.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, Object) - Static method in class com.google.inject.internal.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object...) - Static method in class com.google.inject.internal.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
childBindingAlreadySet(Key<?>, Set<Object>) - Method in class com.google.inject.internal.Errors
 
CircularDependencyProxy - Interface in com.google.inject.internal
 
circularProxiesDisabled(Class<?>) - Method in class com.google.inject.internal.Errors
 
Classes - Class in com.google.inject.internal.util
Class utilities.
Classes() - Constructor for class com.google.inject.internal.util.Classes
 
clear() - Method in class com.google.inject.internal.util.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
clear() - Method in class com.google.inject.internal.util.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
Collections2 - Class in com.google.inject.internal.util
Provides static methods for working with Collection instances.
com.google.inject - package com.google.inject
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
com.google.inject.binder - package com.google.inject.binder
Interfaces which make up Binder's expression language.
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.matcher - package com.google.inject.matcher
Used for matching things.
com.google.inject.name - package com.google.inject.name
Support for binding to string-based names.
com.google.inject.spi - package com.google.inject.spi
Guice service provider interface
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.
ComputationException - Exception in com.google.inject.internal.util
Wraps an exception that occured during a computation.
ComputationException(Throwable) - Constructor for exception com.google.inject.internal.util.ComputationException
 
computeNext() - Method in class com.google.inject.internal.util.AbstractIterator
Returns the next element.
concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.inject.internal.util.Iterables
Combines two iterables into a single iterable.
concat(Iterable<? extends Iterable<? extends T>>) - Static method in class com.google.inject.internal.util.Iterables
Combines multiple iterables into a single iterable.
concat(Iterator<? extends Iterator<? extends T>>) - Static method in class com.google.inject.internal.util.Iterators
Combines multiple iterators into a single iterator.
concurrencyLevel(int) - Method in class com.google.inject.internal.util.MapMaker
Guides the allowed concurrency among update operations.
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(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.PrivateModule
 
configure() - Method in class com.google.inject.PrivateModule
Creates bindings and other configurations private to this module.
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
 
ConstructorBinding<T> - Interface in com.google.inject.spi
A binding to the constructor of a concrete clss.
constructorNotDefinedByType(Constructor<?>, TypeLiteral<?>) - Method in class com.google.inject.internal.Errors
 
contains(Object) - Method in class com.google.inject.internal.util.ImmutableCollection
 
containsAll(Collection<?>) - Method in class com.google.inject.internal.util.ImmutableCollection
 
containsKey(Object) - Method in class com.google.inject.internal.util.ImmutableMap
 
containsValue(Object) - Method in class com.google.inject.internal.util.ImmutableMap
 
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(String, TypeLiteral<?>) - Method in interface com.google.inject.spi.TypeConverter
Converts a string value.
ConvertedConstantBinding<T> - Interface in com.google.inject.spi
A binding created from converting a bound instance to a new type.
converterReturnedNull(String, Object, TypeLiteral<?>, TypeConverterBinding) - Method in class com.google.inject.internal.Errors
 
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
 
copyOf(Iterable<? extends E>) - Static method in class com.google.inject.internal.util.ImmutableList
Returns an immutable list containing the given elements, in order.
copyOf(Iterator<? extends E>) - Static method in class com.google.inject.internal.util.ImmutableList
Returns an immutable list containing the given elements, in order.
copyOf(Map<? extends K, ? extends V>) - Static method in class com.google.inject.internal.util.ImmutableMap
Returns an immutable map containing the same entries as map.
copyOf(Iterable<? extends E>) - Static method in class com.google.inject.internal.util.ImmutableSet
Returns an immutable set containing the given elements, in order.
copyOf(Iterator<? extends E>) - Static method in class com.google.inject.internal.util.ImmutableSet
Returns an immutable set containing the given elements, in order.
create(K, Errors) - Method in class com.google.inject.internal.FailableCache
 
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 Keys.
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.
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.
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.
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
 

D

DEFAULT_INSTANCE - Static variable in class com.google.inject.internal.util.SourceProvider
 
DefaultBindingScopingVisitor<V> - Class in com.google.inject.spi
No-op visitor for subclassing.
DefaultBindingScopingVisitor() - Constructor for class com.google.inject.spi.DefaultBindingScopingVisitor
 
DefaultBindingTargetVisitor<T,V> - Class in com.google.inject.spi
No-op visitor for subclassing.
DefaultBindingTargetVisitor() - Constructor for class com.google.inject.spi.DefaultBindingTargetVisitor
 
DefaultElementVisitor<V> - Class in com.google.inject.spi
No-op visitor for subclassing.
DefaultElementVisitor() - Constructor for class com.google.inject.spi.DefaultElementVisitor
 
Dependency<T> - Class in com.google.inject.spi
A variable that can be resolved by an injector.
disableCircularProxies() - Method in interface com.google.inject.Binder
Prevents Guice from constructing a Proxy when a circular dependency is found.
DisableCircularProxiesOption - Class in com.google.inject.spi
A request to disable circular proxies.
duplicateBindingAnnotations(Member, Class<? extends Annotation>, Class<? extends Annotation>) - Method in class com.google.inject.internal.Errors
 
duplicateScopeAnnotations(Class<? extends Annotation>, Class<? extends Annotation>) - Method in class com.google.inject.internal.Errors
 
duplicateScopes(Scope, Class<? extends Annotation>, Scope) - Method in class com.google.inject.internal.Errors
 

E

EAGER_SINGLETON - Static variable in class com.google.inject.internal.Scoping
 
Element - Interface in com.google.inject.spi
A core component of a module or injector.
elements - Variable in class com.google.inject.internal.AbstractBindingBuilder
 
Elements - Class in com.google.inject.spi
Exposes elements of a module so they can be inspected, validated or rewritten.
Elements() - Constructor for class com.google.inject.spi.Elements
 
ElementVisitor<V> - Interface in com.google.inject.spi
Visit elements.
EMPTY_MODULE - Static variable in class com.google.inject.util.Modules
 
EMPTY_TYPE_ARRAY - Static variable in class com.google.inject.internal.MoreTypes
 
emptyIterator() - Static method in class com.google.inject.internal.util.Iterators
Returns the empty Iterator.
emptyListIterator() - Static method in class com.google.inject.internal.util.Iterators
Returns the empty ListIterator.
endOfData() - Method in class com.google.inject.internal.util.AbstractIterator
Implementations of computeNext must invoke this method when there are no elements left in the iteration.
entrySet() - Method in class com.google.inject.internal.util.ImmutableMap
Returns an immutable set of the mappings in this map.
equal(Object, Object) - Static method in class com.google.inject.internal.util.Objects
Determines whether two possibly-null objects are equal.
equals(Object) - Method in class com.google.inject.internal.LinkedBindingImpl
 
equals(Type, Type) - Static method in class com.google.inject.internal.MoreTypes
Returns true if a and b are equal.
equals(Object) - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
 
equals(Object) - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
 
equals(Object) - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
 
equals(Object) - Method in class com.google.inject.internal.ProviderMethod
 
equals(Object) - Method in class com.google.inject.internal.ProviderMethodsModule
 
equals(Object) - Method in class com.google.inject.internal.Scoping
 
equals(Object) - Method in class com.google.inject.internal.util.AbstractMapEntry
Indicates whether an object equals this entry, following the behavior specified in Map.Entry.equals(java.lang.Object).
equals(Object) - Method in interface com.google.inject.internal.util.Function
Indicates whether some other object is equal to this Function.
equals(Object) - Method in class com.google.inject.internal.util.ImmutableMap
 
equals(Object) - Method in class com.google.inject.internal.util.ImmutableSet
 
equals(Object) - Method in class com.google.inject.Key
 
equals(Object) - Method in class com.google.inject.spi.Dependency
 
equals(Object) - Method in class com.google.inject.spi.InjectionPoint
 
equals(Object) - Method in class com.google.inject.spi.Message
 
equals(Object) - Method in class com.google.inject.TypeLiteral
 
errorCheckingDuplicateBinding(Key<?>, Object, Throwable) - Method in class com.google.inject.internal.Errors
 
errorEnhancingClass(Class<?>, Throwable) - Method in class com.google.inject.internal.Errors
 
errorInjectingConstructor(Throwable) - Method in class com.google.inject.internal.Errors
 
errorInjectingMethod(Throwable) - Method in class com.google.inject.internal.Errors
 
errorInProvider(RuntimeException) - Method in class com.google.inject.internal.Errors
 
errorInUserCode(Throwable, String, Object...) - Method in class com.google.inject.internal.Errors
 
errorInUserInjector(MembersInjector<?>, TypeLiteral<?>, RuntimeException) - Method in class com.google.inject.internal.Errors
 
errorNotifyingInjectionListener(InjectionListener<?>, TypeLiteral<?>, RuntimeException) - Method in class com.google.inject.internal.Errors
 
errorNotifyingTypeListener(TypeListenerBinding, TypeLiteral<?>, Throwable) - Method in class com.google.inject.internal.Errors
 
Errors - Class in com.google.inject.internal
A collection of error messages.
Errors() - Constructor for class com.google.inject.internal.Errors
 
Errors(Object) - Constructor for class com.google.inject.internal.Errors
 
ErrorsException - Exception in com.google.inject.internal
Indicates that a result could not be returned while preparing or resolving a binding.
ErrorsException(Errors) - Constructor for exception com.google.inject.internal.ErrorsException
 
expiration(long, TimeUnit) - Method in class com.google.inject.internal.util.MapMaker
Specifies that each entry should be automatically removed from the map once a fixed duration has passed since the entry's creation.
expose(Key<?>) - Method in interface com.google.inject.PrivateBinder
Makes the binding for key available to the enclosing environment
expose(Class<?>) - Method in interface com.google.inject.PrivateBinder
Makes a binding for type available to the enclosing environment.
expose(TypeLiteral<?>) - Method in interface com.google.inject.PrivateBinder
Makes a binding for type available to the enclosing environment.
expose(Key<T>) - Method in class com.google.inject.PrivateModule
Makes the binding for key available to other modules and the injector.
expose(Class<?>) - Method in class com.google.inject.PrivateModule
Makes a binding for type available to other modules and the injector.
expose(TypeLiteral<?>) - Method in class com.google.inject.PrivateModule
Makes a binding for type available to other modules and the injector.
Exposed - Annotation Type in com.google.inject
Acccompanies a @Provides method annotation in a private module to indicate that the provided binding is exposed.
ExposedBinding<T> - Interface in com.google.inject.spi
A binding to a key exposed from an enclosed private environment.
ExposedBindingImpl<T> - Class in com.google.inject.internal
 
ExposedBindingImpl(InjectorImpl, Object, Key<T>, InternalFactory<T>, PrivateElements) - Constructor for class com.google.inject.internal.ExposedBindingImpl
 
exposedButNotBound(Key<?>) - Method in class com.google.inject.internal.Errors
 
ExposureBuilder<T> - Class in com.google.inject.internal
For private binder's expose() method.
ExposureBuilder(Binder, Object, Key<T>) - Constructor for class com.google.inject.internal.ExposureBuilder
 

F

FailableCache<K,V> - Class in com.google.inject.internal
Lazily creates (and caches) values for keys.
FailableCache() - Constructor for class com.google.inject.internal.FailableCache
 
FinalizablePhantomReference<T> - Class in com.google.inject.internal.util
Phantom reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.
FinalizablePhantomReference(T, FinalizableReferenceQueue) - Constructor for class com.google.inject.internal.util.FinalizablePhantomReference
Constructs a new finalizable phantom reference.
FinalizableReference - Interface in com.google.inject.internal.util
Implemented by references that have code to run after garbage collection of their referents.
FinalizableReferenceQueue - Class in com.google.inject.internal.util
A reference queue with an associated background thread that dequeues references and invokes FinalizableReference.finalizeReferent() on them.
FinalizableReferenceQueue() - Constructor for class com.google.inject.internal.util.FinalizableReferenceQueue
Constructs a new queue.
FinalizableSoftReference<T> - Class in com.google.inject.internal.util
Soft reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.
FinalizableSoftReference(T, FinalizableReferenceQueue) - Constructor for class com.google.inject.internal.util.FinalizableSoftReference
Consructs a new finalizable soft reference.
FinalizableWeakReference<T> - Class in com.google.inject.internal.util
Weak reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.
FinalizableWeakReference(T, FinalizableReferenceQueue) - Constructor for class com.google.inject.internal.util.FinalizableWeakReference
Consructs a new finalizable weak reference.
Finalizer - Class in com.google.inject.internal.util
Thread that finalizes referents.
finalizeReferent() - Method in interface com.google.inject.internal.util.FinalizableReference
Invoked on a background thread after the referent has been garbage collected unless security restictions prevented starting a background thread, in which case this method is invoked when new references are created.
findBindingAnnotation(Errors, Member, Annotation[]) - Static method in class com.google.inject.internal.Annotations
Returns the binding annotation on member, or null if there isn't one.
findBindingsByType(TypeLiteral<T>) - Method in interface com.google.inject.Injector
Returns all explicit bindings for type.
findScopeAnnotation(Errors, Class<?>) - Static method in class com.google.inject.internal.Annotations
Returns the scope annotation on type, or null if none is specified.
findScopeAnnotation(Errors, Annotation[]) - Static method in class com.google.inject.internal.Annotations
Returns the scoping annotation, or null if there isn't one.
forAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Scoping
 
forArray(T...) - Static method in class com.google.inject.internal.util.Iterators
Returns an iterator containing the elements of array in order.
forArray(T[], int, int) - Static method in class com.google.inject.internal.util.Iterators
Returns an iterator containing the elements in the specified range of array in order.
forConstructor(Constructor<T>) - Static method in class com.google.inject.spi.InjectionPoint
Returns a new injection point for the specified constructor.
forConstructor(Constructor<T>, TypeLiteral<? extends T>) - Static method in class com.google.inject.spi.InjectionPoint
Returns a new injection point for the specified constructor of type.
forConstructorOf(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
Returns a new injection point for the injectable constructor of type.
forConstructorOf(Class<?>) - Static method in class com.google.inject.spi.InjectionPoint
Returns a new injection point for the injectable constructor of type.
forInjectionPoints(Set<InjectionPoint>) - Static method in class com.google.inject.spi.Dependency
Returns the dependencies from the given injection points.
forInstance(Scope) - Static method in class com.google.inject.internal.Scoping
 
forInstanceMethodsAndFields(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
Returns all instance method and field injection points on type.
forInstanceMethodsAndFields(Class<?>) - Static method in class com.google.inject.spi.InjectionPoint
Returns all instance method and field injection points on type.
format(String, Object...) - Static method in class com.google.inject.internal.Errors
 
format(String, Collection<Message>) - Static method in class com.google.inject.internal.Errors
Returns the formatted message for an exception with the specified messages.
formatInjectionPoint(Formatter, Dependency<?>, InjectionPoint) - Static method in class com.google.inject.internal.Errors
 
formatSource(Formatter, Object) - Static method in class com.google.inject.internal.Errors
 
forMember(Member) - Static method in enum com.google.inject.internal.BytecodeGen.Visibility
 
forMember(Member) - Static method in class com.google.inject.internal.util.StackTraceElements
 
forModule(Module) - Static method in class com.google.inject.internal.ProviderMethodsModule
Returns a module which creates bindings for provider methods from the given module.
forObject(Object) - Static method in class com.google.inject.internal.ProviderMethodsModule
Returns a module which creates bindings for provider methods from the given object.
forStaticMethodsAndFields(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
Returns all static method and field injection points on type.
forStaticMethodsAndFields(Class<?>) - Static method in class com.google.inject.spi.InjectionPoint
Returns all static method and field injection points on type.
forType(Class<?>) - Static method in enum com.google.inject.internal.BytecodeGen.Visibility
 
forType(Class<?>) - Static method in class com.google.inject.internal.util.StackTraceElements
 
Function<F,T> - Interface in com.google.inject.internal.util
A transformation from one object to another.

G

get(K, Errors) - Method in class com.google.inject.internal.FailableCache
 
get() - Method in class com.google.inject.internal.ProviderMethod
 
get(Object) - Method in class com.google.inject.internal.util.ImmutableMap
 
get() - Method in class com.google.inject.internal.util.SourceProvider
Returns the calling line of code.
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 interface com.google.inject.Provider
Provides an instance of T.
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(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.
getActualTypeArguments() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
 
getAllBindings() - Method in interface com.google.inject.Injector
Returns a snapshot of this injector's bindings, both explicit and just-in-time.
getAnnotation() - Method in class com.google.inject.Key
Gets the annotation.
getAnnotationType() - Method in class com.google.inject.Key
Gets the annotation type.
getAnnotationType() - Method in class com.google.inject.spi.ScopeBinding
 
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
 
getBindings() - Method in interface com.google.inject.Injector
Returns this injector's explicit bindings.
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.
getClassMatcher() - Method in class com.google.inject.spi.InterceptorBinding
 
getConstructor() - Method in interface com.google.inject.spi.ConstructorBinding
Gets the constructor this binding injects.
getDeclaringType() - Method in class com.google.inject.spi.InjectionPoint
Returns the generic type that defines this injection point.
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.
getDependencies() - Method in class com.google.inject.internal.ExposedBindingImpl
 
getDependencies() - Method in class com.google.inject.internal.LinkedBindingImpl
 
getDependencies() - Method in class com.google.inject.internal.ProviderMethod
 
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.
getElements() - Method in class com.google.inject.internal.PrivateElementsImpl
 
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
 
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
 
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.
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.
getFieldType(Field) - Method in class com.google.inject.TypeLiteral
Returns the resolved generic type of field.
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 supertype.
getInjectableMembers() - Method in interface com.google.inject.spi.ConstructorBinding
Returns all instance method and field injection points on type.
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.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.PrivateElementsImpl
 
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.
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() - 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.
getInterceptors() - Method in class com.google.inject.spi.InterceptorBinding
 
getInternalFactory() - Method in class com.google.inject.internal.BindingImpl
 
getKey() - Method in interface com.google.inject.Binding
Returns the key for this binding.
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() - Method in class com.google.inject.internal.util.AbstractMapEntry
 
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
 
getLinkedKey() - Method in class com.google.inject.internal.LinkedBindingImpl
 
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.
getLowerBounds() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
 
getMember() - Method in class com.google.inject.spi.InjectionPoint
Returns the injected constructor, field, or method.
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(Class<T>) - Method in class com.google.inject.PrivateModule
 
getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.PrivateModule
 
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.
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.ProviderMethod
 
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
 
getModule(Iterable<? extends Element>) - Static method in class com.google.inject.spi.Elements
Returns the module composed of elements.
getOnlyCause(Collection<Message>) - Static method in class com.google.inject.internal.Errors
Returns the cause throwable if there is exactly one cause in messages.
getOnlyElement(Iterable<T>) - Static method in class com.google.inject.internal.util.Iterables
Returns the single element contained in iterable.
getOnlyElement(Iterator<T>) - Static method in class com.google.inject.internal.util.Iterators
Returns the single element contained in iterator.
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.
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.
getPartialValue() - Method in exception com.google.inject.ConfigurationException
Returns a value that was only partially computed due to this exception.
getPrivateElements() - Method in class com.google.inject.internal.ExposedBindingImpl
 
getPrivateElements() - Method in interface com.google.inject.spi.ExposedBinding
Returns the enclosed environment that holds the original binding.
getProvidedKey() - Method in interface com.google.inject.spi.ProviderBinding
Returns the key whose binding is used to provide instances.
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(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.PrivateModule
 
getProvider(Class<T>) - Method in class com.google.inject.PrivateModule
 
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.
getProviderInstance() - Method in interface com.google.inject.spi.ProviderInstanceBinding
Returns the user-supplied, unscoped provider.
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
 
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.TypeLiteral
Returns the raw (non-generic) type for this type.
getReturnType(Method) - Method in class com.google.inject.TypeLiteral
Returns the resolved generic return type of method.
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.
getScopeBindings() - Method in interface com.google.inject.Injector
Returns a map containing all scopes in the injector.
getScopeInstance() - Method in class com.google.inject.internal.Scoping
Returns the scope instance, or null if that isn't known for this instance.
getScoping() - Method in class com.google.inject.internal.BindingImpl
 
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.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.ProviderLookup
 
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
 
getSourceKey() - Method in interface com.google.inject.spi.ConvertedConstantBinding
Returns the key for the source binding.
getSources() - Method in class com.google.inject.internal.Errors
 
getSources() - Method in class com.google.inject.spi.Message
 
getSupertype(Class<?>) - Method in class com.google.inject.TypeLiteral
Returns the generic form of supertype.
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 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.
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
 
getValue() - Method in class com.google.inject.internal.util.AbstractMapEntry
 
getValue() - Method in interface com.google.inject.spi.ConvertedConstantBinding
Returns the converted value.
Guice - Class in com.google.inject
The entry point to the Guice framework.
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.

H

hasAttributes() - Method in class com.google.inject.Key
Returns true if this key has annotation attributes.
HasDependencies - Interface in com.google.inject.spi
Implemented by bindings, providers and instances that expose their dependencies explicitly.
hasErrors() - Method in class com.google.inject.internal.Errors
 
hashCode() - Method in class com.google.inject.internal.LinkedBindingImpl
 
hashCode() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
 
hashCode() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
 
hashCode() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
 
hashCode() - Method in class com.google.inject.internal.ProviderMethod
 
hashCode() - Method in class com.google.inject.internal.ProviderMethodsModule
 
hashCode() - Method in class com.google.inject.internal.Scoping
 
hashCode() - Method in class com.google.inject.internal.util.AbstractMapEntry
Return this entry's hash code, following the behavior specified in Map.Entry.hashCode().
hashCode() - Method in class com.google.inject.internal.util.ImmutableMap
 
hashCode() - Method in class com.google.inject.internal.util.ImmutableSet
 
hashCode(Object...) - Static method in class com.google.inject.internal.util.Objects
Generates a hash code for multiple values.
hashCode() - Method in class com.google.inject.Key
 
hashCode() - Method in class com.google.inject.spi.Dependency
 
hashCode() - Method in class com.google.inject.spi.InjectionPoint
 
hashCode() - Method in class com.google.inject.spi.Message
 
hashCode() - Method in class com.google.inject.TypeLiteral
 
hasNext() - Method in class com.google.inject.internal.util.AbstractIterator
 
hear(TypeLiteral<I>, TypeEncounter<I>) - Method in interface com.google.inject.spi.TypeListener
Invoked when Guice encounters a new type eligible for constructor or members injection.

I

identicalTo(Object) - Static method in class com.google.inject.matcher.Matchers
Returns a matcher which matches only the given object.
ImmutableCollection<E> - Class in com.google.inject.internal.util
An immutable collection.
immutableEntry(K, V) - Static method in class com.google.inject.internal.util.Maps
Returns an immutable map entry with the specified key and value.
ImmutableList<E> - Class in com.google.inject.internal.util
A high-performance, immutable, random-access List implementation.
ImmutableList.Builder<E> - Class in com.google.inject.internal.util
A builder for creating immutable list instances, especially public static final lists ("constant lists").
ImmutableList.Builder() - Constructor for class com.google.inject.internal.util.ImmutableList.Builder
Creates a new builder.
ImmutableMap<K,V> - Class in com.google.inject.internal.util
An immutable, hash-based Map with reliable user-specified iteration order.
ImmutableMap.Builder<K,V> - Class in com.google.inject.internal.util
A builder for creating immutable map instances, especially public static final maps ("constant maps").
ImmutableMap.Builder() - Constructor for class com.google.inject.internal.util.ImmutableMap.Builder
Creates a new builder.
ImmutableSet<E> - Class in com.google.inject.internal.util
A high-performance, immutable Set with reliable, user-specified iteration order.
ImmutableSet.Builder<E> - Class in com.google.inject.internal.util
A builder for creating immutable set instances, especially public static final sets ("constant sets").
ImmutableSet.Builder() - Constructor for class com.google.inject.internal.util.ImmutableSet.Builder
Creates a new builder.
IMPLEMENTATION_ALREADY_SET - Static variable in class com.google.inject.internal.AbstractBindingBuilder
 
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
 
indexOf(Object) - Method in class com.google.inject.internal.util.ImmutableList
 
initialCapacity(int) - Method in class com.google.inject.internal.util.MapMaker
Sets a custom initial capacity (defaults to 16).
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.
initInjector(Injector) - Method in class com.google.inject.internal.PrivateElementsImpl
 
Inject - Annotation Type in com.google.inject
Annotates members of your implementation class (constructors, methods and fields) into which the Injector should inject values.
InjectionListener<I> - Interface in com.google.inject.spi
Listens for injections into instances of type I.
InjectionPoint - Class in com.google.inject.spi
A constructor, field or method that can receive injections.
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
 
injectMembers(Object) - Method in interface com.google.inject.Injector
Injects dependencies into the fields and methods of instance.
injectMembers(T) - Method in interface com.google.inject.MembersInjector
Injects dependencies into the fields and methods of instance.
Injector - Interface in com.google.inject
Builds the graphs of objects that make up your application.
inPackage(Package) - Static method in class com.google.inject.matcher.Matchers
Returns a matcher which matches classes in the given package.
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
 
InstanceBinding<T> - Interface in com.google.inject.spi
A binding to a single instance.
inSubpackage(String) - Static method in class com.google.inject.matcher.Matchers
Returns a matcher which matches classes in the given package and its subpackages.
InterceptorBinding - Class in com.google.inject.spi
Registration of interceptors for matching methods of matching classes.
InternalInjectorCreator - Class in com.google.inject.internal
Builds a tree of injectors.
InternalInjectorCreator() - Constructor for class com.google.inject.internal.InternalInjectorCreator
 
isBindingAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
Returns true if annotations of the specified type are binding annotations.
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.
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.
isEmpty() - Method in class com.google.inject.internal.util.ImmutableCollection
 
isExplicitlyScoped() - Method in class com.google.inject.internal.Scoping
Returns true if this scope was explicitly applied.
isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
 
isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
 
isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
 
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.
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.
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.
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
 
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.
Iterables - Class in com.google.inject.internal.util
This class contains static utility methods that operate on or return objects of type Iterable.
iterator() - Method in class com.google.inject.internal.util.ImmutableCollection
Returns an unmodifiable iterator across the elements in this collection.
iterator() - Method in class com.google.inject.internal.util.ImmutableList
 
iterator() - Method in class com.google.inject.internal.util.ImmutableSet
 
Iterators - Class in com.google.inject.internal.util
This class contains static utility methods that operate on or return objects of type Iterator.

J

jitBindingAlreadySet(Key<?>) - Method in class com.google.inject.internal.Errors
 
jitDisabled(Key) - Method in class com.google.inject.internal.Errors
 
Join - Class in com.google.inject.internal.util
Utility for joining pieces of text separated by a delimiter.
join(String, Iterable<?>) - Static method in class com.google.inject.internal.util.Join
Returns a string containing the tokens, converted to strings if necessary, separated by delimiter.
join(String, Object[]) - Static method in class com.google.inject.internal.util.Join
Returns a string containing the tokens, converted to strings if necessary, separated by delimiter.
join(String, Object, Object...) - Static method in class com.google.inject.internal.util.Join
Returns a string containing the tokens, converted to strings if necessary, separated by delimiter.
join(String, Iterator<?>) - Static method in class com.google.inject.internal.util.Join
Returns a string containing the tokens, converted to strings if necessary, separated by delimiter.
join(String, String, Map<?, ?>) - Static method in class com.google.inject.internal.util.Join
Returns a string containing the contents of map, with entries separated by entryDelimiter, and keys and values separated with keyValueSeparator.
join(T, String, Iterable<?>) - Static method in class com.google.inject.internal.util.Join
Appends each of the tokens to appendable, separated by delimiter.
join(T, String, Object[]) - Static method in class com.google.inject.internal.util.Join
Appends each of the tokens to appendable, separated by delimiter.
join(T, String, Object, Object...) - Static method in class com.google.inject.internal.util.Join
Appends each of the tokens to appendable, separated by delimiter.
join(T, String, Iterator<?>) - Static method in class com.google.inject.internal.util.Join
Appends each of the tokens to appendable, separated by delimiter.
join(T, String, String, Map<?, ?>) - Static method in class com.google.inject.internal.util.Join
Appends the contents of map to appendable, with entries separated by entryDelimiter, and keys and values separated with keyValueSeparator.
Join.JoinException - Exception in com.google.inject.internal.util
Exception thrown in response to an IOException from the supplied Appendable.

K

Key<T> - Class in com.google.inject
Binding key consisting of an injection type and an optional annotation.
Key(Class<? extends Annotation>) - Constructor for class com.google.inject.Key
Constructs a new key.
Key(Annotation) - Constructor for class com.google.inject.Key
Constructs a new key.
Key() - Constructor for class com.google.inject.Key
Constructs a new key.
keyNotFullySpecified(TypeLiteral<?>) - Method in class com.google.inject.internal.Errors
 
keySet() - Method in class com.google.inject.internal.util.ImmutableMap
Returns an immutable set of the keys in this map.
keyTypeIsSet() - Method in class com.google.inject.internal.AbstractBindingBuilder
 

L

lastIndexOf(Object) - Method in class com.google.inject.internal.util.ImmutableList
 
LinkedBindingBuilder<T> - Interface in com.google.inject.binder
See the EDSL examples at Binder.
LinkedBindingImpl<T> - Class in com.google.inject.internal
 
LinkedBindingImpl(InjectorImpl, Key<T>, Object, InternalFactory<? extends T>, Scoping, Key<? extends T>) - Constructor for class com.google.inject.internal.LinkedBindingImpl
 
LinkedBindingImpl(Object, Key<T>, Scoping, Key<? extends T>) - Constructor for class com.google.inject.internal.LinkedBindingImpl
 
LinkedKeyBinding<T> - Interface in com.google.inject.spi
A binding to a linked key.
listOf(Type) - Static method in class com.google.inject.util.Types
Returns a type modelling a List whose elements are of type elementType.
Lists - Class in com.google.inject.internal.util
Static utility methods pertaining to List instances.
loadFactor(float) - Method in class com.google.inject.internal.util.MapMaker
Sets a custom load factor (defaults to 0.75).

M

makeComputingMap(Function<? super K, ? extends V>) - Method in class com.google.inject.internal.util.MapMaker
Builds a map that supports atomic, on-demand computation of values.
makeMap() - Method in class com.google.inject.internal.util.MapMaker
Builds the final map, without on-demand computation of values.
MapMaker - Class in com.google.inject.internal.util
A ConcurrentMap builder, providing any combination of these features: soft or weak keys, soft or weak values, timed expiration, and on-demand computation of values.
MapMaker() - Constructor for class com.google.inject.internal.util.MapMaker
Constructs a new MapMaker instance with default settings, including strong keys, strong values, and no automatic expiration.
mapOf(Type, Type) - Static method in class com.google.inject.util.Types
Returns a type modelling a Map whose keys are of type keyType and whose values are of type valueType.
Maps - Class in com.google.inject.internal.util
Static utility methods pertaining to Map instances.
Matcher<T> - Interface in com.google.inject.matcher
Returns true or false for a given input.
Matchers - Class in com.google.inject.matcher
Matcher implementations.
matches(T) - Method in interface com.google.inject.matcher.Matcher
Returns true if this matches t, false otherwise.
MembersInjector<T> - Interface in com.google.inject
Injects dependencies into the fields and methods on instances of type T.
MembersInjectorLookup<T> - Class in com.google.inject.spi
A lookup of the members injector for a type.
MembersInjectorLookup(Object, TypeLiteral<T>) - Constructor for class com.google.inject.spi.MembersInjectorLookup
 
memberType(Member) - Static method in class com.google.inject.internal.util.Classes
Returns Field.class, Method.class or Constructor.class.
merge(Collection<Message>) - Method in class com.google.inject.internal.Errors
 
merge(Errors) - Method in class com.google.inject.internal.Errors
 
Message - Class in com.google.inject.spi
An error message and the context in which it occured.
Message(List<Object>, String, Throwable) - Constructor for class com.google.inject.spi.Message
 
Message(Object, String) - Constructor for class com.google.inject.spi.Message
 
Message(String) - Constructor for class com.google.inject.spi.Message
 
misplacedBindingAnnotation(Member, Annotation) - Method in class com.google.inject.internal.Errors
 
missingConstantValues() - Method in class com.google.inject.internal.Errors
 
missingConstructor(Class<?>) - Method in class com.google.inject.internal.Errors
 
missingImplementation(Key) - Method in class com.google.inject.internal.Errors
We use a fairly generic error message here.
missingRuntimeRetention(Object) - Method in class com.google.inject.internal.Errors
 
missingScopeAnnotation() - Method in class com.google.inject.internal.Errors
 
Module - Interface in com.google.inject
A module contributes configuration information, typically interface bindings, which will be used to create an Injector.
Modules - Class in com.google.inject.util
Static utility methods for creating and working with instances of Module.
Modules.OverriddenModuleBuilder - Interface in com.google.inject.util
See the EDSL example at override().
MoreTypes - Class in com.google.inject.internal
Static methods for working with types that we aren't publishing in the public Types API.
MoreTypes.GenericArrayTypeImpl - Class in com.google.inject.internal
 
MoreTypes.GenericArrayTypeImpl(Type) - Constructor for class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
 
MoreTypes.ParameterizedTypeImpl - Class in com.google.inject.internal
 
MoreTypes.ParameterizedTypeImpl(Type, Type, Type...) - Constructor for class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
 
MoreTypes.WildcardTypeImpl - Class in com.google.inject.internal
The WildcardType interface supports multiple upper bounds and multiple lower bounds.
MoreTypes.WildcardTypeImpl(Type[], Type[]) - Constructor for class com.google.inject.internal.MoreTypes.WildcardTypeImpl
 

N

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.
Names - Class in com.google.inject.name
Utility methods for use with @Named.
newArray(T[], int) - Static method in class com.google.inject.internal.util.ObjectArrays
Returns a new array of the given length with the same type as a reference array.
newArrayList() - Static method in class com.google.inject.internal.util.Lists
Creates an empty ArrayList instance.
newArrayList(E...) - Static method in class com.google.inject.internal.util.Lists
Creates an ArrayList instance containing the given elements.
newArrayList(Iterable<? extends E>) - Static method in class com.google.inject.internal.util.Lists
Creates an ArrayList instance containing the given elements.
newArrayList(Iterator<? extends E>) - Static method in class com.google.inject.internal.util.Lists
Creates an ArrayList instance containing the given elements.
newArrayList(E, E[]) - Static method in class com.google.inject.internal.util.Lists
Returns an unmodifiable list containing the specified first element and the additional elements.
newEnhancer(Class<?>, BytecodeGen.Visibility) - Static method in class com.google.inject.internal.BytecodeGen
 
newFastClass(Class<?>, BytecodeGen.Visibility) - Static method in class com.google.inject.internal.BytecodeGen
 
newHashMap() - Static method in class com.google.inject.internal.util.Maps
Creates a HashMap instance.
newHashSet() - Static method in class com.google.inject.internal.util.Sets
Creates an empty HashSet instance.
newIdentityHashMap() - Static method in class com.google.inject.internal.util.Maps
Creates an IdentityHashMap instance.
newLinkedHashMap() - Static method in class com.google.inject.internal.util.Maps
Creates an insertion-ordered LinkedHashMap instance.
newLinkedHashSet() - Static method in class com.google.inject.internal.util.Sets
Creates an empty LinkedHashSet instance.
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.
newSetFromMap(Map<E, Boolean>) - Static method in class com.google.inject.internal.util.Sets
Returns a set backed by the specified map.
newTreeMap() - Static method in class com.google.inject.internal.util.Maps
Creates a TreeMap instance using the natural ordering of its elements.
next() - Method in class com.google.inject.internal.util.AbstractIterator
 
NO_SCOPE - Static variable in class com.google.inject.Scopes
No scope; the same as not applying any scope at all.
not(Matcher<? super T>) - Static method in class com.google.inject.matcher.Matchers
Inverts the given matcher.
notASubtype(Class<?>, Class<?>) - Method in class com.google.inject.internal.Errors
 
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.
Nullable - Annotation Type in com.google.inject.internal.util
The presence of this annotation on a method parameter indicates that null is an acceptable value for that parameter.

O

ObjectArrays - Class in com.google.inject.internal.util
Static utility methods pertaining to object arrays.
Objects - Class in com.google.inject.internal.util
Helper functions that can operate on any Object.
of() - Static method in class com.google.inject.internal.util.ImmutableList
Returns the empty immutable list.
of(E) - Static method in class com.google.inject.internal.util.ImmutableList
Returns an immutable list containing a single element.
of(E, E) - Static method in class com.google.inject.internal.util.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E) - Static method in class com.google.inject.internal.util.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E) - Static method in class com.google.inject.internal.util.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E) - Static method in class com.google.inject.internal.util.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E...) - Static method in class com.google.inject.internal.util.ImmutableList
Returns an immutable list containing the given elements, in order.
of() - Static method in class com.google.inject.internal.util.ImmutableMap
Returns the empty map.
of(K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
Returns an immutable map containing a single entry.
of(K, V, K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
Returns an immutable map containing the given entries, in order.
of() - Static method in class com.google.inject.internal.util.ImmutableSet
Returns the empty immutable set.
of(E) - Static method in class com.google.inject.internal.util.ImmutableSet
Returns an immutable set containing a single element.
of(E...) - Static method in class com.google.inject.internal.util.ImmutableSet
Returns an immutable set containing the given elements, in order.
of(T) - Static method in class com.google.inject.util.Providers
Returns a provider which always provides instance.
ofType(Class<T>) - Method in class com.google.inject.Key
Returns a new key of the specified type with the same annotation as this key.
ofType(Type) - Method in class com.google.inject.Key
Returns a new key of the specified type with the same annotation as this key.
ofType(TypeLiteral<T>) - Method in class com.google.inject.Key
Returns a new key of the specified type with the same annotation as this key.
only(Object) - Static method in class com.google.inject.matcher.Matchers
Returns a matcher which matches objects equal to the given object.
optionalConstructor(Constructor) - Method in class com.google.inject.internal.Errors
 
or(Matcher<? super T>) - Method in class com.google.inject.matcher.AbstractMatcher
 
or(Matcher<? super T>) - Method in interface com.google.inject.matcher.Matcher
Returns a new matcher which returns true if either this or the given matcher return true.
OutOfScopeException - Exception in com.google.inject
Thrown from Provider.get() when an attempt is made to access a scoped object while the scope in question is not currently active.
OutOfScopeException(String) - Constructor for exception com.google.inject.OutOfScopeException
 
OutOfScopeException(String, Throwable) - Constructor for exception com.google.inject.OutOfScopeException
 
OutOfScopeException(Throwable) - Constructor for exception com.google.inject.OutOfScopeException
 
override(Module...) - Static method in class com.google.inject.util.Modules
Returns a builder that creates a module that overlays override modules over the given modules.
override(Iterable<? extends Module>) - Static method in class com.google.inject.util.Modules
Returns a builder that creates a module that overlays override modules over the given modules.

P

parentInjector(InjectorImpl) - Method in class com.google.inject.internal.InternalInjectorCreator
Sets the parent of the injector to-be-constructed.
plusSkippedClasses(Class...) - Method in class com.google.inject.internal.util.SourceProvider
Returns a new instance that also skips moreClassesToSkip.
position - Variable in class com.google.inject.internal.AbstractBindingBuilder
 
Preconditions - Class in com.google.inject.internal.util
Simple static methods to be called at the start of your own methods to verify correct arguments and state.
PrivateBinder - Interface in com.google.inject
Returns a binder whose configuration information is hidden from its environment by default.
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
 
ProvidedBy - Annotation Type in com.google.inject
A pointer to the default provider type for a type.
Provider<T> - Interface in com.google.inject
An object capable of providing instances of type T.
ProviderBinding<T extends Provider<?>> - Interface in com.google.inject.spi
A binding to a Provider that delegates to the binding for the provided type.
ProviderInstanceBinding<T> - Interface in com.google.inject.spi
A binding to a provider instance.
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
 
ProviderMethod<T> - Class in com.google.inject.internal
A provider that invokes a method and returns its result.
ProviderMethodsModule - Class in com.google.inject.internal
Creates bindings to methods annotated with @Provides.
providerOf(Type) - Static method in class com.google.inject.util.Types
Returns a type modelling a Provider that provides elements of type elementType.
Providers - Class in com.google.inject.util
Static utility methods for creating and working with instances of 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.
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
 
put(K, V) - Method in class com.google.inject.internal.util.ImmutableMap.Builder
Associates key with value in the built map.
put(K, V) - Method in class com.google.inject.internal.util.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
putAll(Map<? extends K, ? extends V>) - Method in class com.google.inject.internal.util.ImmutableMap.Builder
Associates all of map's keys and values in the built map.
putAll(Map<? extends K, ? extends V>) - Method in class com.google.inject.internal.util.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
putIfAbsent(K, V) - Method in class com.google.inject.internal.util.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.

R

recursiveBinding() - Method in class com.google.inject.internal.Errors
 
recursiveImplementationType() - Method in class com.google.inject.internal.Errors
 
recursiveProviderType() - Method in class com.google.inject.internal.Errors
 
register(MembersInjector<? super I>) - Method in interface com.google.inject.spi.TypeEncounter
Registers a members injector for type I.
register(InjectionListener<? super I>) - Method in interface com.google.inject.spi.TypeEncounter
Registers an injection listener for type I.
remove() - Method in class com.google.inject.internal.util.AbstractIterator
This method is not supported.
remove(Object) - Method in class com.google.inject.internal.util.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
remove(int) - Method in class com.google.inject.internal.util.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
remove(Object) - Method in class com.google.inject.internal.util.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
remove(Object, Object) - Method in class com.google.inject.internal.util.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
remove() - Method in class com.google.inject.internal.util.UnmodifiableIterator
Guaranteed to throw an exception and leave the underlying data unmodified.
removeAll(Collection<?>) - Method in class com.google.inject.internal.util.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
replace(K, V, V) - Method in class com.google.inject.internal.util.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
replace(K, V) - Method in class com.google.inject.internal.util.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
requestInjection(Object) - Method in class com.google.inject.AbstractModule
 
requestInjection(TypeLiteral<T>, T) - Method in interface com.google.inject.Binder
Upon successful creation, the Injector will inject instance fields and methods of the given object.
requestInjection(Object) - Method in interface com.google.inject.Binder
Upon successful creation, the Injector will inject instance fields and methods of the given object.
requestInjection(Object) - Method in class com.google.inject.PrivateModule
 
requestStaticInjection(Class<?>...) - Method in class com.google.inject.AbstractModule
 
requestStaticInjection(Class<?>...) - Method in interface com.google.inject.Binder
Upon successful creation, the Injector will inject static fields and methods in the given classes.
requestStaticInjection(Class<?>...) - Method in class com.google.inject.PrivateModule
 
requireBinding(Key<?>) - Method in class com.google.inject.AbstractModule
Adds a dependency from this module to key.
requireBinding(Class<?>) - Method in class com.google.inject.AbstractModule
Adds a dependency from this module to type.
requireBinding(Key<?>) - Method in class com.google.inject.PrivateModule
Instructs Guice to require a binding to the given key.
requireBinding(Class<?>) - Method in class com.google.inject.PrivateModule
Instructs Guice to require a binding to the given type.
requireExplicitBindings() - Method in interface com.google.inject.Binder
Instructs the Injector that bindings must be listed in a Module in order to be injected.
RequireExplicitBindingsOption - Class in com.google.inject.spi
A request to require explicit bindings.
reset() - Method in class com.google.inject.internal.util.Stopwatch
Resets and returns elapsed time in milliseconds.
resetAndLog(String) - Method in class com.google.inject.internal.util.Stopwatch
Resets and logs elapsed time in milliseconds.
resolveTypeVariable(Type, Class<?>, TypeVariable) - Static method in class com.google.inject.internal.MoreTypes
 
retainAll(Collection<?>) - Method in class com.google.inject.internal.util.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
returns(Matcher<? super Class<?>>) - Static method in class com.google.inject.matcher.Matchers
Returns a matcher which matches methods with matching return types.
run() - Method in class com.google.inject.internal.util.Finalizer
Loops continuously, pulling references off the queue and cleaning them up.

S

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_ALREADY_SET - Static variable in class com.google.inject.internal.AbstractBindingBuilder
 
ScopeAnnotation - Annotation Type in com.google.inject
Annotates annotations which are used for scoping.
scopeAnnotationOnAbstractType(Class<? extends Annotation>, Class<?>, Object) - Method in class com.google.inject.internal.Errors
 
ScopeBinding - Class in com.google.inject.spi
Registration of a scope annotation with the scope that implements it.
ScopedBindingBuilder - Interface in com.google.inject.binder
See the EDSL examples at Binder.
scopeNotFound(Class<? extends Annotation>) - Method in class com.google.inject.internal.Errors
 
Scopes - Class in com.google.inject
Built-in scope implementations.
Scoping - Class in com.google.inject.internal
References a scope, either directly (as a scope instance), or indirectly (as a scope annotation).
set(int, E) - Method in class com.google.inject.internal.util.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
setBinding(BindingImpl<T>) - Method in class com.google.inject.internal.AbstractBindingBuilder
 
setOf(Type) - Static method in class com.google.inject.util.Types
Returns a type modelling a Set whose elements are of type elementType.
Sets - Class in com.google.inject.internal.util
Static utility methods pertaining to Set instances.
setValue(V) - Method in class com.google.inject.internal.util.AbstractMapEntry
SINGLE_INSTANCE_AND_SCOPE - Static variable in class com.google.inject.internal.AbstractBindingBuilder
 
SINGLETON - Static variable in class com.google.inject.Scopes
One instance per Injector.
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
 
singletonIterator(T) - Static method in class com.google.inject.internal.util.Iterators
Returns an iterator containing only value.
size() - Method in class com.google.inject.internal.Errors
 
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
 
softKeys() - Method in class com.google.inject.internal.util.MapMaker
Specifies that each key (not value) stored in the map should be wrapped in a SoftReference (by default, strong references are used).
softValues() - Method in class com.google.inject.internal.util.MapMaker
Specifies that each value (not key) stored in the map should be wrapped in a SoftReference (by default, strong references are used).
SourceProvider - Class in com.google.inject.internal.util
Provides access to the calling line of code.
StackTraceElements - Class in com.google.inject.internal.util
Creates stack trace elements for members.
StackTraceElements() - Constructor for class com.google.inject.internal.util.StackTraceElements
 
stage(Stage) - Method in class com.google.inject.internal.InternalInjectorCreator
 
Stage - Enum in com.google.inject
The stage we're running in.
startFinalizer(Class<?>, Object) - Static method in class com.google.inject.internal.util.Finalizer
Starts the Finalizer thread.
StaticInjectionRequest - Class in com.google.inject.spi
A request to inject the static fields and methods of a type.
Stopwatch - Class in com.google.inject.internal.util
Enables simple performance monitoring.
Stopwatch() - Constructor for class com.google.inject.internal.util.Stopwatch
 
Strings - Class in com.google.inject.internal.util
String utilities.
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).
subList(int, int) - Method in class com.google.inject.internal.util.ImmutableList
Returns an immutable list of the elements between the specified fromIndex, inclusive, and toIndex, exclusive.
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.
supertypeOf(Type) - Static method in class com.google.inject.util.Types
Returns a type that represents an unknown supertype of bound.

T

throwConfigurationExceptionIfErrorsExist() - Method in class com.google.inject.internal.Errors
 
throwCreationExceptionIfErrorsExist() - Method in class com.google.inject.internal.Errors
 
throwIfNewErrors(int) - Method in class com.google.inject.internal.Errors
 
throwProvisionExceptionIfErrorsExist() - Method in class com.google.inject.internal.Errors
 
to(String) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(int) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(long) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(boolean) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(double) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(float) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(short) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(char) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(byte) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(Class<?>) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(E) - Method in interface com.google.inject.binder.ConstantBindingBuilder
Binds constant to the given value.
to(Class<? extends T>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
to(TypeLiteral<? extends T>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
to(Key<? extends T>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
to(Class<? extends T>) - Method in class com.google.inject.internal.BindingBuilder
 
to(TypeLiteral<? extends T>) - Method in class com.google.inject.internal.BindingBuilder
 
to(Key<? extends T>) - Method in class com.google.inject.internal.BindingBuilder
 
to(String) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(int) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(long) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(boolean) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(double) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(float) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(short) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(char) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(byte) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(Class<?>) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
to(E) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
toArray() - Method in class com.google.inject.internal.util.ImmutableCollection
 
toArray(T[]) - Method in class com.google.inject.internal.util.ImmutableCollection
 
toConstructor(Constructor<S>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
toConstructor(Constructor<S>, TypeLiteral<? extends S>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
toConstructor(Constructor<S>) - Method in class com.google.inject.internal.BindingBuilder
 
toConstructor(Constructor<S>, TypeLiteral<? extends S>) - Method in class com.google.inject.internal.BindingBuilder
 
toException() - Method in class com.google.inject.internal.Errors
 
toInstance(T) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
toInstance(T) - Method in class com.google.inject.internal.BindingBuilder
 
Toolable - Annotation Type in com.google.inject.spi
Instructs an Injector running in Stage.TOOL that a method should be injected.
tooManyConstructors(Class<?>) - Method in class com.google.inject.internal.Errors
 
toProvider(Provider<? extends T>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
toProvider(Class<? extends Provider<? extends T>>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
toProvider(TypeLiteral<? extends Provider<? extends T>>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
toProvider(Key<? extends Provider<? extends T>>) - Method in interface com.google.inject.binder.LinkedBindingBuilder
See the EDSL examples at Binder.
toProvider(Provider<? extends T>) - Method in class com.google.inject.internal.BindingBuilder
 
toProvider(Class<? extends Provider<? extends T>>) - Method in class com.google.inject.internal.BindingBuilder
 
toProvider(TypeLiteral<? extends Provider<? extends T>>) - Method in class com.google.inject.internal.BindingBuilder
 
toProvider(Key<? extends Provider<? extends T>>) - Method in class com.google.inject.internal.BindingBuilder
 
toString() - Method in class com.google.inject.internal.BindingBuilder
 
toString() - Method in class com.google.inject.internal.BindingImpl
 
toString() - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
 
toString() - Method in class com.google.inject.internal.ExposedBindingImpl
 
toString() - Method in class com.google.inject.internal.ExposureBuilder
 
toString() - Method in class com.google.inject.internal.LinkedBindingImpl
 
toString() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
 
toString() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
 
toString() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
 
toString() - Method in class com.google.inject.internal.PrivateElementsImpl
 
toString() - Method in class com.google.inject.internal.ProviderMethod
 
toString() - Method in class com.google.inject.internal.util.AbstractMapEntry
Returns a string representation of the form {key}={value}.
toString(Member) - Static method in class com.google.inject.internal.util.Classes
Formats a member as concise string, such as java.util.ArrayList.size, java.util.ArrayList<init>() or java.util.List.remove().
toString() - Method in class com.google.inject.internal.util.ImmutableCollection
 
toString() - Method in class com.google.inject.internal.util.ImmutableMap
 
toString() - Method in class com.google.inject.internal.util.ImmutableSet
 
toString(Iterable<?>) - Static method in class com.google.inject.internal.util.Iterables
Returns a string representation of iterable, with the format [e1, e2, ..., en].
toString(Iterator<?>) - Static method in class com.google.inject.internal.util.Iterators
Returns a string representation of iterator, with the format [e1, e2, ..., en].
toString() - Method in class com.google.inject.internal.util.ToStringBuilder
 
toString() - Method in class com.google.inject.Key
 
toString() - Method in interface com.google.inject.Scope
A short but useful description of this scope.
toString() - Method in class com.google.inject.spi.Dependency
 
toString() - Method in class com.google.inject.spi.InjectionPoint
 
toString() - Method in class com.google.inject.spi.Message
 
toString() - Method in class com.google.inject.spi.TypeConverterBinding
 
toString() - Method in class com.google.inject.TypeLiteral
 
ToStringBuilder - Class in com.google.inject.internal.util
Helps with toString() methods.
ToStringBuilder(Class) - Constructor for class com.google.inject.internal.util.ToStringBuilder
 
transform(Iterable<F>, Function<? super F, ? extends T>) - Static method in class com.google.inject.internal.util.Iterables
Returns an iterable that applies function to each element of fromIterable.
transform(Iterator<F>, Function<? super F, ? extends T>) - Static method in class com.google.inject.internal.util.Iterators
Returns an iterator that applies function to each element of fromIterator.
TypeConverter - Interface in com.google.inject.spi
Converts constant string values to a different type.
TypeConverterBinding - Class in com.google.inject.spi
Registration of type converters for matching target types.
TypeConverterBinding(Object, Matcher<? super TypeLiteral<?>>, TypeConverter) - Constructor for class com.google.inject.spi.TypeConverterBinding
 
TypeEncounter<I> - Interface in com.google.inject.spi
Context of an injectable type encounter.
TypeListener - Interface in com.google.inject.spi
Listens for Guice to encounter injectable types.
TypeListenerBinding - Class in com.google.inject.spi
Binds types (picked using a Matcher) to an type listener.
TypeLiteral<T> - Class in com.google.inject
Represents a generic type T.
TypeLiteral() - Constructor for class com.google.inject.TypeLiteral
Constructs a new type literal.
Types - Class in com.google.inject.util
Static methods for working with types.
typeToString(Type) - Static method in class com.google.inject.internal.MoreTypes
 

U

UniqueAnnotations - Class in com.google.inject.internal
 
UNKNOWN_SOURCE - Static variable in class com.google.inject.internal.util.SourceProvider
Indicates that the source is unknown.
unmodifiableIterator(Iterator<T>) - Static method in class com.google.inject.internal.util.Iterators
Returns an unmodifiable view of iterator.
UnmodifiableIterator<E> - Class in com.google.inject.internal.util
An iterator that does not support UnmodifiableIterator.remove().
UnmodifiableIterator() - Constructor for class com.google.inject.internal.util.UnmodifiableIterator
 
UNSCOPED - Static variable in class com.google.inject.internal.Scoping
No scoping annotation has been applied.
UntargettedBinding<T> - Interface in com.google.inject.spi
An untargetted binding.

V

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.Stage
Returns the enum constant of this type with the specified name.
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() - Method in class com.google.inject.internal.util.ImmutableMap
Returns an immutable collection of the values in this map.
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.
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(DisableCircularProxiesOption) - Method in class com.google.inject.spi.DefaultElementVisitor
 
visit(RequireExplicitBindingsOption) - 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 a collection of configuration elements for a private binder.
visit(TypeListenerBinding) - Method in interface com.google.inject.spi.ElementVisitor
Visit an injectable type 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.
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
 
visitNoScoping() - Method in interface com.google.inject.spi.BindingScopingVisitor
Visit an unspecified or unscoped strategy.
visitNoScoping() - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
 
visitOther() - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
Default visit implementation.
visitOther(Binding<? 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.
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 interface com.google.inject.spi.BindingScopingVisitor
Visit a scope annotation.
visitScopeAnnotation(Class<? extends Annotation>) - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
 
voidProviderMethod() - Method in class com.google.inject.internal.Errors
 

W

weakKeys() - Method in class com.google.inject.internal.util.MapMaker
Specifies that each key (not value) stored in the map should be wrapped in a WeakReference (by default, strong references are used).
weakValues() - Method in class com.google.inject.internal.util.MapMaker
Specifies that each value (not key) stored in the map should be wrapped in a WeakReference (by default, strong references are used).
with(Module...) - Method in interface com.google.inject.util.Modules.OverriddenModuleBuilder
See the EDSL example at override().
with(Iterable<? extends Module>) - Method in interface com.google.inject.util.Modules.OverriddenModuleBuilder
See the EDSL example at override().
withKey(Key<T>) - Method in class com.google.inject.internal.BindingImpl
 
withKey(Key<T>) - Method in class com.google.inject.internal.LinkedBindingImpl
 
withoutAttributes() - Method in class com.google.inject.Key
Returns this key without annotation attributes, i.e.
withPartialValue(Object) - Method in exception com.google.inject.ConfigurationException
Returns a copy of this configuration exception with the specified partial value.
withScoping(Scoping) - Method in class com.google.inject.internal.BindingImpl
 
withScoping(Scoping) - Method in class com.google.inject.internal.LinkedBindingImpl
 
withSource(Object) - Method in interface com.google.inject.Binder
Returns a binder that uses source as the reference location for configuration errors.
withSource(Object) - Method in class com.google.inject.internal.Errors
Returns an instance that uses source as a reference point for newly added errors.
withSource(Object) - Method in interface com.google.inject.PrivateBinder
 

A B C D E F G H I J K L M N O P R S T U V W

Copyright © 2006-2011 Google, Inc.. All Rights Reserved.