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.EventListenerSegment, 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.
- Since:
- 1.2.3
- Author:
- Graeme Rocher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe separator between a type and its member when printing to user. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()protected StringgetTypeName(Class<?> type) A common method for retrieving a name for type.inthashCode()Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BeanResolutionContext.Segment
getInjectionPoint, toConsoleString
-
Field Details
-
MEMBER_SEPARATOR
The separator between a type and its member when printing to user.- See Also:
-
-
Method Details
-
getTypeName
-
getName
-
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
-