Package io.micronaut.context
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
-
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, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
Methods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Method Details
-
toString
-
getInjectionPoint
- Specified by:
getInjectionPoint
in interfaceBeanResolutionContext.Segment<B,
B> - Returns:
- The inject point
-
getDeclaringBean
- Specified by:
getDeclaringBean
in interfaceInjectionPoint<B>
- Returns:
- The bean that declares this injection point
-
getAnnotationMetadata
Description copied from interface:AnnotationMetadataProvider
Supplies the metadata. Defaults toAnnotationMetadata.EMPTY_METADATA
.- Specified by:
getAnnotationMetadata
in interfaceAnnotationMetadataProvider
- Returns:
- The
AnnotationMetadata
-
getDeclaringBeanQualifier
- Specified by:
getDeclaringBeanQualifier
in interfaceInjectionPoint<B>
- Returns:
- The qualifier of the bean that declares this injection point
-