Searched refs:PrivateBinder (Results 1 – 10 of 10) sorted by relevance
28 public interface PrivateBinder extends Binder { interface48 PrivateBinder withSource(Object source); in withSource()51 PrivateBinder skipSources(Class... classesToSkip); in skipSources()
92 private PrivateBinder binder;99 this.binder = (PrivateBinder) binder.skipSources(PrivateModule.class); in configure()139 protected final PrivateBinder binder() { in binder()
393 PrivateBinder newPrivateBinder(); in newPrivateBinder()
31 import com.google.inject.PrivateBinder;119 PrivateBinder privateBinder = binder.withSource(source).newPrivateBinder(); in applyTo()
24 import com.google.inject.PrivateBinder;160 ((PrivateBinder) binder).expose(key); in configure()
23 import com.google.inject.PrivateBinder;97 ((PrivateBinder) binder).expose(sbinder.getKey()); in configure()
30 import com.google.inject.PrivateBinder;182 PrivateBinder privateBinder = in configure()252 PrivateBinder privateBinder = in configure()
87 PrivateBinder bindA = binder().newPrivateBinder(); in testWithoutPrivateModules()92 PrivateBinder bindB = binder().newPrivateBinder(); in testWithoutPrivateModules()131 ((PrivateBinder) binder()).expose(String.class).annotatedWith(named("a")); in testMisplacedExposeStatement()
32 import com.google.inject.PrivateBinder;151 private static class RecordingBinder implements Binder, PrivateBinder {444 public PrivateBinder newPrivateBinder() { in newPrivateBinder()
34 import com.google.inject.PrivateBinder;1027 PrivateBinder one = binder().newPrivateBinder(); in testNewPrivateBinder()1032 PrivateBinder two = in testNewPrivateBinder()