public static interface BeanResolutionContext.Path extends java.util.Deque<BeanResolutionContext.Segment<?>>, java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
default void |
close() |
java.util.Optional<BeanResolutionContext.Segment<?>> |
currentSegment() |
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,
java.lang.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,
java.lang.String methodName,
Argument argument,
Argument[] arguments,
boolean requiresReflection)
Push an unresolved method call onto the queue.
|
java.lang.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
BeanResolutionContext.Path pushBeanCreate(BeanDefinition<?> declaringType, Argument<?> beanType)
declaringType
- The typebeanType
- The bean typeBeanResolutionContext.Path pushConstructorResolve(BeanDefinition declaringType, java.lang.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, java.lang.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 reflectionjava.lang.String toCircularString()
java.util.Optional<BeanResolutionContext.Segment<?>> currentSegment()
default void close()
close
in interface java.lang.AutoCloseable