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
-
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 ElementFields in com.google.inject.internal with type parameters of type ElementModifier and TypeFieldDescriptionAbstractBindingBuilder.elementsThe list of elements stored inside theAbstractBindingBuilder.binder.Methods in com.google.inject.internal that return types with arguments of type ElementModifier and TypeMethodDescriptionPrivateElementsImpl.getElements()PrivateElementsImpl.getElementsMutable()Constructor parameters in com.google.inject.internal with type arguments of type Element -
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 class.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 occurred.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.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 TypeMethodDescriptionprotected 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.static ModuleReturns the module composed ofelements.