Class AbstractBeanResolutionContext.FieldSegment<B,T>
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment<B,T>
io.micronaut.context.AbstractBeanResolutionContext.FieldSegment<B,T>
- All Implemented Interfaces:
BeanResolutionContext.Segment<B,T>, io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.naming.Named, io.micronaut.core.type.ArgumentCoercible<T>, ArgumentInjectionPoint<B, T>, InjectionPoint<B>
- Enclosing class:
AbstractBeanResolutionContext
public static final class AbstractBeanResolutionContext.FieldSegment<B,T>
extends AbstractBeanResolutionContext.AbstractSegment<B,T>
implements InjectionPoint<B>, io.micronaut.core.type.ArgumentCoercible<T>, ArgumentInjectionPoint<B,T>
A segment that represents a field.
- Since:
- 1.2.3
-
Field Summary
Fields inherited from class AbstractBeanResolutionContext.AbstractSegment
MEMBER_SEPARATORFields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.type.Argument<T> io.micronaut.core.annotation.AnnotationMetadatatoConsoleString(boolean ansiSupported) To a console string.toString()Methods inherited from class AbstractBeanResolutionContext.AbstractSegment
equals, getArgument, getDeclaringType, getDeclaringTypeQualifier, getName, getTypeName, hashCodeMethods 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, synthesizeDeclaredMethods inherited from interface ArgumentInjectionPoint
getArgument
-
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
-
getOuterInjectionPoint
- Specified by:
getOuterInjectionPointin interfaceArgumentInjectionPoint<B,T> - Returns:
- The outer injection point (method or constructor)
-
asArgument
- Specified by:
asArgumentin interfaceio.micronaut.core.type.ArgumentCoercible<B>- Specified by:
asArgumentin interfaceArgumentInjectionPoint<B,T>
-
getAnnotationMetadata
public io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()- Specified by:
getAnnotationMetadatain interfaceio.micronaut.core.annotation.AnnotationMetadataProvider
-
getDeclaringBeanQualifier
- Specified by:
getDeclaringBeanQualifierin interfaceInjectionPoint<B>- Returns:
- The qualifier of the bean that declares this injection point
-