Searched refs:factoryInterface (Results 1 – 1 of 1) sorted by relevance
303 public <F> Module build(Class<F> factoryInterface) { in build() argument304 return build(TypeLiteral.get(factoryInterface)); in build()308 public <F> Module build(TypeLiteral<F> factoryInterface) { in build() argument309 return build(Key.get(factoryInterface)); in build()312 public <F> Module build(final Key<F> factoryInterface) { in build() argument316 Provider<F> provider = new FactoryProvider2<>(factoryInterface, bindings); in build()317 bind(factoryInterface).toProvider(provider); in build()