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 AnnotationSource
EMPTY -
Method Summary
Methods inherited from interface AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface InjectionPoint
getDeclaringBean, getDeclaringBeanQualifier
-
Method Details
-
getOuterInjectionPoint
@Nullable CallableInjectionPoint<B> getOuterInjectionPoint()- Returns:
- The outer injection point (method or constructor), or
nullwhen the injection point is not an argument of a callable, such as a field
-
getArgument
-
asArgument
- Specified by:
asArgumentin interfaceArgumentCoercible<B>- Returns:
- The argument
-