Searched refs:ElementSource (Results 1 – 11 of 11) sorted by relevance
21 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()
20 import com.google.inject.spi.ElementSource;58 ElementSource source = (ElementSource) injector.getBinding(Integer.class).getSource(); in testCombineSources()
53 public final class ElementSource { class59 final ElementSource originalElementSource;88 ElementSource( in ElementSource() method in ElementSource89 /* @Nullable */ ElementSource originalSource, in ElementSource()106 public ElementSource getOriginalElementSource() { in getOriginalElementSource()
527 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()
31 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 …]
33 import com.google.inject.spi.ElementSource;656 public static Object convert(Object o, ElementSource source) {
40 ElementSource elementSource = in testCallStackSize()41 new ElementSource( in testCallStackSize()56 ElementSource elementSource = (ElementSource) binding.getSource(); in testGetCallStack_IntegrationTest()
210 ElementSource source = (ElementSource) Iterables.getOnlyElement(m.getSources());
455 ElementSource source = (ElementSource) binding.getSource(); in checkBindingSource()
1364 ElementSource source = (ElementSource) element.getSource(); in checkElements()
25 import com.google.inject.spi.ElementSource;105 if (source instanceof ElementSource) { in getSourceName()106 source = ((ElementSource) source).getDeclaringSource(); in getSourceName()