Home
last modified time | relevance | path

Searched refs:multibinding (Results 1 – 11 of 11) sorted by relevance

/external/google-fruit/src/
Dinjector_storage.cpp103 for (NormalizedMultibinding& multibinding : multibinding_set.elems) { in ensureConstructedMultibinding()
104 if (!multibinding.is_constructed) { in ensureConstructedMultibinding()
105 multibinding.object = multibinding.create(*this); in ensureConstructedMultibinding()
106 multibinding.is_constructed = true; in ensureConstructedMultibinding()
Dbinding_normalization.cpp346 …[&multibindings_vector](ComponentStorageEntry multibinding, ComponentStorageEntry multibinding_vec… in normalizeBindingsAndAddTo() argument
347 multibindings_vector.emplace_back(multibinding, multibinding_vector_creator); in normalizeBindingsAndAddTo()
/external/guice/core/test/com/google/inject/internal/
DCollector.java38 public Object visit(MultibinderBinding<? extends Object> multibinding) { in visit() argument
39 this.setbinding = multibinding; in visit()
DSpiUtils.java1302 public Object visit(MultibinderBinding<? extends T> multibinding) { in visit() argument
1303 return multibinding; in visit()
DMultibinderTest.java1106 Module multibinding = in testDuplicateUnscopedBindings() local
1119 Guice.createInjector(singleBinding, multibinding).getInstance(Key.get(setOfInteger))); in testDuplicateUnscopedBindings()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDuplicateBindingsValidator.java251 dagger.model.Binding multibinding = getOnlyElement(multibindings); in incompatibleBindingsMessage() local
252 messageFormatter.format("%s bindings and declarations:", multibindingTypeString(multibinding)); in incompatibleBindingsMessage()
256 Sets.filter(duplicateBindings, binding -> !binding.equals(multibinding)); in incompatibleBindingsMessage()
302 private String multibindingTypeString(dagger.model.Binding multibinding) { in multibindingTypeString() argument
303 switch (multibinding.kind()) { in multibindingTypeString()
309 throw new AssertionError(multibinding); in multibindingTypeString()
/external/dagger2/java/dagger/hilt/android/lifecycle/
Dproguard-rules.pro1 # Keep class names of Hilt injected ViewModels since their name are used as a multibinding map key.
/external/guice/core/src/com/google/inject/multibindings/
DMultibindingsTargetVisitor.java34 V visit(MultibinderBinding<? extends T> multibinding); in visit() argument
/external/google-fruit/tests/
Dtested_features.md153 * for a type that has 1 multibinding
161 * **TODO** Injector with a single multibinding and nothing else
/external/google-fruit/include/fruit/impl/injector/
Dinjector_storage.defn.h340 for (const NormalizedMultibinding& multibinding : multibinding_set->elems) {
341 FruitAssert(multibinding.is_constructed);
342 s.push_back(reinterpret_cast<C*>(multibinding.object));
/external/google-fruit/include/fruit/impl/normalized_component_storage/
Dbinding_normalization.templates.h700 …[&multibindings_vector](ComponentStorageEntry multibinding, ComponentStorageEntry multibinding_vec… in normalizeBindingsWithBindingCompression()
701 multibindings_vector.emplace_back(multibinding, multibinding_vector_creator); in normalizeBindingsWithBindingCompression()