Home
last modified time | relevance | path

Searched refs:IndexedBinding (Results 1 – 4 of 4) sorted by relevance

/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DIndexer.java43 class Indexer extends DefaultBindingTargetVisitor<Object, Indexer.IndexedBinding>
57 static class IndexedBinding { class in Indexer
65 IndexedBinding(Binding<?> binding, BindingType type, Object scope, Object extraEquality) { in IndexedBinding() method in Indexer.IndexedBinding
76 if (!(obj instanceof IndexedBinding)) { in equals()
79 IndexedBinding o = (IndexedBinding) obj; in equals()
108 @Override public Indexer.IndexedBinding visit(ConstructorBinding<? extends Object> binding) { in visit()
109 return new Indexer.IndexedBinding(binding, BindingType.CONSTRUCTOR, scope(binding), in visit()
113 @Override public Indexer.IndexedBinding visit( in visit()
115 return new Indexer.IndexedBinding(binding, BindingType.CONSTANT, scope(binding), in visit()
119 @Override public Indexer.IndexedBinding visit(ExposedBinding<? extends Object> binding) { in visit()
[all …]
DMapBinder.java48 import com.google.inject.multibindings.Indexer.IndexedBinding;
467 Multimap<K, IndexedBinding> index = HashMultimap.create(); in initialize()
DMultibinder.java325 Set<Indexer.IndexedBinding> index = Sets.newHashSet(); in initialize()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java61 import com.google.inject.multibindings.Indexer.IndexedBinding;
186 Multimap<Object, IndexedBinding> indexedEntries = in mapInjectorTest()
301 Multimap<Object, IndexedBinding> indexedEntries = in mapModuleTest()
477 Set<IndexedBinding> setOfIndexed = Sets.newHashSet(); in setInjectorTest()
549 Set<IndexedBinding> setOfIndexed = Sets.newHashSet(); in setModuleTest()
563 && !setOfIndexed.add((IndexedBinding) binding.acceptTargetVisitor(indexer))) { in setModuleTest()