Package | Description |
---|---|
com.google.gwt.inject.client.multibindings |
Modifier and Type | Method and Description |
---|---|
static <T> GinMultibinder<T> |
GinMultibinder.newSetBinder(GinBinder binder,
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> GinMultibinder<T> |
GinMultibinder.newSetBinder(GinBinder binder,
Class<T> type,
Annotation annotation)
Returns a new multibinder that collects instances of
type in a Set
that is itself bound with annotation . |
static <T> GinMultibinder<T> |
GinMultibinder.newSetBinder(GinBinder binder,
Class<T> type,
Class<? extends Annotation> annotationType)
Returns a new multibinder that collects instances of
type in a Set that is
itself bound with annotationType . |
static <T> GinMultibinder<T> |
GinMultibinder.newSetBinder(GinBinder 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> GinMultibinder<T> |
GinMultibinder.newSetBinder(GinBinder binder,
TypeLiteral<T> type,
Annotation annotation)
Returns a new multibinder that collects instances of
type in a Set
that is itself bound with annotation . |
static <T> GinMultibinder<T> |
GinMultibinder.newSetBinder(GinBinder binder,
TypeLiteral<T> type,
Class<? extends Annotation> annotationType)
Returns a new multibinder that collects instances of
type in a Set
that is itself bound with annotationType . |
GinMultibinder<T> |
GinMultibinder.permitDuplicates()
Configures the bound set to silently discard duplicate elements.
|
Copyright © 2008–2018. All rights reserved.