Searched refs:FactoryModuleBuilder (Results 1 – 7 of 7) sorted by relevance
212 public final class FactoryModuleBuilder { class217 public <T> FactoryModuleBuilder implement(Class<T> source, Class<? extends T> target) { in implement()222 public <T> FactoryModuleBuilder implement(Class<T> source, TypeLiteral<? extends T> target) { in implement()227 public <T> FactoryModuleBuilder implement(TypeLiteral<T> source, Class<? extends T> target) { in implement()232 public <T> FactoryModuleBuilder implement( in implement()238 public <T> FactoryModuleBuilder implement( in implement()244 public <T> FactoryModuleBuilder implement( in implement()250 public <T> FactoryModuleBuilder implement( in implement()256 public <T> FactoryModuleBuilder implement( in implement()262 public <T> FactoryModuleBuilder implement( in implement()[all …]
66 install(new FactoryModuleBuilder().build(ColoredCarFactory.class)); in testImplicitForwardingAssistedBindingFailsWithInterface()88 install(new FactoryModuleBuilder().build(ColoredAbstractCarFactory.class)); in testImplicitForwardingAssistedBindingFailsWithAbstractClass()110 install(new FactoryModuleBuilder().build(MustangFactory.class)); in testImplicitForwardingAssistedBindingCreatesNewObjects()134 new FactoryModuleBuilder() in testExplicitForwardingAssistedBindingFailsWithInterface()160 new FactoryModuleBuilder() in testExplicitForwardingAssistedBindingFailsWithAbstractClass()186 new FactoryModuleBuilder() in testExplicitForwardingAssistedBindingCreatesNewObjects()215 new FactoryModuleBuilder() in testAnnotatedAndParentBoundReturnValue()236 new FactoryModuleBuilder() in testParentBoundReturnValue()254 new FactoryModuleBuilder() in testConfigureAnnotatedReturnValue()272 install(new FactoryModuleBuilder().build(MustangFactory.class)); in testNoBindingAssistedInject()[all …]
35 install(new FactoryModuleBuilder().build(Factory.class)); in testTwoConstructors()53 install(new FactoryModuleBuilder().build(OtherFactory.class)); in testDifferentOrderParameters()75 new FactoryModuleBuilder() in testInterfaceToImpl()95 install(new FactoryModuleBuilder().build(SimpleFactory.class)); in testUsingOneConstructor()108 install(new FactoryModuleBuilder().build(SimpleFactory2.class)); in testUsingOneConstructor()124 new FactoryModuleBuilder() in testTooManyMatchingConstructors()147 install(new FactoryModuleBuilder().build(ComplexFactory.class)); in testNoMatchingConstructorsBecauseTooManyParams()167 install(new FactoryModuleBuilder().build(NullFactory.class)); in testNoMatchingConstrucotsBecauseTooLittleParams()268 install(new FactoryModuleBuilder().build(FamilyFarmFactory.class)); in testDependenciesAndOtherAnnotations()
1281 install(new FactoryModuleBuilder().build(Delegater.Factory.class)); in testReturnValueMatchesParamValue()1369 new FactoryModuleBuilder().build(ConcreteAssistedWithOverride.Factory.class)); in testGeneratedDefaultMethodsForwardCorrectly()1371 new FactoryModuleBuilder().build(ConcreteAssistedWithOverride.Factory2.class)); in testGeneratedDefaultMethodsForwardCorrectly()1373 new FactoryModuleBuilder() in testGeneratedDefaultMethodsForwardCorrectly()1375 install(new FactoryModuleBuilder().build(Public.Factory.class)); in testGeneratedDefaultMethodsForwardCorrectly()1376 install(new FactoryModuleBuilder().build(concreteKey)); in testGeneratedDefaultMethodsForwardCorrectly()
201 new FactoryModuleBuilder() in configure()
20 import com.google.inject.assistedinject.FactoryModuleBuilder;31 new FactoryModuleBuilder() in configure()
24 import com.google.inject.assistedinject.FactoryModuleBuilder;57 install(new FactoryModuleBuilder().build(Factory.class)); in testAssistedInjection()