- cannotBindToGuiceType(String) - Method in class com.google.inject.internal.Errors
-
- cannotInjectAbstractMethod(Method) - Method in class com.google.inject.internal.Errors
-
- cannotInjectFinalField(Field) - Method in class com.google.inject.internal.Errors
-
- cannotInjectInnerClass(Class<?>) - Method in class com.google.inject.internal.Errors
-
- cannotInjectMethodWithTypeParameters(Method) - Method in class com.google.inject.internal.Errors
-
- cannotInjectNonVoidMethod(Method) - Method in class com.google.inject.internal.Errors
-
- cannotInjectRawMembersInjector() - Method in class com.google.inject.internal.Errors
-
- cannotInjectRawProvider() - Method in class com.google.inject.internal.Errors
-
- cannotInjectRawTypeLiteral() - Method in class com.google.inject.internal.Errors
-
- cannotInjectTypeLiteralOf(Type) - Method in class com.google.inject.internal.Errors
-
- cannotProxyClass(Class<?>) - Static method in exception com.google.inject.internal.InternalProvisionException
-
- canonicalize(Type) - Static method in class com.google.inject.internal.MoreTypes
-
Returns a type that is functionally equal but not necessarily equal according to
Object.equals()
.
- canonicalizeForKey(TypeLiteral<T>) - Static method in class com.google.inject.internal.MoreTypes
-
Returns an type that's appropriate for use in a key.
- canonicalizeIfNamed(Annotation) - Static method in class com.google.inject.internal.Annotations
-
If the annotation is an instance of javax.inject.Named
, canonicalizes to
com.google.guice.name.Named.
- canonicalizeIfNamed(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
If the annotation is the class javax.inject.Named
, canonicalizes to
com.google.guice.name.Named.
- canonicalizeKey(Key<T>) - Static method in class com.google.inject.internal.MoreTypes
-
Returns a key that doesn't hold any references to parent classes.
- checkForMisplacedScopeAnnotations(Class<?>, Object, Errors) - Static method in class com.google.inject.internal.Annotations
-
Adds an error if there is a misplaced annotations on type
.
- checkNotAnnotated() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- checkNotAnnotated() - Method in class com.google.inject.internal.ExposureBuilder
-
- checkNotScoped() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- checkNotTargetted() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- childBindingAlreadySet(Key<?>, Set<Object>) - Method in class com.google.inject.internal.Errors
-
- circularDependenciesDisabled(Class<?>) - Static method in exception com.google.inject.internal.InternalProvisionException
-
- CircularDependencyProxy - Interface in com.google.inject.internal
-
- Classes - Class in com.google.inject.internal.util
-
Class utilities.
- Classes() - Constructor for class com.google.inject.internal.util.Classes
-
- ClassMapKey - Annotation Type in com.google.inject.multibindings
-
- clearCache() - Static method in class com.google.inject.internal.util.StackTraceElements
-
- collectionOf(Type) - Static method in class com.google.inject.util.Types
-
Returns a type modelling a
Collection
whose elements are of type
elementType
.
- 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 "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.multibindings - package com.google.inject.multibindings
-
Extension for binding multiple instances in a collection; this extension requires guice-multibindings.jar
.
- com.google.inject.name - package com.google.inject.name
-
Support for binding to string-based names.
- com.google.inject.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
.
- 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 class com.google.inject.internal.RealMapBinder
-
- configure(Binder) - Method in class com.google.inject.internal.RealMultibinder
-
- configure(Binder) - Method in class com.google.inject.internal.RealOptionalBinder
-
- configure(Binder) - Method in interface com.google.inject.Module
-
Contributes bindings and other configurations for this module to binder
.
- configure(Binder) - Method in class com.google.inject.PrivateModule
-
- configure() - 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
-
- containsElement(Element) - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns true if this MapBinder contains the given Element in order to build the map or uses the
given Element in order to support building and injecting the map.
- containsElement(Element) - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns true if this Multibinder uses the given Element.
- containsElement(Element) - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
Returns true if this OptionalBinder contains the given Element in order to build the optional
binding or uses the given Element in order to support building and injecting its data.
- conversionError(String, Object, TypeLiteral<?>, TypeConverterBinding, RuntimeException) - Method in class com.google.inject.internal.Errors
-
- conversionTypeError(String, Object, TypeLiteral<?>, TypeConverterBinding, Object) - Method in class com.google.inject.internal.Errors
-
- convert(Object) - Static method in class com.google.inject.internal.Errors
-
- convert(Object, ElementSource) - Static method in class com.google.inject.internal.Errors
-
- convert(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
-
- convertToInMemoryStackTraceElement(StackTraceElement[]) - Static method in class com.google.inject.internal.util.StackTraceElements
-
- convertToStackTraceElement(StackTraceElements.InMemoryStackTraceElement[]) - Static method in class com.google.inject.internal.util.StackTraceElements
-
- convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in class com.google.inject.AbstractModule
-
- convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in interface com.google.inject.Binder
-
Binds a type converter.
- convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in class com.google.inject.PrivateModule
-
- create(K, Errors) - Method in class com.google.inject.internal.FailableCache
-
- create(String, Object...) - Static method in exception com.google.inject.internal.InternalProvisionException
-
- create(String, Object...) - Static method in class com.google.inject.internal.Messages
-
Creates a new Message without a cause.
- create(Throwable, String, Object...) - Static method in class com.google.inject.internal.Messages
-
Creates a new Message with the given cause.
- create(Throwable, List<Object>, String, Object...) - Static method in class com.google.inject.internal.Messages
-
Creates a new Message with the given cause and a binding source stack.
- create() - Static method in class com.google.inject.internal.UniqueAnnotations
-
Returns an annotation instance that is not equal to any other annotation instances, for use in
creating distinct
Key
s.
- 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
-
- generateAnnotation(Class<T>) - Static method in class com.google.inject.internal.Annotations
-
Generates an Annotation for the annotation class.
- get(K, Errors) - Method in class com.google.inject.internal.FailableCache
-
- get(StackTraceElement[]) - 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.
- getActualBinding() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
- 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.internal.ProviderMethod
-
- getAnnotation() - Method in class com.google.inject.Key
-
Gets the annotation.
- getAnnotation() - Method in interface com.google.inject.spi.ProvidesMethodBinding
-
Returns the annotation that caused this binding to be created.
- 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
-
- getBinding() - Method in class com.google.inject.spi.ProvisionListener.ProvisionInvocation
-
Returns the Binding this is provisioning.
- getBindingMatcher() - Method in class com.google.inject.spi.ProvisionListenerBinding
-
Returns the binding matcher which chooses which bindings the listener should be notified of.
- getBindings() - Method in interface com.google.inject.Injector
-
Returns this injector's explicit bindings.
- getBindingSource() - Method in class com.google.inject.spi.DependencyAndSource
-
Deprecated.
Returns a string describing where this dependency was bound.
- 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.
- getCustomClassLoadingOption() - Static method in class com.google.inject.internal.InternalFlags
-
- getDeclaringSource() - Method in class com.google.inject.spi.ElementSource
-
Returns a single location in source code that defines the element.
- getDeclaringType() - Method in class com.google.inject.spi.InjectionPoint
-
Returns the generic type that defines this injection point.
- getDefaultBinding() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
-
- getDelegate() - Method in class com.google.inject.spi.MembersInjectorLookup
-
Returns the delegate members injector, or null
if it has not yet been initialized.
- getDelegate() - Method in class com.google.inject.spi.ProviderLookup
-
Returns the delegate provider, or null
if it has not yet been initialized.
- getDelegateModule() - Method in class com.google.inject.internal.ProviderMethodsModule
-
- getDependencies() - Method in 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.
- getDependency() - Method in class com.google.inject.spi.DependencyAndSource
-
Deprecated.
Returns the Dependency, if one exists.
- getDependency() - Method in class com.google.inject.spi.ProviderLookup
-
- getDependencyChain() - Method in class com.google.inject.spi.ProvisionListener.ProvisionInvocation
-
Deprecated.
This method is planned for removal in Guice 4.4. Some use cases can be replaced
by inferring the current chain via ThreadLocals in the listener, other use cases can use
the static dependency graph. For example,
bindListener(Matchers.any(), new MyListener());
...
private static final class MyListener implements ProvisionListener {
private final ThreadLocal<ArrayDeque<Binding<?>>> bindingStack =
new ThreadLocal<ArrayDeque<Binding<?>>>() {
{@literal @}Override protected ArrayDeque<Binding<?>> initialValue() {
return new ArrayDeque<>();
}
};
{@literal @}Override public <T> void onProvision(ProvisionInvocation<T> invocation) {
bindingStack.get().push(invocation.getBinding());
try {
invocation.provision();
} finally {
bindingStack.get().pop();
}
// Inspect the binding stack...
}
}
In this example the bindingStack thread local will contain a data structure that is very
similar to the data returned by this list. The main differences are that linked keys are
not in the stack, but such edges do exist in the static dependency graph (inspectable via
HasDependencies.getDependencies()
), so you could infer some of the missing edges..
- getElements() - Method in class com.google.inject.internal.PrivateElementsImpl
-
- getElements() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns all bindings that make up the set.
- getElements(Module...) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by modules
.
- getElements(Stage, Module...) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by modules
.
- getElements(Iterable<? extends Module>) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by modules
.
- getElements(Stage, Iterable<? extends Module>) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by modules
.
- getElements() - Method in interface com.google.inject.spi.PrivateElements
-
Returns the configuration information in this private environment.
- getElementsMutable() - Method in class com.google.inject.internal.PrivateElementsImpl
-
- getElementTypeLiteral() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns the TypeLiteral that describes the type of elements in the set.
- getEnclosingInstance() - Method in class com.google.inject.internal.ProviderMethod
-
- getEnclosingInstance() - Method in interface com.google.inject.spi.ProvidesMethodBinding
-
Returns the instance of the object the method is defined in.
- getEntries() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns all entries in the Map.
- getEntries(Iterable<? extends Element>) - Method in interface com.google.inject.multibindings.MapBinderBinding
-
- 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
.
- getFromClassNames(List<String>) - Method in class com.google.inject.internal.util.SourceProvider
-
Returns the non-skipped module class name.
- getGenericComponentType() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
-
- getGenericSupertype(Type, Class<?>, Class<?>) - Static method in class com.google.inject.internal.MoreTypes
-
Returns the generic supertype for type
.
- getIncludeStackTraceOption() - Static method in class com.google.inject.internal.InternalFlags
-
- 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 interface com.google.inject.multibindings.OptionalBinderBinding
-
Returns the
Key
for this binding.
- getKey() - Method in class com.google.inject.spi.Dependency
-
Returns the key to the binding that satisfies this dependency.
- getKey() - Method in class com.google.inject.spi.ProviderLookup
-
- getKey() - Method in interface com.google.inject.spi.ProvidesMethodBinding
-
Returns the key of the binding.
- getKeyTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the TypeLiteral describing the keys of the map.
- 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.
- getListeners() - Method in class com.google.inject.spi.ProvisionListenerBinding
-
Returns the registered listeners.
- getLowerBounds() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- getMapKey() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the
Key
for the map.
- getMember() - Method in class com.google.inject.spi.InjectionPoint
-
Returns the injected constructor, field, or method.
- 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
-
- getMethod() - Method in interface com.google.inject.spi.ProvidesMethodBinding
-
Returns the method this binding uses.
- 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
.
- getModuleClassNames() - Method in class com.google.inject.spi.ElementSource
-
Returns the class names of modules involved in creating this
Element
.
- getModuleConfigurePositionsInStackTrace() - Method in class com.google.inject.spi.ElementSource
-
- getNullableProvidesOption() - Static method in class com.google.inject.internal.InternalFlags
-
- getOnlyCause(Collection<Message>) - Static method in class com.google.inject.internal.Messages
-
Returns the cause throwable if there is exactly one cause in messages
.
- getOriginalElementSource() - Method in class com.google.inject.spi.ElementSource
-
Returns the
ElementSource
of the element this was created or copied from.
- 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
-
- getProvider(Key<T>) - Method in class com.google.inject.AbstractModule
-
- getProvider(Class<T>) - Method in class com.google.inject.AbstractModule
-
- getProvider(Key<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Dependency<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Class<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection type.
- getProvider() - Method in interface com.google.inject.Binding
-
Returns the scoped provider guice uses to fulfill requests for this binding.
- getProvider(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the provider used to obtain instances for the given type.
- getProvider() - Method in class com.google.inject.internal.BindingImpl
-
- getProvider(Key<T>) - Method in class com.google.inject.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
-
- 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
.
- getScanner() - Method in class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding
-
- 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
-
- getSetKey() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns the key for the set.
- 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.ModuleAnnotatedMethodScannerBinding
-
- getSource() - Method in class com.google.inject.spi.ProviderLookup
-
- getSource() - Method in class com.google.inject.spi.ProvisionListenerBinding
-
- getSource() - Method in class com.google.inject.spi.RequireAtInjectOnConstructorsOption
-
- getSource() - Method in class com.google.inject.spi.RequireExactBindingAnnotationsOption
-
- getSource() - Method in class com.google.inject.spi.RequireExplicitBindingsOption
-
- getSource() - Method in class com.google.inject.spi.ScopeBinding
-
- getSource() - Method in class com.google.inject.spi.StaticInjectionRequest
-
- getSource() - Method in class com.google.inject.spi.TypeConverterBinding
-
- getSource() - Method in class com.google.inject.spi.TypeListenerBinding
-
- getSourceKey() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns the key for the source binding.
- getSources() - Method in class com.google.inject.spi.Message
-
- getStackTrace() - Method in class com.google.inject.spi.ElementSource
-
Returns the sequence of method calls that ends at one of
Binder
bindXXX()
methods and eventually defines the element.
- 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
-
- getUserSuppliedProvider() - Method in interface com.google.inject.spi.ProviderInstanceBinding
-
Returns the user-supplied, unscoped provider.
- getValue() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns the converted value.
- getValueTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the TypeLiteral describing the values of the map.
- 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
.
- identicalTo(Object) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches only the given object.
- 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
-
- 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
-
- instance - Variable in class com.google.inject.internal.ProviderMethod
-
- 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.
- InternalFlags - Class in com.google.inject.internal
-
Contains flags for Guice.
- InternalFlags() - Constructor for class com.google.inject.internal.InternalFlags
-
- InternalFlags.CustomClassLoadingOption - Enum in com.google.inject.internal
-
The options for Guice custom class loading.
- InternalFlags.IncludeStackTraceOption - Enum in com.google.inject.internal
-
The options for Guice stack trace collection.
- InternalFlags.NullableProvidesOption - Enum in com.google.inject.internal
-
- InternalInjectorCreator - Class in com.google.inject.internal
-
Builds a tree of injectors.
- InternalInjectorCreator() - Constructor for class com.google.inject.internal.InternalInjectorCreator
-
- InternalProvisionException - Exception in com.google.inject.internal
-
A checked exception for provisioning errors.
- isAllDefaultMethods(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
- isBindingAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
Returns true if annotations of the specified type are binding annotations.
- isCircularProxy(Object) - Static method in class com.google.inject.Scopes
-
Returns true if the object is a proxy for a circular dependency, constructed by Guice because
it encountered a circular dependency.
- 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
.
- 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
-
- isScoped(Binding<?>, Scope, Class<? extends Annotation>) - Static method in class com.google.inject.Scopes
-
Returns true if binding
has the given scope.
- isSingleton(Binding<?>) - Static method in class com.google.inject.Scopes
-
Returns true if binding
is singleton-scoped.
- isToolable() - Method in class com.google.inject.spi.InjectionPoint
-
Returns true if the element is annotated with @
Toolable
.
- valueOf(String) - Static method in enum com.google.inject.internal.BytecodeGen.Visibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.InternalFlags.IncludeStackTraceOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.InternalFlags.NullableProvidesOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.multibindings.ProvidesIntoOptional.Type
-
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() - Static method in enum com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.internal.InternalFlags.IncludeStackTraceOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.internal.InternalFlags.NullableProvidesOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.multibindings.ProvidesIntoOptional.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.Stage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- visit(MultibinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
- visit(MapBinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
- visit(OptionalBinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
- visit(InstanceBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a instance binding.
- visit(ProviderInstanceBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a provider instance binding.
- visit(ProviderKeyBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a provider key binding.
- visit(LinkedKeyBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a linked key binding.
- visit(ExposedBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a binding to a key exposed from an enclosed private environment.
- visit(UntargettedBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit an untargetted binding.
- visit(ConstructorBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a constructor binding.
- visit(ConvertedConstantBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a binding created from converting a bound instance to a new type.
- visit(ProviderBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a binding to a
Provider
that delegates to the binding for the
provided type.
- visit(InstanceBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ProviderInstanceBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ProviderKeyBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(LinkedKeyBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ExposedBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(UntargettedBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ConstructorBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ConvertedConstantBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ProviderBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(Message) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(Binding<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(InterceptorBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ScopeBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(TypeConverterBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ProviderLookup<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(InjectionRequest<?>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(StaticInjectionRequest) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(PrivateElements) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(MembersInjectorLookup<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(TypeListenerBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ProvisionListenerBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(DisableCircularProxiesOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(RequireExplicitBindingsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(RequireAtInjectOnConstructorsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(RequireExactBindingAnnotationsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ModuleAnnotatedMethodScannerBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(Binding<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a mapping from a key (type and optional annotation) to the strategy for getting instances
of the type.
- visit(InterceptorBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of interceptors for matching methods of matching classes.
- visit(ScopeBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of a scope annotation with the scope that implements it.
- visit(TypeConverterBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of type converters for matching target types.
- visit(InjectionRequest<?>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a request to inject the instance fields and methods of an instance.
- visit(StaticInjectionRequest) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a request to inject the static fields and methods of type.
- visit(ProviderLookup<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a lookup of the provider for a type.
- visit(MembersInjectorLookup<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a lookup of the members injector.
- visit(Message) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit an error message and the context in which it occured.
- visit(PrivateElements) - Method in interface com.google.inject.spi.ElementVisitor
-
- visit(TypeListenerBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit an injectable type listener binding.
- visit(ProvisionListenerBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a provision listener binding.
- visit(RequireExplicitBindingsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require explicit bindings command.
- visit(DisableCircularProxiesOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a disable circular proxies command.
- visit(RequireAtInjectOnConstructorsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require explicit @
Inject
command.
- visit(RequireExactBindingAnnotationsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require exact binding annotations command.
- visit(ModuleAnnotatedMethodScannerBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
- visit(ProvidesMethodBinding<? extends T>) - Method in interface com.google.inject.spi.ProvidesMethodTargetVisitor
-
- 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
-