Home
last modified time | relevance | path

Searched refs:contributingModule (Results 1 – 19 of 19) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/
DDelegateDeclaration.java73 ExecutableElement bindsMethod, TypeElement contributingModule) { in create() argument
77 types.asMemberOf(MoreTypes.asDeclared(contributingModule.asType()), bindsMethod)); in create()
84 keyFactory.forBindsMethod(bindsMethod, contributingModule), in create()
86 Optional.of(contributingModule), in create()
DKeyFactory.java132 Key forProvidesMethod(ExecutableElement method, TypeElement contributingModule) { in forProvidesMethod() argument
134 method, contributingModule, Optional.of(elements.getTypeElement(Provider.class))); in forProvidesMethod()
137 Key forProducesMethod(ExecutableElement method, TypeElement contributingModule) { in forProducesMethod() argument
139 method, contributingModule, Optional.of(elements.getTypeElement(Producer.class))); in forProducesMethod()
143 Key forBindsMethod(ExecutableElement method, TypeElement contributingModule) { in forBindsMethod() argument
145 return forBindingMethod(method, contributingModule, Optional.empty()); in forBindsMethod()
149 Key forBindsOptionalOfMethod(ExecutableElement method, TypeElement contributingModule) { in forBindsOptionalOfMethod() argument
151 return forBindingMethod(method, contributingModule, Optional.empty()); in forBindsOptionalOfMethod()
156 TypeElement contributingModule, in forBindingMethod() argument
161 types.asMemberOf(MoreTypes.asDeclared(contributingModule.asType()), method)); in forBindingMethod()
[all …]
DOptionalBindingDeclaration.java60 OptionalBindingDeclaration forMethod(ExecutableElement method, TypeElement contributingModule) { in forMethod() argument
64 Optional.of(contributingModule), in forMethod()
65 keyFactory.forBindsOptionalOfMethod(method, contributingModule)); in forMethod()
DBindingNode.java104 public Optional<TypeElement> contributingModule() { in contributingModule() method in BindingNode
105 return delegate().contributingModule(); in contributingModule()
DBindingDeclarationFormatter.java84 .contributingModule() in format()
122 subcomponentDeclaration.contributingModule().get()); in formatSubcomponentDeclaration()
DDuplicateBindingsValidator.java67 declaration.contributingModule().isPresent()
68 ? declaration.contributingModule()
321 abstract Optional<TypeElement> contributingModule(); in contributingModule() method in DuplicateBindingsValidator.BindingElement
329 binding.kind(), binding.bindingElement(), binding.contributingModule()); in forBinding()
DContributionBinding.java195 abstract B contributingModule(TypeElement contributingModule); in contributingModule() argument
DBindingDeclaration.java61 abstract Optional<TypeElement> contributingModule(); in contributingModule() method in BindingDeclaration
DSubcomponentCreatorBindingEdgeImpl.java41 .map(SubcomponentDeclaration::contributingModule) in declaringModules()
DMembersInjectionBinding.java52 public Optional<TypeElement> contributingModule() { in contributingModule() method in MembersInjectionBinding
DBindingFactory.java211 .contributingModule(contributedBy) in setMethodBindingProperties()
416 .contributingModule(delegateDeclaration.contributingModule().get()) in buildDelegateBinding()
DBindingGraph.java177 .map(ContributionBinding::contributingModule) in requiredModuleElements()
DSubcomponentFactoryMethodValidator.java94 .map(binding -> binding.contributingModule().get()) in findMissingModules()
DSimpleMethodBindingExpression.java181 .contributingModule() in moduleReference()
DBinding.java66 if (!bindingElement().isPresent() || !contributingModule().isPresent()) { in requiresModuleInstance()
DBindingGraphFactory.java690 declaration.contributingModule().equals(binding.contributingModule()) in resolverContainsDelegateDeclarationForBinding()
DComponentBindingExpressions.java158 ComponentRequirement.forModule(binding.contributingModule().get().asType()), in getCreateMethodArgumentsCodeBlocks()
/external/dagger2/java/dagger/model/
DBinding.java65 Optional<TypeElement> contributingModule(); in contributingModule() method
DKey.java230 ExecutableElement bindingMethod, TypeElement contributingModule) {
233 contributingModule.getQualifiedName().toString());