public static interface BeanResolutionContext.Path extends Deque<BeanResolutionContext.Segment<?>>, AutoCloseable
Modifier and Type | Method and Description |
---|---|
default void |
close() |
Optional<BeanResolutionContext.Segment<?>> |
currentSegment() |
BeanResolutionContext.Path |
pushAnnotationResolve(BeanDefinition beanDefinition,
Argument annotationMemberBeanAsArgument) |
BeanResolutionContext.Path |
pushBeanCreate(BeanDefinition<?> declaringType,
Argument<?> beanType)
Push an unresolved constructor call onto the queue.
|
BeanResolutionContext.Path |
pushConstructorResolve(BeanDefinition declaringType,
Argument argument)
Push an unresolved constructor call onto the queue.
|
BeanResolutionContext.Path |
pushConstructorResolve(BeanDefinition declaringType,
String methodName,
Argument argument,
Argument[] arguments,
boolean requiresReflection)
Push an unresolved constructor call onto the queue.
|
BeanResolutionContext.Path |
pushFieldResolve(BeanDefinition declaringType,
Argument fieldAsArgument,
boolean requiresReflection)
Push an unresolved field onto the queue.
|
BeanResolutionContext.Path |
pushFieldResolve(BeanDefinition declaringType,
FieldInjectionPoint fieldInjectionPoint)
Push an unresolved field onto the queue.
|
BeanResolutionContext.Path |
pushMethodArgumentResolve(BeanDefinition declaringType,
MethodInjectionPoint methodInjectionPoint,
Argument argument)
Push an unresolved method call onto the queue.
|
BeanResolutionContext.Path |
pushMethodArgumentResolve(BeanDefinition declaringType,
String methodName,
Argument argument,
Argument[] arguments,
boolean requiresReflection)
Push an unresolved method call onto the queue.
|
String |
toCircularString()
Converts the path to a circular string.
|
add, addFirst, addLast, contains, descendingIterator, element, getFirst, getLast, iterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size
addAll, clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
BeanResolutionContext.Path pushBeanCreate(BeanDefinition<?> declaringType, Argument<?> beanType)
declaringType
- The typebeanType
- The bean typeBeanResolutionContext.Path pushConstructorResolve(BeanDefinition declaringType, String methodName, Argument argument, Argument[] arguments, boolean requiresReflection)
declaringType
- The typemethodName
- The method nameargument
- The unresolved argumentarguments
- The argumentsrequiresReflection
- is requires reflectionBeanResolutionContext.Path pushConstructorResolve(BeanDefinition declaringType, Argument argument)
declaringType
- The typeargument
- The unresolved argumentBeanResolutionContext.Path pushMethodArgumentResolve(BeanDefinition declaringType, MethodInjectionPoint methodInjectionPoint, Argument argument)
declaringType
- The typemethodInjectionPoint
- The method injection pointargument
- The unresolved argumentBeanResolutionContext.Path pushMethodArgumentResolve(BeanDefinition declaringType, String methodName, Argument argument, Argument[] arguments, boolean requiresReflection)
declaringType
- The typemethodName
- The method nameargument
- The unresolved argumentarguments
- The argumentsrequiresReflection
- is requires reflectionBeanResolutionContext.Path pushFieldResolve(BeanDefinition declaringType, FieldInjectionPoint fieldInjectionPoint)
declaringType
- declaring typefieldInjectionPoint
- The field injection pointBeanResolutionContext.Path pushFieldResolve(BeanDefinition declaringType, Argument fieldAsArgument, boolean requiresReflection)
declaringType
- declaring typefieldAsArgument
- The field as argumentrequiresReflection
- is requires reflectionBeanResolutionContext.Path pushAnnotationResolve(BeanDefinition beanDefinition, Argument annotationMemberBeanAsArgument)
String toCircularString()
Optional<BeanResolutionContext.Segment<?>> currentSegment()
default void close()
close
in interface AutoCloseable