Lines Matching defs:Elements
26 import com.google.inject.spi.Elements;
74 List<Element> elements = Elements.getElements(
78 assertEquals(14, elements.size());
79 assertEquals(7, new LinkedHashSet<Element>(elements).size());
226 List<Element> elements = Elements.getElements(
230 // Make sure every combination of the elements with another element fails.
232 for(Element e1 : elements) {
233 for(Element e2: elements) {
236 Guice.createInjector(Elements.getModule(Arrays.asList(e1, e2)));
438 install(Elements.getModule(Elements.getElements(new SimpleProviderModule())));