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>, AnnotationMetadataProvider, AnnotationSource, Named, 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
- Author:
- Graeme Rocher
-
Field Summary
Fields inherited from class AbstractBeanResolutionContext.AbstractSegment
MEMBER_SEPARATORFields inherited from interface AnnotationSource
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionMethodArgumentSegment(BeanDefinition<Object> declaringType, @Nullable Qualifier<Object> qualifier, String methodName, Argument<Object> argument, 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 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 ArgumentInjectionPoint
asArgument, getArgumentMethods inherited from interface InjectionPoint
getDeclaringBean, getDeclaringBeanQualifier
-
Constructor Details
-
MethodArgumentSegment
-
-
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
-