Searched refs:ScopedBindingBuilder (Results 1 – 8 of 8) sorted by relevance
29 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 …]
27 public interface ScopedBindingBuilder { interface
26 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);
28 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()
28 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 …]
32 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()
26 import com.google.inject.binder.ScopedBindingBuilder;89 ScopedBindingBuilder sbbuilder = sbinder.toProviderMethod(this); in configure()
44 import com.google.inject.binder.ScopedBindingBuilder;1135 ScopedBindingBuilder sbb = bind(List.class).to(ArrayList.class); in testBindWithMultipleScopesAddsError()