Searched refs:requireBinding (Results 1 – 5 of 5) sorted by relevance
38 requireBinding(PersistService.class); in configure()39 requireBinding(UnitOfWork.class); in configure()
183 protected void requireBinding(Key<?> key) { in requireBinding() method in AbstractModule195 protected void requireBinding(Class<?> type) { in requireBinding() method in AbstractModule
236 protected final void requireBinding(Key<?> key) { in requireBinding() method in PrivateModule243 protected final void requireBinding(Class<?> type) { in requireBinding() method in PrivateModule
126 requireBinding(new Key<Optional<String>>() {}); // the above specifies this. in testTypeNotBoundByDefault()127 requireBinding(String.class); // but it doesn't specify this. in testTypeNotBoundByDefault()131 requireBinding(Key.get(javaOptionalOfString)); in testTypeNotBoundByDefault()
97 requireBinding(Key.get(new TypeLiteral<Callable<String>>() {})); in testMissingBindings()