int resolvableTypeIndex = getResolvableTypeIndex(context);
if (resolvableTypeIndex < 0) {
// ContextValue
ContextValue contextValueAnnotation = context.getAnnotation(ContextValue.class);
if (contextValueAnnotation != null) {
String name = assertNotNull(trimToNull(contextValueAnnotation.value()), "missing @%s's name: %s",
ContextValue.class.getSimpleName(), context);
return new ContextValueResolver(context, name);
}