Home
last modified time | relevance | path

Searched refs:ContributionType (Results 1 – 3 of 3) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DContributionBinding.java70 static enum ContributionType { enum in ContributionBinding
83 ContributionType contributionType() { in contributionType()
87 return ContributionType.SET; in contributionType()
89 return ContributionType.MAP; in contributionType()
91 return ContributionType.UNIQUE; in contributionType()
222 ImmutableListMultimap<ContributionType, B> contributionTypesFor(
224 ImmutableListMultimap.Builder<ContributionType, B> builder = ImmutableListMultimap.builder();
225 builder.orderKeysBy(Ordering.<ContributionType>natural());
238 static ContributionType contributionTypeFor(Iterable<ContributionBinding> bindings) {
241 Set<ContributionType> types = EnumSet.noneOf(ContributionType.class);
DProductionBinding.java80 ContributionType contributionType() { in contributionType()
84 return ContributionType.SET; in contributionType()
86 return ContributionType.MAP; in contributionType()
88 return ContributionType.UNIQUE; in contributionType()
DBindingGraphValidator.java43 import dagger.internal.codegen.ContributionBinding.ContributionType;
304 ImmutableListMultimap<ContributionType, ContributionBinding> contributionsByType = in validateResolvedBinding()
850 ImmutableListMultimap<ContributionType, ContributionBinding> bindingsByType = in reportMultipleBindingTypes()
852 for (ContributionType type : in reportMultipleBindingTypes()
1099 private String formatBindingType(ContributionType type) {