Class AbstractBeanResolutionContext.AnnotationSegment<B>
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment<B,B>
io.micronaut.context.AbstractBeanResolutionContext.AnnotationSegment<B>
- All Implemented Interfaces:
BeanResolutionContext.Segment<B,B>, AnnotationMetadataProvider, AnnotationSource, Named, InjectionPoint<B>
- Enclosing class:
AbstractBeanResolutionContext
public static final class AbstractBeanResolutionContext.AnnotationSegment<B>
extends AbstractBeanResolutionContext.AbstractSegment<B,B>
implements InjectionPoint<B>
A segment that represents annotation.
- Since:
- 3.3.0
- Author:
- Graeme Rocher
-
Field Summary
Fields inherited from class AbstractBeanResolutionContext.AbstractSegment
MEMBER_SEPARATORFields inherited from interface AnnotationSource
EMPTY -
Method Summary
Methods inherited from class AbstractBeanResolutionContext.AbstractSegment
equals, getArgument, getDeclaringType, getDeclaringTypeQualifier, getName, getTypeName, hashCodeMethods inherited from interface AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface BeanResolutionContext.Segment
toConsoleString
-
Method Details
-
toString
-
getInjectionPoint
- Specified by:
getInjectionPointin interfaceBeanResolutionContext.Segment<B,B> - Returns:
- The inject point
-
getDeclaringBean
- Specified by:
getDeclaringBeanin interfaceInjectionPoint<B>- Returns:
- The bean that declares this injection point
-
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
-