public class InjectionPointImpl extends java.lang.Object implements InjectionPoint
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Field |
field |
private java.lang.Class<? extends java.lang.annotation.Annotation> |
scope |
private java.lang.Object |
target |
Constructor and Description |
---|
InjectionPointImpl(java.lang.Object target,
java.lang.reflect.Field field,
java.lang.Class<? extends java.lang.annotation.Annotation> scope) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope() |
java.lang.reflect.Type |
getType() |
static InjectionPointImpl |
of(java.lang.Object target,
java.lang.reflect.Field field) |
void |
set(Instance<?> value) |
private java.lang.Object target
private java.lang.reflect.Field field
private java.lang.Class<? extends java.lang.annotation.Annotation> scope
InjectionPointImpl(java.lang.Object target, java.lang.reflect.Field field, java.lang.Class<? extends java.lang.annotation.Annotation> scope)
public static InjectionPointImpl of(java.lang.Object target, java.lang.reflect.Field field)
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope
in interface InjectionPoint
public void set(Instance<?> value) throws InvocationException
set
in interface InjectionPoint
InvocationException