Home
last modified time | relevance | path

Searched refs:ScopedBindingBuilder (Results 1 – 8 of 8) sorted by relevance

/external/guice/core/src/com/google/inject/binder/
DLinkedBindingBuilder.java29 public interface LinkedBindingBuilder<T> extends ScopedBindingBuilder {
32 ScopedBindingBuilder to(Class<? extends T> implementation); in to()
35 ScopedBindingBuilder to(TypeLiteral<? extends T> implementation); in to()
38 ScopedBindingBuilder to(Key<? extends T> targetKey); in to()
52 ScopedBindingBuilder toProvider(Provider<? extends T> provider); in toProvider()
60 ScopedBindingBuilder toProvider(javax.inject.Provider<? extends T> provider); in toProvider()
63 ScopedBindingBuilder toProvider(Class<? extends javax.inject.Provider<? extends T>> providerType); in toProvider()
66 ScopedBindingBuilder toProvider( in toProvider()
70 ScopedBindingBuilder toProvider(Key<? extends javax.inject.Provider<? extends T>> providerKey); in toProvider()
77 <S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor); in toConstructor()
[all …]
DScopedBindingBuilder.java27 public interface ScopedBindingBuilder { interface
/external/guice/core/src/com/google/inject/internal/
DScoping.java26 import com.google.inject.binder.ScopedBindingBuilder;
61 public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
88 public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
111 public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
134 public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
157 public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
184 public void applyTo(ScopedBindingBuilder scopedBindingBuilder) { in forAnnotation()
214 public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
277 public abstract void applyTo(ScopedBindingBuilder scopedBindingBuilder);
DBindingBuilder.java28 import com.google.inject.binder.ScopedBindingBuilder;
157 public <S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor) { in toConstructor()
162 public <S extends T> ScopedBindingBuilder toConstructor( in toConstructor()
/external/guice/core/test/com/google/inject/
DBinderTestSuite.java28 import com.google.inject.binder.ScopedBindingBuilder;
148 ScopedBindingBuilder sbb = bind(A.class).to(PlainA.class); in suite()
161 ScopedBindingBuilder sbb = bind(A.class).toProvider(PlainAProvider.class); in suite()
174 ScopedBindingBuilder sbb = bind(A.class).toProvider(new PlainAProvider()); in suite()
188 ScopedBindingBuilder sbb = bind(AWithProvidedBy.class); in suite()
202 ScopedBindingBuilder sbb = bind(AWithImplementedBy.class); in suite()
216 ScopedBindingBuilder sbb = bind(ScopedA.class); in suite()
273 void configure(ScopedBindingBuilder sbb) {} in configure()
281 void configure(ScopedBindingBuilder sbb) { in configure()
294 void configure(ScopedBindingBuilder sbb) { in configure()
[all …]
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java32 import com.google.inject.binder.ScopedBindingBuilder;
193 public ScopedBindingBuilder to(P target) { in to()
199 public ScopedBindingBuilder to(Class<? extends P> targetType) { in to()
204 public ScopedBindingBuilder providing(Class<? extends T> cxtorClass) { in providing()
210 public ScopedBindingBuilder providing(TypeLiteral<? extends T> cxtorLiteral) { in providing()
267 ScopedBindingBuilder toProviderMethod(CheckedProviderMethod<?> target) { in toProviderMethod()
276 public ScopedBindingBuilder to(Key<? extends P> targetKey) { in to()
281 private ScopedBindingBuilder toInternal(final Key<? extends CheckedProvider<?>> targetKey) { in toInternal()
DCheckedProviderMethod.java26 import com.google.inject.binder.ScopedBindingBuilder;
89 ScopedBindingBuilder sbbuilder = sbinder.toProviderMethod(this); in configure()
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java44 import com.google.inject.binder.ScopedBindingBuilder;
1135 ScopedBindingBuilder sbb = bind(List.class).to(ArrayList.class); in testBindWithMultipleScopesAddsError()