Home
last modified time | relevance | path

Searched refs:resolvedBindings (Results 1 – 5 of 5) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DAbstractComponentWriter.java456 for (ResolvedBindings resolvedBindings : graph.resolvedBindings().values()) { in addFields()
457 addField(resolvedBindings); in addFields()
461 private void addField(ResolvedBindings resolvedBindings) { in addField() argument
462 BindingKey bindingKey = resolvedBindings.bindingKey(); in addField()
465 if (resolvedBindings.ownedBindings().isEmpty()) { in addField()
470 Optional<MemberSelect> staticMemberSelect = staticMemberSelect(resolvedBindings); in addField()
476 Optional<String> bindingPackage = bindingPackageFor(resolvedBindings.bindings()); in addField()
481 resolvedBindings.contributionBindings(); in addField()
489 if (resolvedBindings.ownedContributionBindings().contains(contributionBinding)) { in addField()
509 FrameworkField bindingField = FrameworkField.createForResolvedBindings(resolvedBindings); in addField()
[all …]
DFrameworkField.java90 static FrameworkField createForResolvedBindings(ResolvedBindings resolvedBindings) { in createForResolvedBindings() argument
91 BindingKey bindingKey = resolvedBindings.bindingKey(); in createForResolvedBindings()
95 resolvedBindings.contributionBindings(); in createForResolvedBindings()
100 FrameworkField.frameworkClassForResolvedBindings(resolvedBindings), in createForResolvedBindings()
106 FrameworkField.frameworkClassForResolvedBindings(resolvedBindings), in createForResolvedBindings()
118 resolvedBindings in createForResolvedBindings()
148 static Class<?> frameworkClassForResolvedBindings(ResolvedBindings resolvedBindings) { in frameworkClassForResolvedBindings() argument
149 switch (resolvedBindings.bindingKey().kind()) { in frameworkClassForResolvedBindings()
151 return any(resolvedBindings.contributionBindings(), Binding.Type.PRODUCTION) in frameworkClassForResolvedBindings()
DBindingGraph.java82 abstract ImmutableMap<BindingKey, ResolvedBindings> resolvedBindings(); in resolvedBindings() method in BindingGraph
121 return input.resolvedBindings().values(); in componentRequirements()
248 for (ResolvedBindings resolvedBindings : requestResolver.getResolvedBindings().values()) {
250 resolvedBindings.owningComponent().equals(componentDescriptor),
252 resolvedBindings,
278 final Map<BindingKey, ResolvedBindings> resolvedBindings;
294 this.resolvedBindings = Maps.newLinkedHashMap();
491 Optional<ResolvedBindings> result = Optional.fromNullable(resolvedBindings.get(bindingKey));
511 if (resolvedBindings.containsKey(bindingKey)) {
535 resolvedBindings.put(bindingKey, bindings);
[all …]
DMissingBindingSuggestions.java40 ResolvedBindings bindings = graph.resolvedBindings().get(key); in forKey()
DBindingGraphValidator.java716 ImmutableMap<BindingKey, ResolvedBindings> resolvedBindings = subject.resolvedBindings(); in validateComponentScope() local
719 for (ResolvedBindings bindings : resolvedBindings.values()) { in validateComponentScope()
1145 ResolvedBindings resolvedBindings = graph.resolvedBindings().get(bindingKey);
1148 resolvedBindings == null
1150 : resolvedBindings);