Home
last modified time | relevance | path

Searched refs:implementationType (Results 1 – 5 of 5) sorted by relevance

/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider.java175 private final TypeLiteral<?> implementationType; field in FactoryProvider
178 public static <F> Provider<F> newFactory(Class<F> factoryType, Class<?> implementationType) { in newFactory() argument
179 return newFactory(TypeLiteral.get(factoryType), TypeLiteral.get(implementationType)); in newFactory()
183 TypeLiteral<F> factoryType, TypeLiteral<?> implementationType) { in newFactory() argument
185 createMethodMapping(factoryType, implementationType); in newFactory()
188 return new FactoryProvider<F>(factoryType, implementationType, factoryMethodToConstructor); in newFactory()
195 Key<?> implementationKey = Key.get(implementationType); in newFactory()
202 collector.addBinding(returnType, implementationType); in newFactory()
215 TypeLiteral<?> implementationType, in FactoryProvider() argument
218 this.implementationType = implementationType; in FactoryProvider()
[all …]
DFactoryProvider2.java139 final TypeLiteral<?> implementationType; field in FactoryProvider2.AssistData
157 TypeLiteral<?> implementationType, in AssistData() argument
165 this.implementationType = implementationType; in AssistData()
178 .add("implementation type", implementationType) in toString()
204 return implementationType; in getImplementationType()
785 .toConstructor(constructor, (TypeLiteral) data.implementationType) in getBindingFromNewInjector()
/external/dagger2/java/dagger/android/processor/
DAndroidMapKeyValidator.java170 private DeclaredType injectorFactoryOf(TypeMirror implementationType) { in injectorFactoryOf() argument
171 return types.getDeclaredType(factoryElement(), implementationType); in injectorFactoryOf()
/external/guice/core/src/com/google/inject/internal/
DInjectorImpl.java787 Class<?> implementationType = implementedBy.value();
790 if (implementationType == rawType) {
795 if (!rawType.isAssignableFrom(implementationType)) {
796 throw errors.notASubtype(implementationType, rawType).toException();
800 Class<? extends T> subclass = (Class<? extends T>) implementationType;
DErrors.java316 public Errors notASubtype(Class<?> implementationType, Class<?> type) { in notASubtype() argument
317 return addMessage("%s doesn't extend %s.", implementationType, type); in notASubtype()