Package io.micronaut.context
Class AbstractBeanResolutionContext.ConstructorSegment
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment<Object,Object>
io.micronaut.context.AbstractBeanResolutionContext.ConstructorSegment
- All Implemented Interfaces:
BeanResolutionContext.Segment<Object,
,Object> AnnotationMetadataProvider
,AnnotationSource
,Named
,ArgumentCoercible<Object>
,ArgumentInjectionPoint<Object,
,Object> InjectionPoint<Object>
- Direct Known Subclasses:
AbstractBeanResolutionContext.ConstructorArgumentSegment
- Enclosing class:
- AbstractBeanResolutionContext
public static class AbstractBeanResolutionContext.ConstructorSegment
extends AbstractBeanResolutionContext.AbstractSegment<Object,Object>
implements ArgumentInjectionPoint<Object,Object>
A segment that represents a constructor.
-
Field Summary
Fields inherited from class io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment
MEMBER_SEPARATOR
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, getTypeName, 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
Methods inherited from interface io.micronaut.inject.ArgumentInjectionPoint
asArgument, getArgument
-
Method Details
-
toString
-
getInjectionPoint
- Specified by:
getInjectionPoint
in interfaceBeanResolutionContext.Segment<Object,
Object> - Returns:
- The inject point
-
getOuterInjectionPoint
- Specified by:
getOuterInjectionPoint
in interfaceArgumentInjectionPoint<Object,
Object> - Returns:
- The outer injection point (method or constructor)
-
getDeclaringBean
- Specified by:
getDeclaringBean
in interfaceInjectionPoint<Object>
- Returns:
- The bean that declares this injection point
-
getDeclaringBeanQualifier
- Specified by:
getDeclaringBeanQualifier
in interfaceInjectionPoint<Object>
- Returns:
- The qualifier of 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
-