Package io.micronaut.context
Class AbstractBeanResolutionContext.ConstructorArgumentSegment
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment<Object,Object>
io.micronaut.context.AbstractBeanResolutionContext.ConstructorSegment
io.micronaut.context.AbstractBeanResolutionContext.ConstructorArgumentSegment
- All Implemented Interfaces:
BeanResolutionContext.Segment<Object,
,Object> AnnotationMetadataProvider
,AnnotationSource
,Named
,ArgumentCoercible<Object>
,ArgumentInjectionPoint<Object,
,Object> InjectionPoint<Object>
- Enclosing class:
- AbstractBeanResolutionContext
public static final class AbstractBeanResolutionContext.ConstructorArgumentSegment
extends AbstractBeanResolutionContext.ConstructorSegment
implements ArgumentInjectionPoint<Object,Object>
A segment that represents a method argument.
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
-
Constructor Summary
ConstructorDescriptionConstructorArgumentSegment
(BeanDefinition<Object> declaringType, Qualifier<Object> qualifier, String methodName, Argument<Object> argument, Argument<Object>[] arguments) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class io.micronaut.context.AbstractBeanResolutionContext.ConstructorSegment
getAnnotationMetadata, getInjectionPoint, toString
Methods inherited from class io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment
equals, getArgument, getDeclaringType, getDeclaringTypeQualifier, getName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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.ArgumentInjectionPoint
asArgument, getArgument
-
Constructor Details
-
ConstructorArgumentSegment
-
-
Method Details
-
getOuterInjectionPoint
- Specified by:
getOuterInjectionPoint
in interfaceArgumentInjectionPoint<Object,
Object> - Overrides:
getOuterInjectionPoint
in classAbstractBeanResolutionContext.ConstructorSegment
- Returns:
- The outer injection point (method or constructor)
-
getDeclaringBean
- Specified by:
getDeclaringBean
in interfaceInjectionPoint<Object>
- Overrides:
getDeclaringBean
in classAbstractBeanResolutionContext.ConstructorSegment
- Returns:
- The bean that declares this injection point
-
getDeclaringBeanQualifier
- Specified by:
getDeclaringBeanQualifier
in interfaceInjectionPoint<Object>
- Overrides:
getDeclaringBeanQualifier
in classAbstractBeanResolutionContext.ConstructorSegment
- Returns:
- The qualifier of the bean that declares this injection point
-