Class AbstractBeanResolutionContext.MethodArgumentSegment
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment<Object,Object>
io.micronaut.context.AbstractBeanResolutionContext.MethodSegment<Object,Object>
io.micronaut.context.AbstractBeanResolutionContext.MethodArgumentSegment
- All Implemented Interfaces:
BeanResolutionContext.Segment<Object,Object>, io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.naming.Named, io.micronaut.core.type.ArgumentCoercible<Object>, ArgumentInjectionPoint<Object, Object>, CallableInjectionPoint<Object>, InjectionPoint<Object>
- Enclosing class:
AbstractBeanResolutionContext
public static final class AbstractBeanResolutionContext.MethodArgumentSegment
extends AbstractBeanResolutionContext.MethodSegment<Object,Object>
implements ArgumentInjectionPoint<Object,Object>
A segment that represents a method argument.
- Since:
- 1.2.3
-
Field Summary
Fields inherited from class AbstractBeanResolutionContext.AbstractSegment
MEMBER_SEPARATORFields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionMethodArgumentSegment(BeanDefinition<Object> declaringType, @Nullable Qualifier<Object> qualifier, String methodName, io.micronaut.core.type.Argument<Object> argument, io.micronaut.core.type.Argument<Object>[] arguments, @Nullable AbstractBeanResolutionContext.MethodSegment<Object, Object> outer) -
Method Summary
Modifier and TypeMethodDescriptiontoConsoleString(boolean ansiSupported) To a console string.toString()Methods inherited from class AbstractBeanResolutionContext.MethodSegment
getAnnotationMetadata, getArguments, getDeclaringBean, getDeclaringBeanQualifier, getInjectionPointMethods inherited from class AbstractBeanResolutionContext.AbstractSegment
equals, getArgument, getDeclaringType, getDeclaringTypeQualifier, getName, getTypeName, hashCodeMethods 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 ArgumentInjectionPoint
asArgument, getArgumentMethods inherited from interface InjectionPoint
getDeclaringBean, getDeclaringBeanQualifier
-
Constructor Details
-
MethodArgumentSegment
public MethodArgumentSegment(BeanDefinition<Object> declaringType, @Nullable Qualifier<Object> qualifier, String methodName, io.micronaut.core.type.Argument<Object> argument, io.micronaut.core.type.Argument<Object>[] arguments, @Nullable AbstractBeanResolutionContext.MethodSegment<Object, Object> outer)
-
-
Method Details
-
getOuterInjectionPoint
- Specified by:
getOuterInjectionPointin interfaceArgumentInjectionPoint<Object,Object> - Returns:
- The outer injection point (method or constructor)
-
toString
- Overrides:
toStringin classAbstractBeanResolutionContext.MethodSegment<Object,Object>
-
toConsoleString
Description copied from interface:BeanResolutionContext.SegmentTo a console string.- Specified by:
toConsoleStringin interfaceBeanResolutionContext.Segment<Object,Object> - Overrides:
toConsoleStringin classAbstractBeanResolutionContext.MethodSegment<Object,Object> - Parameters:
ansiSupported- Whether ansi is supported- Returns:
- The string
-