Package io.micronaut.inject
Interface ArgumentInjectionPoint<B,T>
- Type Parameters:
B- The declaring bean typeT- 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 TypeMethodDescriptiondefault io.micronaut.core.type.Argument<T>@NonNull io.micronaut.core.type.Argument<T>@NonNull CallableInjectionPoint<B>Methods 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
-
Method Details
-
getOuterInjectionPoint
- Returns:
- The outer injection point (method or constructor)
-
getArgument
- Returns:
- The argument that is being injected
-
asArgument
- Specified by:
asArgumentin interfaceio.micronaut.core.type.ArgumentCoercible<B>
-