Interface BeanResolutionContext.Segment<B,T>

Type Parameters:
B - the declaring type
T - the injected 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<B,T>
A segment in a path.
  • Method Details

    • getDeclaringType

      BeanDefinition<B> getDeclaringType()
      Returns:
      The type requested
    • getInjectionPoint

      InjectionPoint<B> getInjectionPoint()
      Returns:
      The inject point
    • getName

      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

      Argument<T> getArgument()
      Returns:
      The argument to create the type. For a field this will be empty