Searched refs:contributionBindings (Results 1 – 5 of 5) sorted by relevance
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | ResolvedBindings.java | 72 return contributionBindings(); in bindings() 104 ImmutableSet<ContributionBinding> contributionBindings() { in contributionBindings() method in ResolvedBindings 152 Multimap<ComponentDescriptor, ? extends ContributionBinding> contributionBindings) { in forContributionBindings() argument 157 ImmutableSetMultimap.<ComponentDescriptor, ContributionBinding>copyOf(contributionBindings), in forContributionBindings() 216 && !contributionBindings().isEmpty() in isMultibindings() 217 && contributionTypeFor(contributionBindings()).isMultibinding(); in isMultibindings() 225 && !contributionBindings().isEmpty() in isUniqueContribution() 226 && !contributionTypeFor(contributionBindings()).isMultibinding(); in isUniqueContribution()
|
D | FrameworkField.java | 94 ImmutableSet<ContributionBinding> contributionBindings = in createForResolvedBindings() local 95 resolvedBindings.contributionBindings(); in createForResolvedBindings() 96 switch (contributionTypeFor(contributionBindings)) { in createForResolvedBindings() 104 ContributionBinding binding = getOnlyElement(contributionBindings); in createForResolvedBindings() 151 return any(resolvedBindings.contributionBindings(), Binding.Type.PRODUCTION) in frameworkClassForResolvedBindings()
|
D | BindingGraphValidator.java | 287 ImmutableSet<ContributionBinding> contributionBindings = in validateResolvedBinding() local 288 resolvedBinding.contributionBindings(); in validateResolvedBinding() 289 if (any(contributionBindings, Binding.Type.MEMBERS_INJECTION)) { in validateResolvedBinding() 293 if (!validateNullability(path.peek().request(), contributionBindings)) { in validateResolvedBinding() 296 if (any(contributionBindings, Binding.Type.PRODUCTION) in validateResolvedBinding() 301 if (contributionBindings.size() <= 1) { in validateResolvedBinding() 305 ContributionBinding.contributionTypesFor(contributionBindings); in validateResolvedBinding() 315 boolean duplicateMapKeys = hasDuplicateMapKeys(path, contributionBindings); in validateResolvedBinding() 317 hasInconsistentMapKeyAnnotationTypes(path, contributionBindings); in validateResolvedBinding() 392 Deque<ResolvedRequest> path, Set<ContributionBinding> contributionBindings) { in hasInconsistentMapKeyAnnotationTypes() argument [all …]
|
D | AbstractComponentWriter.java | 480 ImmutableSet<ContributionBinding> contributionBindings = in addField() local 481 resolvedBindings.contributionBindings(); in addField() 482 if (ContributionBinding.contributionTypeFor(contributionBindings).isMultibinding()) { in addField() 486 for (ContributionBinding contributionBinding : contributionBindings) { in addField() 545 if (resolvedBindings.contributionBindings().size() != 1) { in staticMemberSelect() 549 getOnlyElement(resolvedBindings.contributionBindings()); in staticMemberSelect() 724 switch (contributionTypeFor(resolvedBindings.contributionBindings())) { in initializeFrameworkType() 747 for (ContributionBinding binding : resolvedBindings.contributionBindings()) { in initializeSetMultibindings() 764 Iterables.all(resolvedBindings.contributionBindings(), Binding.Type.PROVISION) in initializeSetMultibindings() 783 if (any(resolvedBindings.contributionBindings(), Binding.Type.PRODUCTION)) { in initializeMapMultibindings() [all …]
|
D | BindingGraph.java | 129 ? input.contributionBindings() in componentRequirements()
|