Package io.micronaut.context
Class AbstractBeanResolutionContext.AbstractSegment<B,T>
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment<B,T>
- All Implemented Interfaces:
BeanResolutionContext.Segment<B,
,T> Named
- Direct Known Subclasses:
AbstractBeanResolutionContext.AnnotationSegment
,AbstractBeanResolutionContext.ConstructorSegment
,AbstractBeanResolutionContext.FieldSegment
,AbstractBeanResolutionContext.MethodSegment
- Enclosing class:
- AbstractBeanResolutionContext
protected abstract static class AbstractBeanResolutionContext.AbstractSegment<B,T>
extends Object
implements BeanResolutionContext.Segment<B,T>, Named
Abstract class for a Segment.
-
Method Details
-
getName
-
getDeclaringType
- Specified by:
getDeclaringType
in interfaceBeanResolutionContext.Segment<B,
T> - Returns:
- The type requested
-
getDeclaringTypeQualifier
- Specified by:
getDeclaringTypeQualifier
in interfaceBeanResolutionContext.Segment<B,
T> - Returns:
- The declaring type qualifier
-
getArgument
- Specified by:
getArgument
in interfaceBeanResolutionContext.Segment<B,
T> - Returns:
- The argument to create the type. For a field this will be empty
-
equals
-
hashCode
public int hashCode()
-