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.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, 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
- Returns:
- The outer injection point (method or constructor)
-
getArgument
- Returns:
- The argument that is being injected
-
asArgument
- Specified by:
asArgument
in interfaceArgumentCoercible<B>
- Returns:
- The argument
-