static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
Key<T> key) |
Returns a new multibinder that collects instances of the key's type in a Set that is
itself bound with the annotation (if any) of the key.
|
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type) |
Returns a new multibinder that collects instances of type in a Set that is
itself bound with no binding annotation.
|
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type,
java.lang.annotation.Annotation annotation) |
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotation .
|
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotationType .
|
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
java.lang.Class<T> type) |
Returns a new multibinder that collects instances of type in a Set that is
itself bound with no binding annotation.
|
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
java.lang.Class<T> type,
java.lang.annotation.Annotation annotation) |
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotation .
|
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
java.lang.Class<T> type,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotationType .
|
Multibinder<T> |
Multibinder.permitDuplicates() |
Configures the bound set to silently discard duplicate elements.
|