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.java30 public interface LinkedBindingBuilder<T> extends ScopedBindingBuilder {
35 ScopedBindingBuilder to(Class<? extends T> implementation); in to()
40 ScopedBindingBuilder to(TypeLiteral<? extends T> implementation); in to()
45 ScopedBindingBuilder to(Key<? extends T> targetKey); in to()
59 ScopedBindingBuilder toProvider(Provider<? extends T> provider); in toProvider()
67 ScopedBindingBuilder toProvider(javax.inject.Provider<? extends T> provider); in toProvider()
72 ScopedBindingBuilder toProvider( in toProvider()
78 ScopedBindingBuilder toProvider( in toProvider()
84 ScopedBindingBuilder toProvider( in toProvider()
92 <S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor); in toConstructor()
[all …]
DScopedBindingBuilder.java28 public interface ScopedBindingBuilder { interface
/external/guice/core/src/com/google/inject/internal/
DScoping.java26 import com.google.inject.binder.ScopedBindingBuilder;
57 @Override public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
75 @Override public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
93 @Override public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
111 @Override public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
135 @Override public void applyTo(ScopedBindingBuilder scopedBindingBuilder) { in forAnnotation()
159 @Override public void applyTo(ScopedBindingBuilder scopedBindingBuilder) {
228 public abstract void applyTo(ScopedBindingBuilder scopedBindingBuilder);
DBindingBuilder.java28 import com.google.inject.binder.ScopedBindingBuilder;
143 public <S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor) { in toConstructor()
147 public <S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor, in toConstructor()
/external/guice/core/test/com/google/inject/
DBinderTestSuite.java28 import com.google.inject.binder.ScopedBindingBuilder;
138 ScopedBindingBuilder sbb = bind(A.class).to(PlainA.class); in suite()
149 ScopedBindingBuilder sbb = bind(A.class).toProvider(PlainAProvider.class); in suite()
160 ScopedBindingBuilder sbb = bind(A.class).toProvider(new PlainAProvider()); in suite()
172 ScopedBindingBuilder sbb = bind(AWithProvidedBy.class); in suite()
184 ScopedBindingBuilder sbb = bind(AWithImplementedBy.class); in suite()
196 ScopedBindingBuilder sbb = bind(ScopedA.class); in suite()
245 void configure(ScopedBindingBuilder sbb) {} in configure()
250 void configure(ScopedBindingBuilder sbb) { in configure()
260 void configure(ScopedBindingBuilder sbb) { in configure()
[all …]
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java33 import com.google.inject.binder.ScopedBindingBuilder;
198 public ScopedBindingBuilder to(P target) { in to()
204 public ScopedBindingBuilder to(Class<? extends P> targetType) { in to()
209 public ScopedBindingBuilder providing(Class<? extends T> cxtorClass) { in providing()
215 public ScopedBindingBuilder providing(TypeLiteral<? extends T> cxtorLiteral) { in providing()
271 ScopedBindingBuilder toProviderMethod(CheckedProviderMethod<?> target) { in toProviderMethod()
280 public ScopedBindingBuilder to(Key<? extends P> targetKey) { in to()
285 private ScopedBindingBuilder toInternal(final Key<? extends CheckedProvider<?>> targetKey) { in toInternal()
DCheckedProviderMethod.java26 import com.google.inject.binder.ScopedBindingBuilder;
91 ScopedBindingBuilder sbbuilder = sbinder.toProviderMethod(this); in configure()
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java44 import com.google.inject.binder.ScopedBindingBuilder;
1078 ScopedBindingBuilder sbb = bind(List.class).to(ArrayList.class); in testBindWithMultipleScopesAddsError()