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> io.micronaut.core.naming.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>, io.micronaut.core.naming.Named
Abstract class for a Segment.
-
Method Details
-
getName
- Specified by:
getNamein interfaceBeanResolutionContext.Segment<B,T> - Specified by:
getNamein interfaceio.micronaut.core.naming.Named- Returns:
- The name of the segment. For a field this is the field name, for a method the method name and for a constructor the type name
-
getDeclaringType
- Specified by:
getDeclaringTypein interfaceBeanResolutionContext.Segment<B,T> - Returns:
- The type requested
-
getDeclaringTypeQualifier
- Specified by:
getDeclaringTypeQualifierin interfaceBeanResolutionContext.Segment<B,T> - Returns:
- The declaring type qualifier
-
getArgument
- Specified by:
getArgumentin interfaceBeanResolutionContext.Segment<B,T> - Returns:
- The argument to create the type. For a field this will be empty
-
equals
-
hashCode
public int hashCode()
-