Package io.micronaut.context
Class AbstractBeanResolutionContext.MethodArgumentSegment
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment<B,T>
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.
-
Field Summary
Fields inherited from class io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment
MEMBER_SEPARATORFields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionMethodArgumentSegment(BeanDefinition<Object> declaringType, Qualifier<Object> qualifier, String methodName, Argument<Object> argument, Argument<Object>[] arguments, AbstractBeanResolutionContext.MethodSegment<Object, Object> outer) -
Method Summary
Modifier and TypeMethodDescriptiontoConsoleString(boolean ansiSupported) To a console string.toString()Methods inherited from class io.micronaut.context.AbstractBeanResolutionContext.MethodSegment
getAnnotationMetadata, getArguments, getDeclaringBean, getDeclaringBeanQualifier, getInjectionPointMethods inherited from class io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment
equals, getArgument, getDeclaringType, getDeclaringTypeQualifier, getName, getTypeName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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.ArgumentInjectionPoint
asArgument, getArgumentMethods inherited from interface io.micronaut.inject.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
-