Package io.micronaut.context
Class AbstractBeanResolutionContext.MethodSegment<B,T>
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment<B,T>
io.micronaut.context.AbstractBeanResolutionContext.MethodSegment<B,T>
- All Implemented Interfaces:
BeanResolutionContext.Segment<B,,T> AnnotationMetadataProvider,AnnotationSource,Named,CallableInjectionPoint<B>,InjectionPoint<B>
- Direct Known Subclasses:
AbstractBeanResolutionContext.MethodArgumentSegment
- Enclosing class:
- AbstractBeanResolutionContext
public static class AbstractBeanResolutionContext.MethodSegment<B,T>
extends AbstractBeanResolutionContext.AbstractSegment<B,T>
implements CallableInjectionPoint<B>
A segment that represents a method.
-
Field Summary
Fields inherited from class io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment
MEMBER_SEPARATORFields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionSupplies the metadata.Argument<?>[]toConsoleString(boolean ansiSupported) To a console string.toString()Methods 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, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Method Details
-
toString
-
toConsoleString
Description copied from interface:BeanResolutionContext.SegmentTo a console string.- Specified by:
toConsoleStringin interfaceBeanResolutionContext.Segment<B,T> - Parameters:
ansiSupported- Whether ansi is supported- Returns:
- The string
-
getInjectionPoint
- Specified by:
getInjectionPointin interfaceBeanResolutionContext.Segment<B,T> - Returns:
- The inject point
-
getDeclaringBean
- Specified by:
getDeclaringBeanin interfaceInjectionPoint<B>- Returns:
- The bean that declares this injection point
-
getArguments
- Specified by:
getArgumentsin interfaceCallableInjectionPoint<B>- Returns:
- The required argument types.
-
getAnnotationMetadata
Description copied from interface:AnnotationMetadataProviderSupplies the metadata. Defaults toAnnotationMetadata.EMPTY_METADATA.- Specified by:
getAnnotationMetadatain interfaceAnnotationMetadataProvider- Returns:
- The
AnnotationMetadata
-
getDeclaringBeanQualifier
- Specified by:
getDeclaringBeanQualifierin interfaceInjectionPoint<B>- Returns:
- The qualifier of the bean that declares this injection point
-