B
- The bean type that declares the injection pointT
- The field component typepublic interface FieldInjectionPoint<B,T> extends InjectionPoint<B>, AnnotationMetadataProvider, AnnotatedElement
Modifier and Type | Method and Description |
---|---|
Argument<T> |
asArgument()
Convert this field to an
Argument reference. |
java.lang.reflect.Field |
getField()
Resolves the underlying field.
|
java.lang.String |
getName() |
java.lang.Class<T> |
getType() |
void |
set(T instance,
java.lang.Object object)
Sets the value of the field.
|
getDeclaringBean, requiresReflection
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullable
java.lang.String getName()
java.lang.reflect.Field getField()
java.lang.Class<T> getType()
void set(T instance, java.lang.Object object)
instance
- the instanceobject
- The the field on the target object