Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/codegen/binding/
DDelegateDeclaration.java74 ExecutableElement bindsMethod, TypeElement contributingModule) { in create() argument
78 types.asMemberOf(MoreTypes.asDeclared(contributingModule.asType()), bindsMethod)); in create()
85 keyFactory.forBindsMethod(bindsMethod, contributingModule), in create()
87 Optional.of(contributingModule), in create()
DBindingDeclaration.java48 declaration.contributingModule().isPresent()
49 ? declaration.contributingModule()
86 public abstract Optional<TypeElement> contributingModule(); in contributingModule() method in BindingDeclaration
DOptionalBindingDeclaration.java60 OptionalBindingDeclaration forMethod(ExecutableElement method, TypeElement contributingModule) { in forMethod() argument
64 Optional.of(contributingModule), in forMethod()
65 keyFactory.forBindsOptionalOfMethod(method, contributingModule)); in forMethod()
DKeyFactory.java132 public Key forProvidesMethod(ExecutableElement method, TypeElement contributingModule) { in forProvidesMethod() argument
134 method, contributingModule, Optional.of(elements.getTypeElement(Provider.class))); in forProvidesMethod()
137 public 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 …]
DContributionBinding.java181 abstract B contributingModule(TypeElement contributingModule); in contributingModule() method in ContributionBinding.Builder
201 binding.contributingModule().isPresent() in build()
DBindingNode.java105 public Optional<TypeElement> contributingModule() { in contributingModule() method in BindingNode
106 return delegate().contributingModule(); in contributingModule()
DBindingDeclarationFormatter.java85 .contributingModule() in format()
123 subcomponentDeclaration.contributingModule().get()); in formatSubcomponentDeclaration()
DBindingFactory.java275 .contributingModule(contributedBy) in setMethodBindingProperties()
479 metadataUtil.isObjectClass(delegateDeclaration.contributingModule().get()) in buildDelegateBinding()
480 || metadataUtil.isCompanionObjectClass(delegateDeclaration.contributingModule().get()); in buildDelegateBinding()
484 .contributingModule(delegateDeclaration.contributingModule().get()) in buildDelegateBinding()
DSubcomponentCreatorBindingEdgeImpl.java41 .map(SubcomponentDeclaration::contributingModule) in declaringModules()
DMembersInjectionBinding.java50 public Optional<TypeElement> contributingModule() { in contributingModule() method in MembersInjectionBinding
DBinding.java56 if (!bindingElement().isPresent() || !contributingModule().isPresent()) { in requiresModuleInstance()
DBindingGraph.java173 .map(BindingNode::contributingModule) in create()
DBindingGraphFactory.java683 declaration.contributingModule().equals(binding.contributingModule()) in resolverContainsDelegateDeclarationForBinding()
/external/dagger2/java/dagger/model/
DBinding.java65 Optional<TypeElement> contributingModule(); in contributingModule() method
DKey.java230 ExecutableElement bindingMethod, TypeElement contributingModule) {
233 contributingModule.getQualifiedName().toString());
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDuplicateBindingsValidator.java334 abstract Optional<TypeElement> contributingModule(); in contributingModule() method in DuplicateBindingsValidator.BindingElement
342 binding.kind(), binding.bindingElement(), binding.contributingModule()); in forBinding()
DSubcomponentFactoryMethodValidator.java99 .map(binding -> binding.contributingModule().get()) in findMissingModules()
/external/dagger2/java/dagger/internal/codegen/writing/
DSimpleMethodBindingExpression.java176 .contributingModule() in moduleReference()
DComponentBindingExpressions.java163 ComponentRequirement.forModule(binding.contributingModule().get().asType()), in getCreateMethodArgumentsCodeBlocks()
/external/auto/common/src/test/java/com/google/auto/common/
DOverridesTest.java197 abstract Optional<TypeElement> contributingModule(); in contributingModule() method in OverridesTest.MoreTypesForInheritance.BindingDeclaration