Home
last modified time | relevance | path

Searched refs:contributionBinding (Results 1 – 4 of 4) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DFrameworkField.java67 int contributionNumber, ContributionBinding contributionBinding) { in createForSyntheticContributionBinding() argument
68 switch (contributionBinding.contributionType()) { in createForSyntheticContributionBinding()
71 contributionBinding.frameworkClass(), in createForSyntheticContributionBinding()
72 contributionBinding.bindingKey(), in createForSyntheticContributionBinding()
73 KeyVariableNamer.INSTANCE.apply(contributionBinding.key()) in createForSyntheticContributionBinding()
80 contributionBinding.frameworkClass(), in createForSyntheticContributionBinding()
81 contributionBinding.bindingKey(), in createForSyntheticContributionBinding()
82 KeyVariableNamer.INSTANCE.apply(contributionBinding.key()) in createForSyntheticContributionBinding()
DSourceFiles.java236 ContributionBinding contributionBinding = (ContributionBinding) binding; in bindingTypeParameters() local
237 if (contributionBinding.contributionType().isMultibinding()) { in bindingTypeParameters()
240 switch (contributionBinding.bindingKind()) { in bindingTypeParameters()
242 bindingType = contributionBinding.key().type(); in bindingTypeParameters()
250 bindingType = contributionBinding.bindingTypeElement().asType(); in bindingTypeParameters()
DAbstractComponentWriter.java486 for (ContributionBinding contributionBinding : contributionBindings) { in addField()
487 if (!contributionBinding.isSyntheticBinding()) { in addField()
489 if (resolvedBindings.ownedContributionBindings().contains(contributionBinding)) { in addField()
492 contributionNumber, contributionBinding); in addField()
501 contributionBinding, in addField()
548 ContributionBinding contributionBinding = in staticMemberSelect() local
550 if (contributionBinding.contributionType().isMultibinding() in staticMemberSelect()
551 || !(contributionBinding.bindingType().equals(Binding.Type.PROVISION))) { in staticMemberSelect()
554 if (contributionBinding.factoryCreationStrategy().equals(ENUM_INSTANCE) in staticMemberSelect()
555 && !contributionBinding.scope().isPresent()) { in staticMemberSelect()
[all …]
DBindingGraphValidator.java721 for (ContributionBinding contributionBinding : bindings.ownedContributionBindings()) { in validateComponentScope()
722 Scope bindingScope = contributionBinding.scope(); in validateComponentScope()
728 switch (contributionBinding.bindingKind()) { in validateComponentScope()
731 MoreElements.asExecutable(contributionBinding.bindingElement()); in validateComponentScope()
739 + contributionBinding.bindingTypeElement().getQualifiedName()); in validateComponentScope()