Uses of Class
com.google.inject.spi.InjectionPoint
Packages that use InjectionPoint
Package
Description
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar
.Guice (sounds like "juice")
Guice service provider interface
-
Uses of InjectionPoint in com.google.inject
Methods in com.google.inject that return types with arguments of type InjectionPointModifier and TypeMethodDescriptionMap
<TypeLiteral<?>, List<InjectionPoint>> Injector.getAllMembersInjectorInjectionPoints()
Returns the injection points created for calls toInjector.getMembersInjector(com.google.inject.TypeLiteral<T>)
(either directly or indirectly, e.g. -
Uses of InjectionPoint in com.google.inject.assistedinject
Methods in com.google.inject.assistedinject that return InjectionPointModifier and TypeMethodDescriptionprivate <T> InjectionPoint
FactoryProvider2.findMatchingConstructorInjectionPoint
(Method method, Key<?> returnType, TypeLiteral<T> implementation, List<Key<?>> paramList) Finds a constructor suitable for the method.Methods in com.google.inject.assistedinject with parameters of type InjectionPointModifier and TypeMethodDescriptionprivate Set
<Dependency<?>> FactoryProvider2.getDependencies
(InjectionPoint ctorPoint, TypeLiteral<?> implementation) Calculates all dependencies required by the implementation and constructor. -
Uses of InjectionPoint in com.google.inject.grapher
Fields in com.google.inject.grapher declared as InjectionPointModifier and TypeFieldDescriptionprivate final InjectionPoint
DependencyEdge.injectionPoint
Injection point to which this dependency belongs, or null if the dependency isn't attached to a particular injection point.Methods in com.google.inject.grapher that return InjectionPointConstructors in com.google.inject.grapher with parameters of type InjectionPointModifierConstructorDescriptionDependencyEdge
(NodeId fromId, NodeId toId, InjectionPoint injectionPoint) -
Uses of InjectionPoint in com.google.inject.internal
Fields in com.google.inject.internal declared as InjectionPointModifier and TypeFieldDescriptionprivate final InjectionPoint
ConstructorBindingImpl.constructorInjectionPoint
(package private) final InjectionPoint
DefaultConstructionProxyFactory.FastClassProxy.injectionPoint
private final InjectionPoint
DefaultConstructionProxyFactory.injectionPoint
(package private) final InjectionPoint
DefaultConstructionProxyFactory.ReflectiveProxy.injectionPoint
private final InjectionPoint
ProxyFactory.injectionPoint
(package private) final InjectionPoint
ProxyFactory.ProxyConstructor.injectionPoint
(package private) final InjectionPoint
SingleFieldInjector.injectionPoint
private final InjectionPoint
SingleMethodInjector.injectionPoint
Fields in com.google.inject.internal with type parameters of type InjectionPointModifier and TypeFieldDescriptionprivate final FailableCache
<InjectionPoint, ConstructorInjector<?>> ConstructorInjectorStore.cache
private final com.google.common.collect.ImmutableSet
<InjectionPoint> ConstructorInjector.injectableMembers
(package private) final com.google.common.collect.ImmutableSet
<InjectionPoint> InstanceBindingImpl.injectionPoints
(package private) final com.google.common.collect.ImmutableSet
<InjectionPoint> ProviderInstanceBindingImpl.injectionPoints
Methods in com.google.inject.internal that return InjectionPointModifier and TypeMethodDescriptionConstructorBindingImpl.getConstructor()
ConstructionProxy.getInjectionPoint()
Returns the injection point for this constructor.DefaultConstructionProxyFactory.FastClassProxy.getInjectionPoint()
DefaultConstructionProxyFactory.ReflectiveProxy.getInjectionPoint()
ProxyFactory.ProxyConstructor.getInjectionPoint()
SingleFieldInjector.getInjectionPoint()
SingleMemberInjector.getInjectionPoint()
SingleMethodInjector.getInjectionPoint()
(package private) InjectionPoint
ConstructorBindingImpl.getInternalConstructor()
Returns an injection point that can be used to clean up the constructor store.Methods in com.google.inject.internal that return types with arguments of type InjectionPointModifier and TypeMethodDescription(package private) com.google.common.collect.ImmutableListMultimap
<TypeLiteral<?>, InjectionPoint> MembersInjectorStore.getAllInjectionPoints()
Map
<TypeLiteral<?>, List<InjectionPoint>> InjectorImpl.getAllMembersInjectorInjectionPoints()
Map
<TypeLiteral<?>, List<InjectionPoint>> InternalInjectorCreator.ToolStageInjector.getAllMembersInjectorInjectionPoints()
ConstructorBindingImpl.getInjectableMembers()
com.google.common.collect.ImmutableSet
<InjectionPoint> ConstructorInjector.getInjectableMembers()
InstanceBindingImpl.getInjectionPoints()
com.google.common.collect.ImmutableSet
<InjectionPoint> MembersInjectorImpl.getInjectionPoints()
ProviderInstanceBindingImpl.getInjectionPoints()
Methods in com.google.inject.internal with parameters of type InjectionPointModifier and TypeMethodDescription(package private) static <T> ConstructorBindingImpl
<T> ConstructorBindingImpl.create
(InjectorImpl injector, Key<T> key, InjectionPoint constructorInjector, Object source, Scoping scoping, Errors errors, boolean failIfNotLinked, boolean atInjectRequired) private <T> ConstructorInjector
<T> ConstructorInjectorStore.createConstructor
(InjectionPoint injectionPoint, Errors errors) private void
SourceFormatter.formatInjectionPoint
(Dependency<?> dependency, InjectionPoint injectionPoint) ConstructorInjectorStore.get
(InjectionPoint constructorInjector, Errors errors) Returns a new complete constructor injector with injection listeners registered.<T> Key
<T> ProvidesMethodScanner.prepareMethod
(Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint) (package private) boolean
ConstructorInjectorStore.remove
(InjectionPoint ip) Purges an injection point from the cache.private void
InjectorImpl.removeFailedJitBinding
(Binding<?> binding, InjectionPoint ip) Cleans up any state that may have been cached when constructing the JIT binding.Method parameters in com.google.inject.internal with type arguments of type InjectionPointModifier and TypeMethodDescription(package private) com.google.common.collect.ImmutableList
<SingleMemberInjector> MembersInjectorStore.getInjectors
(Set<InjectionPoint> injectionPoints, Errors errors) Returns the injectors for the specified injection points.(package private) <T> Initializable
<T> Initializer.requestInjection
(InjectorImpl injector, T instance, Binding<T> binding, Object source, Set<InjectionPoint> injectionPoints) Registers an instance for member injection when that step is performed.Constructors in com.google.inject.internal with parameters of type InjectionPointModifierConstructorDescriptionprivate
ConstructorBindingImpl
(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> scopedFactory, Scoping scoping, ConstructorBindingImpl.Factory<T> factory, InjectionPoint constructorInjectionPoint) ConstructorBindingImpl
(Key<T> key, Object source, Scoping scoping, InjectionPoint constructorInjectionPoint, Set<InjectionPoint> injectionPoints) (package private)
DefaultConstructionProxyFactory
(InjectionPoint injectionPoint) (package private)
FastClassProxy
(InjectionPoint injectionPoint, Constructor<T> constructor, BiFunction<Object, Object[], Object> fastConstructor) (package private)
ProxyConstructor
(InjectionPoint injectionPoint, Function<String, BiFunction<Object, Object[], Object>> enhancer, com.google.common.collect.ImmutableMap<Method, List<org.aopalliance.intercept.MethodInterceptor>> interceptors, InvocationHandler[] callbacks) (package private)
ProxyFactory
(InjectionPoint injectionPoint, Iterable<MethodAspect> methodAspects) (package private)
ReflectiveProxy
(InjectionPoint injectionPoint, Constructor<T> constructor) SingleFieldInjector
(InjectorImpl injector, InjectionPoint injectionPoint, Errors errors) (package private)
SingleMethodInjector
(InjectorImpl injector, InjectionPoint injectionPoint, Errors errors) Constructor parameters in com.google.inject.internal with type arguments of type InjectionPointModifierConstructorDescriptionConstructorBindingImpl
(Key<T> key, Object source, Scoping scoping, InjectionPoint constructorInjectionPoint, Set<InjectionPoint> injectionPoints) (package private)
ConstructorInjector
(Set<InjectionPoint> injectableMembers, ConstructionProxy<T> constructionProxy, SingleParameterInjector<?>[] parameterInjectors, MembersInjectorImpl<T> membersInjector) InstanceBindingImpl
(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Set<InjectionPoint> injectionPoints, T instance) InstanceBindingImpl
(Object source, Key<T> key, Scoping scoping, Set<InjectionPoint> injectionPoints, T instance) ProviderInstanceBindingImpl
(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, javax.inject.Provider<? extends T> providerInstance, Set<InjectionPoint> injectionPoints) ProviderInstanceBindingImpl
(Object source, Key<T> key, Scoping scoping, Set<InjectionPoint> injectionPoints, javax.inject.Provider<? extends T> providerInstance) -
Uses of InjectionPoint in com.google.inject.spi
Fields in com.google.inject.spi declared as InjectionPointMethods in com.google.inject.spi that return InjectionPointModifier and TypeMethodDescriptionstatic <T> InjectionPoint
InjectionPoint.forConstructor
(Constructor<T> constructor) Returns a new injection point for the specified constructor.static <T> InjectionPoint
InjectionPoint.forConstructor
(Constructor<T> constructor, TypeLiteral<? extends T> type) Returns a new injection point for the specified constructor oftype
.static InjectionPoint
InjectionPoint.forConstructorOf
(TypeLiteral<?> type) Returns a new injection point for the injectable constructor oftype
.static InjectionPoint
InjectionPoint.forConstructorOf
(TypeLiteral<?> type, boolean atInjectRequired) Returns a new injection point for the injectable constructor oftype
.static InjectionPoint
InjectionPoint.forConstructorOf
(Class<?> type) Returns a new injection point for the injectable constructor oftype
.static <T> InjectionPoint
InjectionPoint.forMethod
(Method method, TypeLiteral<T> type) Returns a new injection point for the specified method oftype
.ConstructorBinding.getConstructor()
Gets the constructor this binding injects.Dependency.getInjectionPoint()
Returns the injection point to which this dependency belongs, or null if this dependency isn't attached to a particular injection point.(package private) InjectionPoint
InjectionPoint.InjectableField.toInjectionPoint()
(package private) abstract InjectionPoint
InjectionPoint.InjectableMember.toInjectionPoint()
(package private) InjectionPoint
InjectionPoint.InjectableMethod.toInjectionPoint()
Methods in com.google.inject.spi that return types with arguments of type InjectionPointModifier and TypeMethodDescriptionstatic Set
<InjectionPoint> InjectionPoint.forInstanceMethodsAndFields
(TypeLiteral<?> type) Returns all instance method and field injection points ontype
.static Set
<InjectionPoint> InjectionPoint.forInstanceMethodsAndFields
(Class<?> type) Returns all instance method and field injection points ontype
.static Set
<InjectionPoint> InjectionPoint.forStaticMethodsAndFields
(TypeLiteral<?> type) Returns all static method and field injection points ontype
.static Set
<InjectionPoint> InjectionPoint.forStaticMethodsAndFields
(Class<?> type) Returns all static method and field injection points ontype
.ConstructorBinding.getInjectableMembers()
Returns all instance method and field injection points ontype
.private static Set
<InjectionPoint> InjectionPoint.getInjectionPoints
(TypeLiteral<?> type, boolean statics, Errors errors) Returns an ordered, immutable set of injection points for the given type.InjectionRequest.getInjectionPoints()
Returns the instance methods and fields ofinstance
that will be injected to fulfill this request.InstanceBinding.getInjectionPoints()
Returns the field and method injection points of the instance, injected at injector-creation time only.MembersInjectorLookup.getInjectionPoints()
Returns the instance methods and fields that will be injected to fulfill this request.ProviderInstanceBinding.getInjectionPoints()
Returns the field and method injection points of the provider, injected at injector-creation time only.StaticInjectionRequest.getInjectionPoints()
Returns the static methods and fields oftype
that will be injected to fulfill this request.Methods in com.google.inject.spi with parameters of type InjectionPointModifier and TypeMethodDescriptionabstract <T> Key
<T> ModuleAnnotatedMethodScanner.prepareMethod
(Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint) Prepares a method for binding.Method parameters in com.google.inject.spi with type arguments of type InjectionPointModifier and TypeMethodDescriptionstatic Set
<Dependency<?>> Dependency.forInjectionPoints
(Set<InjectionPoint> injectionPoints) Returns the dependencies from the given injection points.Constructors in com.google.inject.spi with parameters of type InjectionPointModifierConstructorDescription(package private)
Dependency
(InjectionPoint injectionPoint, Key<T> key, boolean nullable, int parameterIndex)