Package io.micronaut.inject
Interface ArgumentInjectionPoint<B,T>
- Type Parameters:
B- The declaring bean typeT- The argument type
- All Superinterfaces:
AnnotationMetadataProvider,AnnotationSource,ArgumentCoercible<T>,InjectionPoint<B>
- All Known Implementing Classes:
AbstractBeanResolutionContext.ConstructorArgumentSegment,AbstractBeanResolutionContext.ConstructorSegment,AbstractBeanResolutionContext.FieldSegment,AbstractBeanResolutionContext.MethodArgumentSegment
An injection point for a method or constructor argument.
- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface io.micronaut.inject.InjectionPoint
getDeclaringBean, getDeclaringBeanQualifier
-
Method Details
-
getOuterInjectionPoint
- Returns:
- The outer injection point (method or constructor)
-
getArgument
- Returns:
- The argument that is being injected
-
asArgument
- Specified by:
asArgumentin interfaceArgumentCoercible<B>- Returns:
- The argument
-