findAnnotationOnBean<A extends Object> method
The first annotation of type A on the class (or @Bean method) of
the bean named beanName, or null. Creates no bean. Looks in the
parent when the bean is not known here, and throws
NoSuchBeanDefinitionException when no factory has it. Spring:
findAnnotationOnBean.
final order = factory.findAnnotationOnBean<Order>('english')?.value;
Implementation
@override
A? findAnnotationOnBean<A extends Object>(String beanName) =>
_factory.findAnnotationOnBean<A>(beanName);