Searched refs:factoryType (Results 1 – 4 of 4) sorted by relevance
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider.java | 174 private final TypeLiteral<F> factoryType; 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() 198 for (Method method : factoryType.getRawType().getMethods()) { in newFactory() 200 getKey(factoryType.getReturnType(method), method, method.getAnnotations(), errors); in newFactory() 209 return new FactoryProvider2<F>(Key.get(factoryType), collector); in newFactory() 214 TypeLiteral<F> factoryType, in FactoryProvider() argument [all …]
|
D | FactoryProvider2.java | 234 TypeLiteral<F> factoryType = factoryKey.getTypeLiteral(); in FactoryProvider2() local 238 Class<F> factoryRawType = (Class<F>) (Class<?>) factoryType.getRawType(); in FactoryProvider2() 265 TypeLiteral<?> returnTypeLiteral = factoryType.getReturnType(method); in FactoryProvider2() 280 List<TypeLiteral<?>> params = factoryType.getParameterTypes(method); in FactoryProvider2() 310 scope, implementation.getRawType(), factoryType); in FactoryProvider2() 332 if (isValidForOptimizedAssistedInject(deps, implementation.getRawType(), factoryType)) { in FactoryProvider2() 469 private void validateFactoryReturnType(Errors errors, Class<?> returnType, Class<?> factoryType) { in validateFactoryReturnType() argument 470 if (Modifier.isPublic(factoryType.getModifiers()) in validateFactoryReturnType() 476 factoryType, returnType); in validateFactoryReturnType() 641 Set<Dependency<?>> dependencies, Class<?> implementation, TypeLiteral<?> factoryType) { in isValidForOptimizedAssistedInject() argument [all …]
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | Key.java | 279 ExecutableElement method, TypeMirror valueType, TypeElement factoryType) { 281 TypeMirror mapValueFactoryType = types.getDeclaredType(factoryType, valueType);
|
D | AbstractComponentWriter.java | 637 TypeName factoryType = in implementInterfaceMethods() local 643 "%s factory = %s;", factoryType, memberSelectSnippet); in implementInterfaceMethods()
|