Package io.micronaut.context
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> AnnotationMetadataProvider,AnnotationSource,Named,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>, ArgumentCoercible<T>, ArgumentInjectionPoint<B,T>
A segment that represents a field.
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Method Summary
Methods inherited from class io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment
equals, getArgument, getDeclaringType, getDeclaringTypeQualifier, getName, 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, synthesizeDeclaredMethods inherited from interface io.micronaut.inject.ArgumentInjectionPoint
getArgument
-
Method Details
-
toString
-
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 interfaceArgumentCoercible<B>- Specified by:
asArgumentin interfaceArgumentInjectionPoint<B,T> - Returns:
- The argument
-
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
-