Interface BeanResolutionContext.Segment<B,T>
- Type Parameters:
B- the declaring typeT- the injected type
- All Known Implementing Classes:
AbstractBeanResolutionContext.AbstractSegment, AbstractBeanResolutionContext.AnnotationSegment, AbstractBeanResolutionContext.ConstructorArgumentSegment, AbstractBeanResolutionContext.ConstructorSegment, AbstractBeanResolutionContext.EventListenerSegment, AbstractBeanResolutionContext.FieldSegment, AbstractBeanResolutionContext.MethodArgumentSegment, AbstractBeanResolutionContext.MethodSegment
- Enclosing interface:
BeanResolutionContext
public static interface BeanResolutionContext.Segment<B,T>
A segment in a path.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
Modifier and TypeMethodDescriptiongetName()default StringtoConsoleString(boolean ansiSupported) To a console string.
-
Method Details
-
toConsoleString
To a console string.- Parameters:
ansiSupported- Whether ansi is supported- Returns:
- The string
-
getDeclaringType
BeanDefinition<B> getDeclaringType()- Returns:
- The type requested
-
getDeclaringTypeQualifier
-
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
-