Searched refs:FactoryModuleBuilder (Results 1 – 6 of 6) sorted by relevance
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryModuleBuilder.java | 204 public final class FactoryModuleBuilder { class 211 public <T> FactoryModuleBuilder implement(Class<T> source, Class<? extends T> target) { in implement() 218 public <T> FactoryModuleBuilder implement(Class<T> source, TypeLiteral<? extends T> target) { in implement() 225 public <T> FactoryModuleBuilder implement(TypeLiteral<T> source, Class<? extends T> target) { in implement() 232 public <T> FactoryModuleBuilder implement(TypeLiteral<T> source, in implement() 240 public <T> FactoryModuleBuilder implement(Class<T> source, Annotation annotation, in implement() 248 public <T> FactoryModuleBuilder implement(Class<T> source, Annotation annotation, in implement() 256 public <T> FactoryModuleBuilder implement(TypeLiteral<T> source, Annotation annotation, in implement() 264 public <T> FactoryModuleBuilder implement(TypeLiteral<T> source, Annotation annotation, in implement() 272 public <T> FactoryModuleBuilder implement(Class<T> source, in implement() [all …]
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
D | FactoryModuleBuilderTest.java | 61 install(new FactoryModuleBuilder().build(ColoredCarFactory.class)); in testImplicitForwardingAssistedBindingFailsWithInterface() 81 install(new FactoryModuleBuilder().build(ColoredAbstractCarFactory.class)); in testImplicitForwardingAssistedBindingFailsWithAbstractClass() 99 install(new FactoryModuleBuilder().build(MustangFactory.class)); in testImplicitForwardingAssistedBindingCreatesNewObjects() 117 install(new FactoryModuleBuilder() in testExplicitForwardingAssistedBindingFailsWithInterface() 140 install(new FactoryModuleBuilder() in testExplicitForwardingAssistedBindingFailsWithAbstractClass() 161 install(new FactoryModuleBuilder().implement(Car.class, Mustang.class).build( in testExplicitForwardingAssistedBindingCreatesNewObjects() 181 install(new FactoryModuleBuilder() in testAnnotatedAndParentBoundReturnValue() 198 install(new FactoryModuleBuilder() in testParentBoundReturnValue() 212 install(new FactoryModuleBuilder() in testConfigureAnnotatedReturnValue() 228 install(new FactoryModuleBuilder().build(MustangFactory.class)); in testNoBindingAssistedInject() [all …]
|
D | ManyConstructorsTest.java | 36 install(new FactoryModuleBuilder().build(Factory.class)); in testTwoConstructors() 52 install(new FactoryModuleBuilder().build(OtherFactory.class)); in testDifferentOrderParameters() 71 install(new FactoryModuleBuilder() in testInterfaceToImpl() 89 install(new FactoryModuleBuilder().build(SimpleFactory.class)); in testUsingOneConstructor() 100 install(new FactoryModuleBuilder().build(SimpleFactory2.class)); in testUsingOneConstructor() 114 install(new FactoryModuleBuilder() in testTooManyMatchingConstructors() 132 install(new FactoryModuleBuilder().build(ComplexFactory.class)); in testNoMatchingConstructorsBecauseTooManyParams() 148 install(new FactoryModuleBuilder().build(NullFactory.class)); in testNoMatchingConstrucotsBecauseTooLittleParams() 233 install(new FactoryModuleBuilder().build(FamilyFarmFactory.class)); in testDependenciesAndOtherAnnotations()
|
D | FactoryProvider2Test.java | 1111 install(new FactoryModuleBuilder().build(Delegater.Factory.class)); in testReturnValueMatchesParamValue() 1183 install(new FactoryModuleBuilder().build(ConcreteAssistedWithOverride.Factory.class)); in testGeneratedDefaultMethodsForwardCorrectly() 1184 install(new FactoryModuleBuilder().build(ConcreteAssistedWithOverride.Factory2.class)); in testGeneratedDefaultMethodsForwardCorrectly() 1185 install(new FactoryModuleBuilder().build(ConcreteAssistedWithoutOverride.Factory.class)); in testGeneratedDefaultMethodsForwardCorrectly() 1186 install(new FactoryModuleBuilder().build(Public.Factory.class)); in testGeneratedDefaultMethodsForwardCorrectly() 1187 install(new FactoryModuleBuilder().build(concreteKey)); in testGeneratedDefaultMethodsForwardCorrectly()
|
D | ExtensionSpiTest.java | 177 install(new FactoryModuleBuilder() in configure()
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/ |
D | AssistedInjectModule.java | 20 import com.google.inject.assistedinject.FactoryModuleBuilder; 31 install(new FactoryModuleBuilder() in configure()
|