Home
last modified time | relevance | path

Searched refs:contributionType (Results 1 – 6 of 6) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DAbstractComponentWriter.java182 private Snippet getComponentContributionSnippet(TypeElement contributionType) { in getComponentContributionSnippet() argument
183 if (builderFields.containsKey(contributionType)) { in getComponentContributionSnippet()
184 return Snippet.format("builder.%s", builderFields.get(contributionType).name()); in getComponentContributionSnippet()
186 Optional<Snippet> snippet = getOrCreateComponentContributionFieldSnippet(contributionType); in getComponentContributionSnippet()
187 checkState(snippet.isPresent(), "no builder or component field for %s", contributionType); in getComponentContributionSnippet() local
197 TypeElement contributionType) { in getOrCreateComponentContributionFieldSnippet() argument
198 MemberSelect fieldSelect = componentContributionFields.get(contributionType); in getOrCreateComponentContributionFieldSnippet()
200 if (!builderFields.containsKey(contributionType)) { in getOrCreateComponentContributionFieldSnippet()
204 componentWriter.addField(contributionType, simpleVariableName(contributionType)); in getOrCreateComponentContributionFieldSnippet()
211 builderFields.get(contributionType).name()); in getOrCreateComponentContributionFieldSnippet()
[all …]
DContributionBinding.java83 ContributionType contributionType() { in contributionType() method in ContributionBinding
227 builder.put(binding.contributionType(), binding);
243 types.add(binding.contributionType());
DSubcomponentWriter.java84 TypeElement contributionType) { in getOrCreateComponentContributionFieldSnippet() argument
85 return super.getOrCreateComponentContributionFieldSnippet(contributionType) in getOrCreateComponentContributionFieldSnippet()
86 .or(parent.getOrCreateComponentContributionFieldSnippet(contributionType)); in getOrCreateComponentContributionFieldSnippet()
DFrameworkField.java68 switch (contributionBinding.contributionType()) { in createForSyntheticContributionBinding()
DProductionBinding.java80 ContributionType contributionType() { in contributionType() method in ProductionBinding
DSourceFiles.java237 if (contributionBinding.contributionType().isMultibinding()) { in bindingTypeParameters()