Interface ArgumentInjectionPoint<B,T>

Type Parameters:
B - The declaring bean type
T - The argument type
All Superinterfaces:
AnnotationMetadataProvider, AnnotationSource, ArgumentCoercible<T>, InjectionPoint<B>
All Known Implementing Classes:
AbstractBeanResolutionContext.ConstructorArgumentSegment, AbstractBeanResolutionContext.ConstructorSegment, AbstractBeanResolutionContext.FieldSegment, AbstractBeanResolutionContext.MethodArgumentSegment

public interface ArgumentInjectionPoint<B,T> extends InjectionPoint<B>, ArgumentCoercible<T>
An injection point for a method or constructor argument.
Since:
1.0
Author:
graemerocher
  • Method Details

    • getOuterInjectionPoint

      @NonNull CallableInjectionPoint<B> getOuterInjectionPoint()
      Returns:
      The outer injection point (method or constructor)
    • getArgument

      @NonNull Argument<T> getArgument()
      Returns:
      The argument that is being injected
    • asArgument

      default Argument<T> asArgument()
      Specified by:
      asArgument in interface ArgumentCoercible<B>
      Returns:
      The argument