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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default io.micronaut.core.type.Argument<T>
asArgument()
io.micronaut.core.type.Argument<T>
getArgument()
CallableInjectionPoint<B>
getOuterInjectionPoint()
-
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, 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, requiresReflection
-
-
-
-
Method Detail
-
getOuterInjectionPoint
@NonNull CallableInjectionPoint<B> getOuterInjectionPoint()
- Returns:
- The outer injection point (method or constructor)
-
getArgument
@NonNull io.micronaut.core.type.Argument<T> getArgument()
- Returns:
- The argument that is being injected
-
-