/external/dagger2/java/dagger/internal/codegen/writing/ |
D | ModuleProxies.java | 51 private final KotlinMetadataUtil metadataUtil; field in ModuleProxies 54 public ModuleProxies(DaggerElements elements, KotlinMetadataUtil metadataUtil) { in ModuleProxies() argument 56 this.metadataUtil = metadataUtil; in ModuleProxies() 66 private final KotlinMetadataUtil metadataUtil; field in ModuleProxies.ModuleConstructorProxyGenerator 74 KotlinMetadataUtil metadataUtil) { in ModuleConstructorProxyGenerator() argument 77 this.metadataUtil = metadataUtil; in ModuleConstructorProxyGenerator() 92 ModuleKind.checkIsModule(moduleElement, metadataUtil); in write() 113 ModuleKind.checkIsModule(moduleElement, metadataUtil); in constructorProxyTypeName() 126 ModuleKind.checkIsModule(moduleElement, metadataUtil); in nonPublicNullaryConstructor() 145 ModuleKind.checkIsModule(moduleElement, metadataUtil); in newModuleInstance()
|
D | SimpleMethodBindingExpression.java | 59 private final KotlinMetadataUtil metadataUtil; field in SimpleMethodBindingExpression 69 KotlinMetadataUtil metadataUtil) { in SimpleMethodBindingExpression() argument 73 this.metadataUtil = metadataUtil; in SimpleMethodBindingExpression() 111 } else if (metadataUtil.isObjectClass(asType(method.getEnclosingElement()))) { in invokeMethod() 145 metadataUtil)); in invokeInjectionMethod()
|
D | InjectionMethods.java | 121 KotlinMetadataUtil metadataUtil) { in create() argument 132 metadataUtil); in create() 148 KotlinMetadataUtil metadataUtil) { in invoke() argument 154 MethodSpec methodSpec = create(binding, compilerOptions, metadataUtil); in invoke() 263 static MethodSpec create(InjectionSite injectionSite, KotlinMetadataUtil metadataUtil) { in create() argument 272 metadataUtil); in create() 298 KotlinMetadataUtil metadataUtil) { in invokeAll() argument 322 metadataUtil)); in invokeAll() 336 KotlinMetadataUtil metadataUtil) { in invoke() argument 346 MethodSpec methodSpec = create(injectionSite, metadataUtil); in invoke() [all …]
|
D | MembersInjectionMethods.java | 56 private final KotlinMetadataUtil metadataUtil; field in MembersInjectionMethods 64 KotlinMetadataUtil metadataUtil) { in MembersInjectionMethods() argument 70 this.metadataUtil = metadataUtil; in MembersInjectionMethods() 119 metadataUtil)); in membersInjectionMethod() local
|
D | MembersInjectorGenerator.java | 75 private final KotlinMetadataUtil metadataUtil; field in MembersInjectorGenerator 83 KotlinMetadataUtil metadataUtil) { in MembersInjectorGenerator() argument 86 this.metadataUtil = metadataUtil; in MembersInjectorGenerator() 210 metadataUtil)); in write() local 219 injectorTypeBuilder.addMethod(InjectionSiteMethod.create(injectionSite, metadataUtil)); in write()
|
D | FactoryGenerator.java | 83 private final KotlinMetadataUtil metadataUtil; field in FactoryGenerator 92 KotlinMetadataUtil metadataUtil) { in FactoryGenerator() argument 96 this.metadataUtil = metadataUtil; in FactoryGenerator() 134 factoryBuilder.addMethod(ProvisionMethod.create(binding, compilerOptions, metadataUtil)); in factoryBuilder() 254 metadataUtil); in getMethod() 273 metadataUtil)) in getMethod()
|
D | ComponentBindingExpressions.java | 91 private final KotlinMetadataUtil metadataUtil; field in ComponentBindingExpressions 105 KotlinMetadataUtil metadataUtil) { in ComponentBindingExpressions() argument 118 componentImplementation, this, graph, elements, types, metadataUtil); in ComponentBindingExpressions() 121 this.metadataUtil = metadataUtil; in ComponentBindingExpressions() 590 metadataUtil)); in unscopedDirectInstanceExpression()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | ComponentRequirement.java | 125 DaggerElements elements, DaggerTypes types, KotlinMetadataUtil metadataUtil) { in nullPolicy() argument 131 return componentCanMakeNewInstances(typeElement(), metadataUtil) in nullPolicy() 133 : requiresAPassedInstance(elements, types, metadataUtil) in nullPolicy() 148 DaggerElements elements, DaggerTypes types, KotlinMetadataUtil metadataUtil) { in requiresAPassedInstance() argument 153 return requiresModuleInstance(elements, types, metadataUtil) in requiresAPassedInstance() 154 && !componentCanMakeNewInstances(typeElement(), metadataUtil); in requiresAPassedInstance() 168 DaggerElements elements, DaggerTypes types, KotlinMetadataUtil metadataUtil) { in requiresModuleInstance() argument 170 metadataUtil.isObjectClass(typeElement()) in requiresModuleInstance() 171 || metadataUtil.isCompanionObjectClass(typeElement()); in requiresModuleInstance() 250 TypeElement typeElement, KotlinMetadataUtil metadataUtil) { in componentCanMakeNewInstances() argument [all …]
|
D | ModuleDescriptor.java | 111 private final KotlinMetadataUtil metadataUtil; field in ModuleDescriptor.Factory 122 KotlinMetadataUtil metadataUtil, in Factory() argument 129 this.metadataUtil = metadataUtil; in Factory() 169 if (metadataUtil.hasEnclosedCompanionObject(moduleElement)) { in createUncached() 186 checkArgument(metadataUtil.hasEnclosedCompanionObject(moduleElement)); in collectCompanionModuleBindings() 187 TypeElement companionModule = metadataUtil.getEnclosedCompanionObject(moduleElement); in collectCompanionModuleBindings()
|
D | BindingFactory.java | 91 private final KotlinMetadataUtil metadataUtil; field in BindingFactory 101 KotlinMetadataUtil metadataUtil) { in BindingFactory() argument 108 this.metadataUtil = metadataUtil; in BindingFactory() 270 metadataUtil.isObjectClass(contributedBy) in setMethodBindingProperties() 271 || metadataUtil.isCompanionObjectClass(contributedBy); in setMethodBindingProperties() 479 metadataUtil.isObjectClass(delegateDeclaration.contributingModule().get()) in buildDelegateBinding() 480 || metadataUtil.isCompanionObjectClass(delegateDeclaration.contributingModule().get()); in buildDelegateBinding()
|
D | ModuleKind.java | 72 public static void checkIsModule(TypeElement moduleElement, KotlinMetadataUtil metadataUtil) { in checkIsModule() argument 75 if (metadataUtil.isCompanionObjectClass(moduleElement)) { in checkIsModule()
|
/external/dagger2/java/dagger/internal/codegen/ |
D | ModuleProcessingStep.java | 68 private final KotlinMetadataUtil metadataUtil; field in ModuleProcessingStep 81 KotlinMetadataUtil metadataUtil) { in ModuleProcessingStep() argument 91 this.metadataUtil = metadataUtil; in ModuleProcessingStep() 116 if (metadataUtil.isCompanionObjectClass(module)) { in process() 125 if (metadataUtil.hasEnclosedCompanionObject(module)) { in process() 126 generateForMethodsIn(metadataUtil.getEnclosedCompanionObject(module)); in process()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | BindingMethodValidator.java | 43 private final KotlinMetadataUtil metadataUtil; field in BindingMethodValidator 60 KotlinMetadataUtil metadataUtil, in BindingMethodValidator() argument 72 metadataUtil, in BindingMethodValidator() 93 KotlinMetadataUtil metadataUtil, in BindingMethodValidator() argument 105 this.metadataUtil = metadataUtil; in BindingMethodValidator() 169 if (metadataUtil.isCompanionObjectClass(enclosingElement)) { in checkEnclosingElement()
|
D | DependencyRequestValidator.java | 55 private final KotlinMetadataUtil metadataUtil; field in DependencyRequestValidator 62 KotlinMetadataUtil metadataUtil, in DependencyRequestValidator() argument 66 this.metadataUtil = metadataUtil; in DependencyRequestValidator() 88 && metadataUtil.hasMetadata(requestElement) in checkQualifiers() 89 && metadataUtil.isMissingSyntheticPropertyForAnnotations(asVariable(requestElement))) { in checkQualifiers()
|
D | InjectValidator.java | 73 private final KotlinMetadataUtil metadataUtil; field in InjectValidator 83 KotlinMetadataUtil metadataUtil) { in InjectValidator() argument 91 metadataUtil); in InjectValidator() 101 KotlinMetadataUtil metadataUtil) { in InjectValidator() argument 108 this.metadataUtil = metadataUtil; in InjectValidator() 131 metadataUtil); in whenGeneratingCode() 406 if (metadataUtil.isObjectClass(element) || metadataUtil.isCompanionObjectClass(element)) { in checkInjectIntoKotlinObject()
|
D | ModuleValidator.java | 129 private final KotlinMetadataUtil metadataUtil; field in ModuleValidator 142 KotlinMetadataUtil metadataUtil) { in ModuleValidator() argument 150 this.metadataUtil = metadataUtil; in ModuleValidator() 243 if (metadataUtil.hasEnclosedCompanionObject(module)) { in validateUncached() 449 if (metadataUtil.isCompanionObjectClass(module)) { in validateReferencedModules() 600 metadataUtil.isObjectClass(module) || metadataUtil.isCompanionObjectClass(module); in requiresModuleInstance() 649 checkArgument(metadataUtil.hasEnclosedCompanionObject(module)); in validateCompanionModule() 650 TypeElement companionModule = metadataUtil.getEnclosedCompanionObject(module); in validateCompanionModule() 679 if (!companionBindingMethods.isEmpty() && metadataUtil.isVisibilityPrivate(companionModule)) { in validateCompanionModule()
|
D | ComponentDescriptorValidator.java | 96 private final KotlinMetadataUtil metadataUtil; field in ComponentDescriptorValidator 105 KotlinMetadataUtil metadataUtil) { in ComponentDescriptorValidator() argument 111 this.metadataUtil = metadataUtil; in ComponentDescriptorValidator() 321 input -> input.nullPolicy(elements, types, metadataUtil).equals(NullPolicy.THROW)); in validateCreators()
|
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/ |
D | SubcomponentFactoryMethodValidator.java | 54 private final KotlinMetadataUtil metadataUtil; field in SubcomponentFactoryMethodValidator 58 SubcomponentFactoryMethodValidator(DaggerTypes types, KotlinMetadataUtil metadataUtil) { in SubcomponentFactoryMethodValidator() argument 60 this.metadataUtil = metadataUtil; in SubcomponentFactoryMethodValidator() 106 .filter(moduleType -> !componentCanMakeNewInstances(moduleType, metadataUtil)) in findMissingModules()
|
/external/dagger2/java/dagger/internal/codegen/componentgenerator/ |
D | ComponentHjarGenerator.java | 78 private final KotlinMetadataUtil metadataUtil; field in ComponentHjarGenerator 86 KotlinMetadataUtil metadataUtil) { in ComponentHjarGenerator() argument 90 this.metadataUtil = metadataUtil; in ComponentHjarGenerator() 152 requirement.requiresAPassedInstance(elements, types, metadataUtil))) { in write()
|
D | ComponentCreatorImplementationFactory.java | 73 private final KotlinMetadataUtil metadataUtil; field in ComponentCreatorImplementationFactory 81 KotlinMetadataUtil metadataUtil, in ComponentCreatorImplementationFactory() argument 86 this.metadataUtil = metadataUtil; in ComponentCreatorImplementationFactory() 240 requirement.nullPolicy(elements, types, metadataUtil).equals(NullPolicy.ALLOW) in normalSetterMethod() 313 switch (requirement.nullPolicy(elements, types, metadataUtil)) { in addNullHandlingForField() 337 if (!requirement.nullPolicy(elements, types, metadataUtil).equals(NullPolicy.ALLOW)) { in addNullHandlingForParameter()
|
D | ComponentImplementationBuilder.java | 106 private final KotlinMetadataUtil metadataUtil; field in ComponentImplementationBuilder 120 KotlinMetadataUtil metadataUtil) { in ComponentImplementationBuilder() argument 130 this.metadataUtil = metadataUtil; in ComponentImplementationBuilder() 498 dependency -> dependency.requiresAPassedInstance(elements, types, metadataUtil)); in canInstantiateAllRequirements()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/ |
D | BindValueMetadata.java | 106 KotlinMetadataUtil metadataUtil = KotlinMetadataUtils.getMetadataUtil(); in create() local 108 metadataUtil.hasMetadata(element) in create() 109 ? metadataUtil.getPropertyGetter(MoreElements.asVariable(element)) in create()
|
/external/dagger2/java/dagger/hilt/processor/internal/root/ |
D | RootMetadata.java | 204 KotlinMetadataUtil metadataUtil = KotlinMetadataUtils.getMetadataUtil(); in daggerCanConstruct() local 206 metadataUtil.isObjectClass(type) || metadataUtil.isCompanionObjectClass(type); in daggerCanConstruct()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/ |
D | AndroidEntryPointMetadata.java | 255 KotlinMetadataUtil metadataUtil = KotlinMetadataUtils.getMetadataUtil(); in of() local 257 !metadataUtil.hasMetadata(androidEntryPointElement) in of() 258 || !metadataUtil.containsConstructorWithDefaultParam(baseElement), in of()
|
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/ |
D | AggregatedDepsProcessor.java | 448 KotlinMetadataUtil metadataUtil = KotlinMetadataUtils.getMetadataUtil(); 449 return metadataUtil.isObjectClass(type) || metadataUtil.isCompanionObjectClass(type);
|