Interface FieldInjectionPoint<B,T>

Type Parameters:
B - The bean type that declares the injection point
T - The field component type
All Superinterfaces:
AnnotatedElement, AnnotationMetadataProvider, AnnotationSource, ArgumentCoercible<T>, InjectionPoint<B>, Named

public interface FieldInjectionPoint<B,T> extends InjectionPoint<B>, AnnotationMetadataProvider, AnnotatedElement, ArgumentCoercible<T>
Defines an injection point for a field.
Since:
1.0
Author:
Graeme Rocher
  • Method Details

    • getName

      String getName()
      Specified by:
      getName in interface Named
      Returns:
      The name of the field
    • getField

      @Deprecated(since="4", forRemoval=true) Field getField()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Resolves the underlying field. Note that this method will cause reflection metadata to be initialized and should be avoided.
      Returns:
      The target field
    • getType

      Class<T> getType()
      Returns:
      The required component type