Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DReflectionTest.java21 import com.google.inject.spi.ElementSource;
46 ElementSource source = (ElementSource) fooBinding.getSource(); in testNormalBinding()
60 ElementSource source = (ElementSource) i.getSource(); in testConstantBinding()
77 ElementSource source = (ElementSource) fooBinding.getSource(); in testLinkedBinding()
DModulesTest.java20 import com.google.inject.spi.ElementSource;
62 ElementSource source = (ElementSource) injector.getBinding(Integer.class).getSource(); in testCombineSources()
/external/guice/core/src/com/google/inject/spi/
DElementSource.java60 public final class ElementSource { class
66 final ElementSource originalElementSource;
94 ElementSource(/* @Nullable */ ElementSource originalSource, Object declaringSource, in ElementSource() method in ElementSource
109 public ElementSource getOriginalElementSource() { in getOriginalElementSource()
DElements.java505 private ElementSource getElementSource() { in getElementSource()
511 ElementSource originalSource = null; in getElementSource()
514 if (declaringSource instanceof ElementSource) { in getElementSource()
515 originalSource = (ElementSource) declaringSource; in getElementSource()
539 return new ElementSource( in getElementSource()
/external/guice/core/test/com/google/inject/spi/
DElementSourceTest.java38 ElementSource elementSource = new ElementSource( in testCallStackSize()
50 ElementSource elementSource = (ElementSource) binding.getSource(); in testGetCallStack_IntegrationTest()
DModuleAnnotatedMethodScannerTest.java182 ElementSource source = (ElementSource) Iterables.getOnlyElement(m.getSources());
DSpiBindingsTest.java413 ElementSource source = (ElementSource) binding.getSource(); in checkBindingSource()
DElementsTest.java1292 ElementSource source = (ElementSource) element.getSource(); in checkElements()
/external/guice/core/src/com/google/inject/internal/
DErrors.java38 import com.google.inject.spi.ElementSource;
721 ElementSource source = null;
722 if (o instanceof ElementSource) {
723 source = (ElementSource)o;
729 public static Object convert(Object o, ElementSource source) {
738 private static Object appendModules(Object source, ElementSource elementSource) {
747 private static String moduleSourceString(ElementSource elementSource) {
780 ElementSource elementSource = null;
781 if (source instanceof ElementSource) {
782 elementSource = (ElementSource)source;
[all …]
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DShortNameFactory.java25 import com.google.inject.spi.ElementSource;
102 if (source instanceof ElementSource) { in getSourceName()
103 source = ((ElementSource) source).getDeclaringSource(); in getSourceName()