Home
last modified time | relevance | path

Searched refs:ProviderLookup (Results 1 – 10 of 10) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DDeferredLookups.java26 import com.google.inject.spi.ProviderLookup;
53 ProviderLookup<T> lookup = new ProviderLookup<T>(key, key); in getProvider()
DLookupProcessor.java22 import com.google.inject.spi.ProviderLookup;
48 @Override public <T> Boolean visit(ProviderLookup<T> lookup) { in visit()
/external/guice/core/src/com/google/inject/spi/
DProviderLookup.java40 public final class ProviderLookup<T> implements Element { class
45 public ProviderLookup(Object source, Key<T> key) { in ProviderLookup() method in ProviderLookup
50 public ProviderLookup(Object source, Dependency<T> dependency) { in ProviderLookup() method in ProviderLookup
DElementVisitor.java69 <T> V visit(ProviderLookup<T> lookup); in visit()
DDefaultElementVisitor.java62 public <T> V visit(ProviderLookup<T> providerLookup) { in visit()
DElements.java397 final ProviderLookup<T> element = new ProviderLookup<T>(getElementSource(), dependency); in getProvider()
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DOptionalBinder.java41 import com.google.inject.spi.ProviderLookup;
632 } else if (element instanceof ProviderLookup) { in containsElement()
633 elementKey = ((ProviderLookup<?>) element).getKey(); in containsElement()
DMapBinder.java55 import com.google.inject.spi.ProviderLookup;
408 } else if (element instanceof ProviderLookup) { in containsElement()
409 key = ((ProviderLookup<?>)element).getKey(); in containsElement()
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java810 @Override public <T> Void visit(ProviderLookup<T> command) { in testGetProvider()
818 @Override public <T> Void visit(ProviderLookup<T> command) { in testGetProvider()
849 public <T> Void visit(ProviderLookup<T> providerLookup) { in testElementInitialization()
851 ProviderLookup<String> stringLookup = (ProviderLookup<String>) providerLookup; in testElementInitialization()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java71 import com.google.inject.spi.ProviderLookup;
338 } else if(element instanceof ProviderLookup) { in mapModuleTest()
339 key = ((ProviderLookup)element).getKey(); in mapModuleTest()
903 } else if (element instanceof ProviderLookup) { in optionalModuleTest()
904 key = ((ProviderLookup) element).getKey(); in optionalModuleTest()