Searched refs:implementationType (Results 1 – 4 of 4) sorted by relevance
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider.java | 175 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 …]
|
D | FactoryProvider2.java | 139 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/guice/core/src/com/google/inject/internal/ |
D | InjectorImpl.java | 787 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;
|
D | Errors.java | 316 public Errors notASubtype(Class<?> implementationType, Class<?> type) { in notASubtype() argument 317 return addMessage("%s doesn't extend %s.", implementationType, type); in notASubtype()
|