Package io.micronaut.context
Class AbstractBeanResolutionContext.ConstructorSegment
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.ConstructorSegment
- All Implemented Interfaces:
BeanResolutionContext.Segment,io.micronaut.core.naming.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:
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
-
getArgument
public io.micronaut.core.type.Argument 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()
-