Uses of Interface
com.google.inject.spi.Element
Packages that use Element
Package
Description
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
Guice (sounds like "juice")
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar
.Guice service provider interface
Helper methods for working with Guice.
-
Uses of Element in com.google.inject
Subinterfaces of Element in com.google.injectModifier and TypeInterfaceDescriptioninterface
Binding<T>
A mapping from aKey
to the strategy for getting instances of the type.Methods in com.google.inject that return types with arguments of type ElementModifier and TypeMethodDescriptionInjector.getElements()
Returns the elements that make up this injector. -
Uses of Element in com.google.inject.internal
Classes in com.google.inject.internal that implement ElementModifier and TypeClassDescriptionclass
BindingImpl<T>
(package private) final class
(package private) final class
private static class
private static class
A framework-created JIT Providerbinding. (package private) final class
(package private) final class
AProviderInstanceBindingImpl
for implementing 'native' guice extensions.(package private) final class
(package private) final class
final class
(package private) class
(package private) final class
Fields in com.google.inject.internal with type parameters of type ElementModifier and TypeFieldDescriptionAbstractBindingBuilder.elements
The list of elements stored inside theAbstractBindingBuilder.binder
.InjectorShell.Builder.elements
InjectorShell.elements
private com.google.common.collect.ImmutableList<Element>
PrivateElementsImpl.elements
lazily instantiatedPrivateElementsImpl.elementsMutable
DeferredLookups.lookups
Methods in com.google.inject.internal that return types with arguments of type ElementModifier and TypeMethodDescriptionInjectorImpl.getElements()
InjectorShell.getElements()
InternalInjectorCreator.ToolStageInjector.getElements()
PrivateElementsImpl.getElements()
PrivateElementsImpl.getElementsMutable()
Methods in com.google.inject.internal with parameters of type ElementModifier and TypeMethodDescriptionprivate boolean
RealMapBinder.BindingSelection.containsElement
(Element element) boolean
RealMapBinder.ExtensionRealMapProvider.containsElement
(Element element) (package private) boolean
RealMultibinder.BindingSelection.containsElement
(Element element) (package private) boolean
RealMultibinder.containsElement
(Element element) boolean
RealMultibinder.ExtensionRealMultibinderProvider.containsElement
(Element element) (package private) boolean
RealOptionalBinder.BindingSelection.containsElement
(Element element) Implementation ofOptionalBinderBinding.containsElement(com.google.inject.spi.Element)
.boolean
RealOptionalBinder.JavaOptionalProvider.containsElement
(Element element) boolean
RealOptionalBinder.RealOptionalKeyProvider.containsElement
(Element element) protected Boolean
AbstractProcessor.visitOther
(Element element) Method parameters in com.google.inject.internal with type arguments of type ElementModifier and TypeMethodDescriptionRealMapBinder.ExtensionRealMapProvider.getEntries
(Iterable<? extends Element> elements) void
AbstractProcessor.process
(InjectorImpl injector, List<Element> elements) Constructor parameters in com.google.inject.internal with type arguments of type ElementModifierConstructorDescriptionConstantBindingBuilderImpl
(Binder binder, List<Element> elements, Object source) private
InjectorShell
(List<Element> elements, InjectorImpl injector) -
Uses of Element in com.google.inject.multibindings
Methods in com.google.inject.multibindings with parameters of type ElementModifier and TypeMethodDescriptionboolean
MapBinderBinding.containsElement
(Element element) 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.boolean
MultibinderBinding.containsElement
(Element element) Returns true if this Multibinder uses the given Element.boolean
OptionalBinderBinding.containsElement
(Element element) 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.Method parameters in com.google.inject.multibindings with type arguments of type ElementModifier and TypeMethodDescriptionMapBinderBinding.getEntries
(Iterable<? extends Element> elements) Similar toMapBinderBinding.getEntries()
, but can be used on a MapBinderBinding retrieved fromElements.getElements(com.google.inject.Module...)
. -
Uses of Element in com.google.inject.spi
Subinterfaces of Element in com.google.inject.spiModifier and TypeInterfaceDescriptioninterface
A binding to the constructor of a concrete clss.interface
A binding created from converting a bound instance to a new type.interface
A binding to a key exposed from an enclosed private environment.interface
A binding to a single instance.interface
A binding to a linked key.interface
A private collection of elements that are hidden from the enclosing injector or module by default.interface
ProviderBinding<T extends Provider<?>>
A binding to aProvider
that delegates to the binding for the provided type.interface
A binding to a provider instance.interface
A binding to a provider key.interface
An untargetted binding.Classes in com.google.inject.spi that implement ElementModifier and TypeClassDescriptionfinal class
A request to disable circular proxies.final class
A request to inject the instance fields and methods of an instance.final class
Registration of interceptors for matching methods of matching classes.final class
A lookup of the members injector for a type.final class
An error message and the context in which it occured.final class
Represents a call toBinder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)
in a module.final class
A lookup of the provider for a type.final class
Binds keys (picked using a Matcher) to a provision listener.final class
A request to require explicit @Inject
annotations on constructors.final class
A request to require exact binding annotations.final class
A request to require explicit bindings.final class
Registration of a scope annotation with the scope that implements it.final class
A request to inject the static fields and methods of a type.final class
Registration of type converters for matching target types.final class
Binds types (picked using a Matcher) to an type listener.Fields in com.google.inject.spi with type parameters of type ElementModifier and TypeFieldDescriptionElements.ElementsAsModule.elements
Elements.RecordingBinder.elements
Methods in com.google.inject.spi that return types with arguments of type ElementModifier and TypeMethodDescriptionElements.getElements
(Module... modules) Records the elements executed bymodules
.Elements.getElements
(Stage stage, Module... modules) Records the elements executed bymodules
.Elements.getElements
(Stage stage, Iterable<? extends Module> modules) Records the elements executed bymodules
.Elements.getElements
(Iterable<? extends Module> modules) Records the elements executed bymodules
.PrivateElements.getElements()
Returns the configuration information in this private environment.Methods in com.google.inject.spi with parameters of type ElementModifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableList<Message>
private static void
protected V
DefaultElementVisitor.visitOther
(Element element) Default visit implementation.Method parameters in com.google.inject.spi with type arguments of type ElementModifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<Message>
BindingSourceRestriction.check
(GuiceInternal guiceInternal, List<Element> elements) Returns all the restriction violations found on the given Module Elements, as error messages.private static com.google.common.collect.ImmutableList<Message>
static Module
Returns the module composed ofelements
.Constructor parameters in com.google.inject.spi with type arguments of type ElementModifierConstructorDescription(package private)
ElementsAsModule
(Iterable<? extends Element> elements) -
Uses of Element in com.google.inject.util
Methods in com.google.inject.util with parameters of type ElementModifier and TypeMethodDescriptionprotected Void
Modules.ModuleWriter.visitOther
(Element element) Method parameters in com.google.inject.util with type arguments of type Element