Package io.micronaut.context
Interface BeanResolutionContext.Segment<T>
-
- Type Parameters:
T- the bean type
- All Known Implementing Classes:
AbstractBeanResolutionContext.AnnotationSegment,AbstractBeanResolutionContext.ConstructorArgumentSegment,AbstractBeanResolutionContext.ConstructorSegment,AbstractBeanResolutionContext.FieldSegment,AbstractBeanResolutionContext.MethodArgumentSegment,AbstractBeanResolutionContext.MethodSegment
- Enclosing interface:
- BeanResolutionContext
public static interface BeanResolutionContext.Segment<T>A segment in a path.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.micronaut.core.type.ArgumentgetArgument()BeanDefinition<T>getDeclaringType()InjectionPoint<T>getInjectionPoint()java.lang.StringgetName()
-
-
-
Method Detail
-
getDeclaringType
BeanDefinition<T> getDeclaringType()
- Returns:
- The type requested
-
getInjectionPoint
InjectionPoint<T> getInjectionPoint()
- Returns:
- The inject point
-
getName
java.lang.String getName()
- 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
-
getArgument
io.micronaut.core.type.Argument getArgument()
- Returns:
- The argument to create the type. For a field this will be empty
-
-