Searched refs:ElementSource (Results 1 – 10 of 10) sorted by relevance
21 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()
20 import com.google.inject.spi.ElementSource;62 ElementSource source = (ElementSource) injector.getBinding(Integer.class).getSource(); in testCombineSources()
60 public final class ElementSource { class66 final ElementSource originalElementSource;94 ElementSource(/* @Nullable */ ElementSource originalSource, Object declaringSource, in ElementSource() method in ElementSource109 public ElementSource getOriginalElementSource() { in getOriginalElementSource()
505 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()
38 ElementSource elementSource = new ElementSource( in testCallStackSize()50 ElementSource elementSource = (ElementSource) binding.getSource(); in testGetCallStack_IntegrationTest()
182 ElementSource source = (ElementSource) Iterables.getOnlyElement(m.getSources());
413 ElementSource source = (ElementSource) binding.getSource(); in checkBindingSource()
1292 ElementSource source = (ElementSource) element.getSource(); in checkElements()
38 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 …]
25 import com.google.inject.spi.ElementSource;102 if (source instanceof ElementSource) { in getSourceName()103 source = ((ElementSource) source).getDeclaringSource(); in getSourceName()