Searched refs:implementationType (Results 1 – 4 of 4) sorted by relevance
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider.java | 163 private final TypeLiteral<?> implementationType; field in FactoryProvider 166 public static <F> Provider<F> newFactory(Class<F> factoryType, Class<?> implementationType){ in newFactory() argument 167 return newFactory(TypeLiteral.get(factoryType), TypeLiteral.get(implementationType)); in newFactory() 171 TypeLiteral<F> factoryType, TypeLiteral<?> implementationType) { in newFactory() argument 173 = createMethodMapping(factoryType, implementationType); in newFactory() 176 return new FactoryProvider<F>(factoryType, implementationType, factoryMethodToConstructor); in newFactory() 183 Key<?> implementationKey = Key.get(implementationType); in newFactory() 190 collector.addBinding(returnType, implementationType); in newFactory() 202 TypeLiteral<?> implementationType, in FactoryProvider() argument 205 this.implementationType = implementationType; in FactoryProvider() [all …]
|
D | FactoryProvider2.java | 126 final TypeLiteral<?> implementationType; field in FactoryProvider2.AssistData 141 TypeLiteral<?> implementationType, Method factoryMethod, in AssistData() argument 147 this.implementationType = implementationType; in AssistData() 160 .add("implementation type", implementationType) in toString() 182 return implementationType; in getImplementationType() 720 .toConstructor(constructor, (TypeLiteral)data.implementationType) in getBindingFromNewInjector()
|
/external/guice/core/src/com/google/inject/internal/ |
D | InjectorImpl.java | 732 Class<?> implementationType = implementedBy.value(); 735 if (implementationType == rawType) { 740 if (!rawType.isAssignableFrom(implementationType)) { 741 throw errors.notASubtype(implementationType, rawType).toException(); 745 Class<? extends T> subclass = (Class<? extends T>) implementationType;
|
D | Errors.java | 209 public Errors notASubtype(Class<?> implementationType, Class<?> type) { in notASubtype() argument 210 return addMessage("%s doesn't extend %s.", implementationType, type); in notASubtype()
|