Annotation Type ElementsIntoSet


  • @Documented
    @Target(METHOD)
    @Retention(RUNTIME)
    public @interface ElementsIntoSet
    The method's return type is Set<T> and all values are contributed to the set. The Set<T> produced from the accumulation of values will be immutable. An example use is to provide a default empty set binding, which is otherwise not possible using IntoSet.
    See Also:
    Set multibinding