/** * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link * Map} that is itself bound with {@code annotation}. */ public static <K, V> MapBinder<K, V> newMapBinder( Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { return new MapBinder<K, V>( newRealMapBinder(binder.skipSources(MapBinder.class), keyType, valueType, annotation)); }
/** * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link * Map} that is itself bound with no binding annotation. */ public static <K, V> MapBinder<K, V> newMapBinder( Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { return new MapBinder<K, V>( newMapRealBinder(binder.skipSources(MapBinder.class), keyType, valueType)); }
/** * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link * Map} that is itself bound with {@code annotationType}. */ public static <K, V> MapBinder<K, V> newMapBinder( Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Class<? extends Annotation> annotationType) { return new MapBinder<K, V>( newRealMapBinder(binder.skipSources(MapBinder.class), keyType, valueType, annotationType)); }
/** * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link * Map} that is itself bound with no binding annotation. */ public static <K, V> MapBinder<K, V> newMapBinder( Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { return new MapBinder<K, V>( newMapRealBinder(binder.skipSources(MapBinder.class), keyType, valueType)); }
/** * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link * Map} that is itself bound with {@code annotationType}. */ public static <K, V> MapBinder<K, V> newMapBinder( Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Class<? extends Annotation> annotationType) { return new MapBinder<K, V>( newRealMapBinder(binder.skipSources(MapBinder.class), keyType, valueType, annotationType)); }
/** * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link * Map} that is itself bound with {@code annotation}. */ public static <K, V> MapBinder<K, V> newMapBinder( Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { return new MapBinder<K, V>( newRealMapBinder(binder.skipSources(MapBinder.class), keyType, valueType, annotation)); }
/** * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link * Map} that is itself bound with no binding annotation. */ public static <K, V> MapBinder<K, V> newMapBinder( Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { return new MapBinder<K, V>( newMapRealBinder(binder.skipSources(MapBinder.class), keyType, valueType)); }
/** * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link * Map} that is itself bound with {@code annotation}. */ public static <K, V> MapBinder<K, V> newMapBinder( Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { return new MapBinder<K, V>( newRealMapBinder(binder.skipSources(MapBinder.class), keyType, valueType, annotation)); }
/** * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link * Map} that is itself bound with {@code annotationType}. */ public static <K, V> MapBinder<K, V> newMapBinder( Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Class<? extends Annotation> annotationType) { return new MapBinder<K, V>( newRealMapBinder(binder.skipSources(MapBinder.class), keyType, valueType, annotationType)); }