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
public static class AbstractBeanResolutionContext.ConstructorSegment extends java.lang.Object
A segment that represents a constructor.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
io.micronaut.core.type.Argument
getArgument()
BeanDefinition
getDeclaringType()
InjectionPoint
getInjectionPoint()
java.lang.String
getName()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getInjectionPoint
public InjectionPoint getInjectionPoint()
- Returns:
- The inject point
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceBeanResolutionContext.Segment
- Specified by:
getName
in 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
public BeanDefinition getDeclaringType()
- Specified by:
getDeclaringType
in interfaceBeanResolutionContext.Segment
- Returns:
- The type requested
-
getArgument
public io.micronaut.core.type.Argument getArgument()
- Specified by:
getArgument
in interfaceBeanResolutionContext.Segment
- Returns:
- The argument to create the type. For a field this will be empty
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-