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 TypeInterfaceDescriptioninterfaceBinding<T>A mapping from aKeyto 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 TypeClassDescriptionclassBindingImpl<T>(package private) final class(package private) final classprivate static classprivate static classA framework-created JIT Providerbinding. (package private) final class(package private) final classAProviderInstanceBindingImplfor implementing 'native' guice extensions.(package private) final class(package private) final classfinal class(package private) class(package private) final classFields in com.google.inject.internal with type parameters of type ElementModifier and TypeFieldDescriptionAbstractBindingBuilder.elementsThe list of elements stored inside theAbstractBindingBuilder.binder.InjectorShell.Builder.elementsInjectorShell.elementsprivate com.google.common.collect.ImmutableList<Element> PrivateElementsImpl.elementslazily instantiatedPrivateElementsImpl.elementsMutableDeferredLookups.lookupsMethods 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 booleanRealMapBinder.BindingSelection.containsElement(Element element) booleanRealMapBinder.ExtensionRealMapProvider.containsElement(Element element) (package private) booleanRealMultibinder.BindingSelection.containsElement(Element element) (package private) booleanRealMultibinder.containsElement(Element element) booleanRealMultibinder.ExtensionRealMultibinderProvider.containsElement(Element element) (package private) booleanRealOptionalBinder.BindingSelection.containsElement(Element element) Implementation ofOptionalBinderBinding.containsElement(com.google.inject.spi.Element).booleanRealOptionalBinder.JavaOptionalProvider.containsElement(Element element) booleanRealOptionalBinder.RealOptionalKeyProvider.containsElement(Element element) protected BooleanAbstractProcessor.visitOther(Element element) Method parameters in com.google.inject.internal with type arguments of type ElementModifier and TypeMethodDescriptionRealMapBinder.ExtensionRealMapProvider.getEntries(Iterable<? extends Element> elements) voidAbstractProcessor.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) privateInjectorShell(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 TypeMethodDescriptionbooleanMapBinderBinding.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.booleanMultibinderBinding.containsElement(Element element) Returns true if this Multibinder uses the given Element.booleanOptionalBinderBinding.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 TypeInterfaceDescriptioninterfaceA binding to the constructor of a concrete clss.interfaceA binding created from converting a bound instance to a new type.interfaceA binding to a key exposed from an enclosed private environment.interfaceA binding to a single instance.interfaceA binding to a linked key.interfaceA private collection of elements that are hidden from the enclosing injector or module by default.interfaceProviderBinding<T extends Provider<?>>A binding to aProviderthat delegates to the binding for the provided type.interfaceA binding to a provider instance.interfaceA binding to a provider key.interfaceAn untargetted binding.Classes in com.google.inject.spi that implement ElementModifier and TypeClassDescriptionfinal classA request to disable circular proxies.final classA request to inject the instance fields and methods of an instance.final classRegistration of interceptors for matching methods of matching classes.final classA lookup of the members injector for a type.final classAn error message and the context in which it occured.final classRepresents a call toBinder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)in a module.final classA lookup of the provider for a type.final classBinds keys (picked using a Matcher) to a provision listener.final classA request to require explicit @Injectannotations on constructors.final classA request to require exact binding annotations.final classA request to require explicit bindings.final classRegistration of a scope annotation with the scope that implements it.final classA request to inject the static fields and methods of a type.final classRegistration of type converters for matching target types.final classBinds types (picked using a Matcher) to an type listener.Fields in com.google.inject.spi with type parameters of type ElementModifier and TypeFieldDescriptionElements.ElementsAsModule.elementsElements.RecordingBinder.elementsMethods 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 voidprotected VDefaultElementVisitor.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 ModuleReturns 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 VoidModules.ModuleWriter.visitOther(Element element) Method parameters in com.google.inject.util with type arguments of type Element