Currently DelegatingVariableResolver does the wiring based on variable names. For CDI however wiring could also be done based on Bean types as in their class names. Refer to getBeans() API of CDI BeanManager
So in addition to resolveVariable(String) we could have resolveVariable(Type beanType, Annotation... qualifiers)