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.grapher 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 Map<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.grapher
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.spi
Methods in com.google.inject.spi that return InjectionPoint Modifier and Type Method Description static <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
.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.Methods in com.google.inject.spi that return types with arguments of type InjectionPoint Modifier and Type Method Description static 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
.Set<InjectionPoint>
ConstructorBinding. getInjectableMembers()
Returns all instance method and field injection points ontype
.Set<InjectionPoint>
InjectionRequest. getInjectionPoints()
Returns the instance methods and fields ofinstance
that will be injected to fulfill this request.Set<InjectionPoint>
InstanceBinding. getInjectionPoints()
Returns the field and method injection points of the instance, injected at injector-creation time only.Set<InjectionPoint>
MembersInjectorLookup. getInjectionPoints()
Returns the instance methods and fields that will be injected to fulfill this request.Set<InjectionPoint>
ProviderInstanceBinding. getInjectionPoints()
Returns the field and method injection points of the provider, injected at injector-creation time only.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 <T> Key<T>
ModuleAnnotatedMethodScanner. prepareMethod(Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint)
Deprecated.Prefer overriding the overload that takes `Object moduleInstance` instead.<T> Key<T>
ModuleAnnotatedMethodScanner. prepareMethod(Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint, Object moduleInstance)
Prepares a method for binding.Method parameters in com.google.inject.spi with type arguments of type InjectionPoint Modifier and Type Method Description static Set<Dependency<?>>
Dependency. forInjectionPoints(Set<InjectionPoint> injectionPoints)
Returns the dependencies from the given injection points.
-