Annotation Type IntoMap

  • @Documented
    public @interface IntoMap
    The method's return type forms the type argument for the value of a Map<K, Provider<V>>, and the combination of the annotated key and the returned value is contributed to the map as a key/value pair. The Map<K, Provider<V>> produced from the accumulation of values will be immutable.
    See Also:
    Map multibinding