Package io.micronaut.context
Class AbstractBeanResolutionContext.ConstructorSegment
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.ConstructorSegment
- All Implemented Interfaces:
BeanResolutionContext.Segment
,Named
- Direct Known Subclasses:
AbstractBeanResolutionContext.ConstructorArgumentSegment
- Enclosing class:
- AbstractBeanResolutionContext
A segment that represents a constructor.
-
Method Details
-
toString
-
getInjectionPoint
- Returns:
- The inject point
-
getName
- Specified by:
getName
in interfaceBeanResolutionContext.Segment<B,
T> - Specified by:
getName
in interfaceNamed
- 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:
getDeclaringType
in interfaceBeanResolutionContext.Segment<B,
T> - Returns:
- The type requested
-
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()
-