Home
last modified time | relevance | path

Searched refs:ElementSource (Results 1 – 11 of 11) 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()
63 ElementSource source = (ElementSource) i.getSource(); in testConstantBinding()
83 ElementSource source = (ElementSource) fooBinding.getSource(); in testLinkedBinding()
DModulesTest.java20 import com.google.inject.spi.ElementSource;
58 ElementSource source = (ElementSource) injector.getBinding(Integer.class).getSource(); in testCombineSources()
/external/guice/core/src/com/google/inject/internal/
DMessages.java31 import com.google.inject.spi.ElementSource;
156 ElementSource source = null; in convert()
157 if (o instanceof ElementSource) { in convert()
158 source = (ElementSource) o; in convert()
164 static Object convert(Object o, ElementSource source) { in convert()
173 private static Object appendModules(Object source, ElementSource elementSource) { in appendModules()
182 private static String moduleSourceString(ElementSource elementSource) { in moduleSourceString()
215 ElementSource elementSource = null; in formatSource()
216 if (source instanceof ElementSource) { in formatSource()
217 elementSource = (ElementSource) source; in formatSource()
[all …]
DErrors.java33 import com.google.inject.spi.ElementSource;
656 public static Object convert(Object o, ElementSource source) {
/external/guice/core/src/com/google/inject/spi/
DElementSource.java53 public final class ElementSource { class
59 final ElementSource originalElementSource;
88 ElementSource( in ElementSource() method in ElementSource
89 /* @Nullable */ ElementSource originalSource, in ElementSource()
106 public ElementSource getOriginalElementSource() { in getOriginalElementSource()
DElements.java527 private ElementSource getElementSource() { in getElementSource()
533 ElementSource originalSource = null; in getElementSource()
536 if (declaringSource instanceof ElementSource) { in getElementSource()
537 originalSource = (ElementSource) declaringSource; in getElementSource()
561 return new ElementSource(originalSource, declaringSource, moduleSource, partialCallStack); in getElementSource()
/external/guice/core/test/com/google/inject/spi/
DElementSourceTest.java40 ElementSource elementSource = in testCallStackSize()
41 new ElementSource( in testCallStackSize()
56 ElementSource elementSource = (ElementSource) binding.getSource(); in testGetCallStack_IntegrationTest()
DModuleAnnotatedMethodScannerTest.java210 ElementSource source = (ElementSource) Iterables.getOnlyElement(m.getSources());
DSpiBindingsTest.java455 ElementSource source = (ElementSource) binding.getSource(); in checkBindingSource()
DElementsTest.java1364 ElementSource source = (ElementSource) element.getSource(); in checkElements()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DShortNameFactory.java25 import com.google.inject.spi.ElementSource;
105 if (source instanceof ElementSource) { in getSourceName()
106 source = ((ElementSource) source).getDeclaringSource(); in getSourceName()