Home
last modified time | relevance | path

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

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DSubcomponentWriter.java23 import dagger.internal.codegen.ComponentGenerator.MemberSelect;
90 protected MemberSelect getMemberSelect(BindingKey key) { in getMemberSelect()
91 MemberSelect memberSelect = super.getMemberSelect(key); in getMemberSelect()
96 protected Optional<MemberSelect> getMultibindingContributionSnippet(ContributionBinding binding) { in getMultibindingContributionSnippet()
184 MemberSelect moduleSelect = in writeSubcomponentWithoutBuilder()
185 MemberSelect.instanceSelect(name, Snippet.format(actualModuleName)); in writeSubcomponentWithoutBuilder()
202 MemberSelect moduleSelect = in writeSubcomponentWithoutBuilder()
203 MemberSelect.instanceSelect(name, Snippet.format(actualModuleName)); in writeSubcomponentWithoutBuilder()
DComponentGenerator.java77 @AutoValue static abstract class MemberSelect { class in ComponentGenerator
78 static MemberSelect instanceSelect(ClassName owningClass, Snippet snippet) { in instanceSelect()
83 static MemberSelect staticSelect(ClassName owningClass, Snippet snippet) { in staticSelect()
88 static MemberSelect staticMethodInvocationWithCast( in staticMethodInvocationWithCast()
DAbstractComponentWriter.java42 import dagger.internal.codegen.ComponentGenerator.MemberSelect;
92 import static dagger.internal.codegen.ComponentGenerator.MemberSelect.staticMethodInvocationWithCas…
93 import static dagger.internal.codegen.ComponentGenerator.MemberSelect.staticSelect;
135 private final Map<BindingKey, MemberSelect> memberSelectSnippets = new HashMap<>();
136 private final Map<ContributionBinding, MemberSelect> multibindingContributionSnippets =
153 protected final Map<TypeElement, MemberSelect> componentContributionFields = Maps.newHashMap();
198 MemberSelect fieldSelect = componentContributionFields.get(contributionType); in getOrCreateComponentContributionFieldSnippet()
212 fieldSelect = MemberSelect.instanceSelect(name, Snippet.format("%s", componentField.name())); in getOrCreateComponentContributionFieldSnippet()
222 protected MemberSelect getMemberSelect(BindingKey key) { in getMemberSelect()
226 protected Optional<MemberSelect> getMultibindingContributionSnippet(ContributionBinding binding) { in getMultibindingContributionSnippet()
[all …]