Uses of Class
com.google.inject.spi.InjectionPoint
-
Packages that use InjectionPoint Package Description com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.com.google.inject.assistedinject Extension for combining factory interfaces with injection; this extension requiresguice-assistedinject.jar
.com.google.inject.grapher com.google.inject.internal Guice (sounds like "juice")com.google.inject.spi Guice service provider interface -
-
Uses of InjectionPoint in com.google.inject
Methods in com.google.inject that return types with arguments of type InjectionPoint Modifier and Type Method Description java.util.Map<TypeLiteral<?>,java.util.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 InjectionPoint Modifier and Type Method Description private <T> InjectionPoint
FactoryProvider2. findMatchingConstructorInjectionPoint(java.lang.reflect.Method method, Key<?> returnType, TypeLiteral<T> implementation, java.util.List<Key<?>> paramList)
Finds a constructor suitable for the method.Methods in com.google.inject.assistedinject with parameters of type InjectionPoint Modifier and Type Method Description private java.util.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 InjectionPoint Modifier and Type Field Description private 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 InjectionPoint Modifier and Type Method Description InjectionPoint
DependencyEdge. getInjectionPoint()
Constructors in com.google.inject.grapher with parameters of type InjectionPoint Constructor Description DependencyEdge(NodeId fromId, NodeId toId, InjectionPoint injectionPoint)
-
Uses of InjectionPoint in com.google.inject.internal
Fields in com.google.inject.internal declared as InjectionPoint Modifier and Type Field Description private InjectionPoint
ConstructorBindingImpl. constructorInjectionPoint
(package private) InjectionPoint
DefaultConstructionProxyFactory.FastClassProxy. injectionPoint
private InjectionPoint
DefaultConstructionProxyFactory. injectionPoint
(package private) InjectionPoint
DefaultConstructionProxyFactory.ReflectiveProxy. injectionPoint
private InjectionPoint
ProxyFactory. injectionPoint
(package private) InjectionPoint
ProxyFactory.ProxyConstructor. injectionPoint
(package private) InjectionPoint
SingleFieldInjector. injectionPoint
private InjectionPoint
SingleMethodInjector. injectionPoint
Fields in com.google.inject.internal with type parameters of type InjectionPoint Modifier and Type Field Description private FailableCache<InjectionPoint,ConstructorInjector<?>>
ConstructorInjectorStore. cache
private com.google.common.collect.ImmutableSet<InjectionPoint>
ConstructorInjector. injectableMembers
(package private) com.google.common.collect.ImmutableSet<InjectionPoint>
InstanceBindingImpl. injectionPoints
(package private) com.google.common.collect.ImmutableSet<InjectionPoint>
ProviderInstanceBindingImpl. injectionPoints
Methods in com.google.inject.internal that return InjectionPoint Modifier and Type Method Description InjectionPoint
ConstructorBindingImpl. getConstructor()
InjectionPoint
ConstructionProxy. getInjectionPoint()
Returns the injection point for this constructor.InjectionPoint
DefaultConstructionProxyFactory.FastClassProxy. getInjectionPoint()
InjectionPoint
DefaultConstructionProxyFactory.ReflectiveProxy. getInjectionPoint()
InjectionPoint
ProxyFactory.ProxyConstructor. getInjectionPoint()
InjectionPoint
SingleFieldInjector. getInjectionPoint()
InjectionPoint
SingleMemberInjector. getInjectionPoint()
InjectionPoint
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 InjectionPoint Modifier and Type Method Description (package private) com.google.common.collect.ImmutableListMultimap<TypeLiteral<?>,InjectionPoint>
MembersInjectorStore. getAllInjectionPoints()
java.util.Map<TypeLiteral<?>,java.util.List<InjectionPoint>>
InjectorImpl. getAllMembersInjectorInjectionPoints()
java.util.Map<TypeLiteral<?>,java.util.List<InjectionPoint>>
InternalInjectorCreator.ToolStageInjector. getAllMembersInjectorInjectionPoints()
java.util.Set<InjectionPoint>
ConstructorBindingImpl. getInjectableMembers()
com.google.common.collect.ImmutableSet<InjectionPoint>
ConstructorInjector. getInjectableMembers()
java.util.Set<InjectionPoint>
InstanceBindingImpl. getInjectionPoints()
com.google.common.collect.ImmutableSet<InjectionPoint>
MembersInjectorImpl. getInjectionPoints()
java.util.Set<InjectionPoint>
ProviderInstanceBindingImpl. getInjectionPoints()
Methods in com.google.inject.internal with parameters of type InjectionPoint Modifier and Type Method Description (package private) static <T> ConstructorBindingImpl<T>
ConstructorBindingImpl. create(InjectorImpl injector, Key<T> key, InjectionPoint constructorInjector, java.lang.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)
ConstructorInjector<?>
ConstructorInjectorStore. get(InjectionPoint constructorInjector, Errors errors)
Returns a new complete constructor injector with injection listeners registered.<T> Key<T>
ProvidesMethodScanner. prepareMethod(Binder binder, java.lang.annotation.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 InjectionPoint Modifier and Type Method Description (package private) com.google.common.collect.ImmutableList<SingleMemberInjector>
MembersInjectorStore. getInjectors(java.util.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, java.lang.Object source, java.util.Set<InjectionPoint> injectionPoints)
Registers an instance for member injection when that step is performed.Constructors in com.google.inject.internal with parameters of type InjectionPoint Constructor Description ConstructorBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> scopedFactory, Scoping scoping, ConstructorBindingImpl.Factory<T> factory, InjectionPoint constructorInjectionPoint)
ConstructorBindingImpl(Key<T> key, java.lang.Object source, Scoping scoping, InjectionPoint constructorInjectionPoint, java.util.Set<InjectionPoint> injectionPoints)
DefaultConstructionProxyFactory(InjectionPoint injectionPoint)
FastClassProxy(InjectionPoint injectionPoint, java.lang.reflect.Constructor<T> constructor, java.util.function.BiFunction<java.lang.Object,java.lang.Object[],java.lang.Object> fastConstructor)
ProxyConstructor(InjectionPoint injectionPoint, java.util.function.Function<java.lang.String,java.util.function.BiFunction<java.lang.Object,java.lang.Object[],java.lang.Object>> enhancer, com.google.common.collect.ImmutableMap<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> interceptors, java.lang.reflect.InvocationHandler[] callbacks)
ProxyFactory(InjectionPoint injectionPoint, java.lang.Iterable<MethodAspect> methodAspects)
ReflectiveProxy(InjectionPoint injectionPoint, java.lang.reflect.Constructor<T> constructor)
SingleFieldInjector(InjectorImpl injector, InjectionPoint injectionPoint, Errors errors)
SingleMethodInjector(InjectorImpl injector, InjectionPoint injectionPoint, Errors errors)
Constructor parameters in com.google.inject.internal with type arguments of type InjectionPoint Constructor Description ConstructorBindingImpl(Key<T> key, java.lang.Object source, Scoping scoping, InjectionPoint constructorInjectionPoint, java.util.Set<InjectionPoint> injectionPoints)
ConstructorInjector(java.util.Set<InjectionPoint> injectableMembers, ConstructionProxy<T> constructionProxy, SingleParameterInjector<?>[] parameterInjectors, MembersInjectorImpl<T> membersInjector)
InstanceBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> internalFactory, java.util.Set<InjectionPoint> injectionPoints, T instance)
InstanceBindingImpl(java.lang.Object source, Key<T> key, Scoping scoping, java.util.Set<InjectionPoint> injectionPoints, T instance)
ProviderInstanceBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, javax.inject.Provider<? extends T> providerInstance, java.util.Set<InjectionPoint> injectionPoints)
ProviderInstanceBindingImpl(java.lang.Object source, Key<T> key, Scoping scoping, java.util.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 InjectionPoint Modifier and Type Field Description private InjectionPoint
Dependency. injectionPoint
Methods in com.google.inject.spi that return InjectionPoint Modifier and Type Method Description static <T> InjectionPoint
InjectionPoint. forConstructor(java.lang.reflect.Constructor<T> constructor)
Returns a new injection point for the specified constructor.static <T> InjectionPoint
InjectionPoint. forConstructor(java.lang.reflect.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(java.lang.Class<?> type)
Returns a new injection point for the injectable constructor oftype
.static <T> InjectionPoint
InjectionPoint. forMethod(java.lang.reflect.Method method, TypeLiteral<T> type)
Returns a new injection point for the specified method oftype
.InjectionPoint
ConstructorBinding. getConstructor()
Gets the constructor this binding injects.InjectionPoint
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 InjectionPoint Modifier and Type Method Description static java.util.Set<InjectionPoint>
InjectionPoint. forInstanceMethodsAndFields(TypeLiteral<?> type)
Returns all instance method and field injection points ontype
.static java.util.Set<InjectionPoint>
InjectionPoint. forInstanceMethodsAndFields(java.lang.Class<?> type)
Returns all instance method and field injection points ontype
.static java.util.Set<InjectionPoint>
InjectionPoint. forStaticMethodsAndFields(TypeLiteral<?> type)
Returns all static method and field injection points ontype
.static java.util.Set<InjectionPoint>
InjectionPoint. forStaticMethodsAndFields(java.lang.Class<?> type)
Returns all static method and field injection points ontype
.java.util.Set<InjectionPoint>
ConstructorBinding. getInjectableMembers()
Returns all instance method and field injection points ontype
.private static java.util.Set<InjectionPoint>
InjectionPoint. getInjectionPoints(TypeLiteral<?> type, boolean statics, Errors errors)
Returns an ordered, immutable set of injection points for the given type.java.util.Set<InjectionPoint>
InjectionRequest. getInjectionPoints()
Returns the instance methods and fields ofinstance
that will be injected to fulfill this request.java.util.Set<InjectionPoint>
InstanceBinding. getInjectionPoints()
Returns the field and method injection points of the instance, injected at injector-creation time only.java.util.Set<InjectionPoint>
MembersInjectorLookup. getInjectionPoints()
Returns the instance methods and fields that will be injected to fulfill this request.java.util.Set<InjectionPoint>
ProviderInstanceBinding. getInjectionPoints()
Returns the field and method injection points of the provider, injected at injector-creation time only.java.util.Set<InjectionPoint>
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 InjectionPoint Modifier and Type Method Description abstract <T> Key<T>
ModuleAnnotatedMethodScanner. prepareMethod(Binder binder, java.lang.annotation.Annotation annotation, Key<T> key, InjectionPoint injectionPoint)
Prepares a method for binding.Method parameters in com.google.inject.spi with type arguments of type InjectionPoint Modifier and Type Method Description static java.util.Set<Dependency<?>>
Dependency. forInjectionPoints(java.util.Set<InjectionPoint> injectionPoints)
Returns the dependencies from the given injection points.Constructors in com.google.inject.spi with parameters of type InjectionPoint Constructor Description Dependency(InjectionPoint injectionPoint, Key<T> key, boolean nullable, int parameterIndex)
-