Interface ArgumentInjectionPoint<B,T>

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

public interface ArgumentInjectionPoint<B,T> extends InjectionPoint<B>, io.micronaut.core.type.ArgumentCoercible<T>
An injection point for a method or constructor argument.
Since:
1.0
  • Field Summary

    Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.micronaut.core.type.Argument<T>
     
    @NonNull io.micronaut.core.type.Argument<T>
     
     

    Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider

    findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType

    Methods inherited from interface io.micronaut.core.annotation.AnnotationSource

    getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared

    Methods inherited from interface io.micronaut.inject.InjectionPoint

    getDeclaringBean
  • Method Details

    • getOuterInjectionPoint

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

      @NonNull @NonNull io.micronaut.core.type.Argument<T> getArgument()
      Returns:
      The argument that is being injected
    • asArgument

      default io.micronaut.core.type.Argument<T> asArgument()
      Specified by:
      asArgument in interface io.micronaut.core.type.ArgumentCoercible<B>