/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/java/dagger/internal/codegen/writing/ |
D | AssistedFactoryBindingExpression.java | 85 DeclaredType factoryType = asDeclared(binding.key().type()); in anonymousfactoryImpl() local 89 MethodSpec factoryOverride = MethodSpec.overriding(factoryMethod, factoryType, types).build(); in anonymousfactoryImpl() 104 builder.addSuperinterface(TypeName.get(factoryType)); in anonymousfactoryImpl() 106 builder.superclass(TypeName.get(factoryType)); in anonymousfactoryImpl()
|
D | OptionalFactories.java | 209 ParameterizedTypeName factoryType() { 239 return Optional.of(factoryType()); 319 spec.factoryType(), 342 .returns(spec.factoryType()) 409 spec.factoryType() + " objects are not supported");
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | AssistedInjectionAnnotations.java | 171 DeclaredType factoryType = asDeclared(factory); in create() local 172 TypeElement factoryElement = asTypeElement(factoryType); in create() 174 ExecutableType factoryMethodType = asExecutable(types.asMemberOf(factoryType, factoryMethod)); in create() 178 factoryType, in create() 190 public abstract DeclaredType factoryType(); in factoryType() method in AssistedInjectionAnnotations.AssistedFactoryMetadata
|
D | BindingFactory.java | 180 DeclaredType factoryType = MoreTypes.asDeclared(factory.asType()); in assistedFactoryBinding() local 181 if (!factoryType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in assistedFactoryBinding() 186 types.isSameType(types.erasure(resolved), types.erasure(factoryType)), in assistedFactoryBinding() 189 types.erasure(factoryType)); in assistedFactoryBinding() 190 factoryType = resolved; in assistedFactoryBinding() 196 MoreTypes.asExecutable(types.asMemberOf(factoryType, factoryMethod)); in assistedFactoryBinding() 199 .key(Key.builder(factoryType).build()) in assistedFactoryBinding()
|
/external/dagger2/java/dagger/internal/codegen/javapoet/ |
D | TypeNames.java | 103 public static ParameterizedTypeName factoryOf(TypeName factoryType) { in factoryOf() argument 104 return ParameterizedTypeName.get(FACTORY, factoryType); in factoryOf()
|
/external/dagger2/java/dagger/internal/codegen/ |
D | AssistedFactoryProcessingStep.java | 306 MethodSpec.overriding(metadata.factoryMethod(), metadata.factoryType(), types) in write() 331 ? CodeBlock.of("<$T>", types.accessibleType(metadata.factoryType(), name)) in write()
|
/external/harfbuzz_ng/src/ |
D | hb-directwrite.cc | 38 DWRITE_FACTORY_TYPE factoryType,
|