Converts a Key of type Map to Map >.
(Key key, Class<?> newWrappingClass)
| 351 | * Converts a {@link Key} of type {@code Map<K, V>} to {@code Map<K, Provider<V>>}. |
| 352 | */ |
| 353 | private Key wrapMapValue(Key key, Class<?> newWrappingClass) { |
| 354 | checkArgument( |
| 355 | FrameworkTypes.isFrameworkType( |
| 356 | elements.getTypeElement(newWrappingClass.getName()).asType())); |
| 357 | return wrapMapKey(key, newWrappingClass).get(); |
| 358 | } |
| 359 | |
| 360 | /** |
| 361 | * If {@code key}'s type is {@code Map<K, CurrentWrappingClass<Bar>>}, returns a key with type |
no test coverage detected