/external/guice/core/src/com/google/inject/util/ |
D | Modules.java | 181 PrivateElements privateElements = (PrivateElements) element; in configure() local 183 baseBinder.newPrivateBinder().withSource(privateElements.getSource()); in configure() 184 for (Key exposed : privateElements.getExposedKeys()) { in configure() 185 privateBinder.withSource(privateElements.getExposedSource(exposed)).expose(exposed); in configure() 188 baseElements = privateElements.getElements(); in configure() 219 public Void visit(PrivateElements privateElements) { in configure() argument 220 overriddenKeys.addAll(privateElements.getExposedKeys()); in configure() 221 return super.visit(privateElements); in configure() 251 void rewrite(Binder binder, PrivateElements privateElements, Set<Key<?>> keysToSkip) { in configure() argument 253 binder.withSource(privateElements.getSource()).newPrivateBinder(); in configure() [all …]
|
/external/guice/core/src/com/google/inject/internal/ |
D | ExposedBindingImpl.java | 32 private final PrivateElements privateElements; field in ExposedBindingImpl 39 PrivateElements privateElements) { in ExposedBindingImpl() argument 41 this.privateElements = privateElements; in ExposedBindingImpl() 56 return privateElements; in getPrivateElements() 64 .add("privateElements", privateElements) in toString()
|
D | ExposedKeyFactory.java | 29 private final PrivateElements privateElements; field in ExposedKeyFactory 32 ExposedKeyFactory(Key<T> key, PrivateElements privateElements) { in ExposedKeyFactory() argument 34 this.privateElements = privateElements; in ExposedKeyFactory() 39 InjectorImpl privateInjector = (InjectorImpl) privateElements.getInjector(); in notify()
|
D | InjectorShell.java | 81 private PrivateElementsImpl privateElements; field in InjectorShell.Builder 96 Builder privateElements(PrivateElements privateElements) { in privateElements() method in InjectorShell.Builder 97 this.privateElements = (PrivateElementsImpl) privateElements; in privateElements() 98 this.elements.addAll(privateElements.getElements()); in privateElements() 128 checkState(privateElements == null || parent != null, "PrivateElements with no parent"); in build() 145 if (privateElements != null) { in build() 146 privateElements.initInjector(injector); in build()
|
D | PrivateElementProcessor.java | 37 public Boolean visit(PrivateElements privateElements) { in visit() argument 39 new InjectorShell.Builder().parent(injector).privateElements(privateElements); in visit()
|
D | BindingProcessor.java | 240 public Boolean visit(PrivateElements privateElements) { 241 for (Key<?> key : privateElements.getExposedKeys()) { 242 bindExposed(privateElements, key); 247 private <T> void bindExposed(PrivateElements privateElements, Key<T> key) { 248 ExposedKeyFactory<T> exposedKeyFactory = new ExposedKeyFactory<>(key, privateElements); 253 privateElements.getExposedSource(key), 256 privateElements));
|
/external/guice/core/src/com/google/inject/spi/ |
D | Elements.java | 165 private final PrivateElementsImpl privateElements; field in Elements.RecordingBinder 185 this.privateElements = null; in RecordingBinder() 202 this.privateElements = prototype.privateElements; in RecordingBinder() 207 private RecordingBinder(RecordingBinder parent, PrivateElementsImpl privateElements) { in RecordingBinder() argument 211 this.elements = privateElements.getElementsMutable(); in RecordingBinder() 216 this.privateElements = privateElements; in RecordingBinder() 445 PrivateElementsImpl privateElements = new PrivateElementsImpl(getElementSource()); in newPrivateBinder() local 446 RecordingBinder binder = new RecordingBinder(this, privateElements); in newPrivateBinder() 448 elements.add(privateElements); in newPrivateBinder() 494 if (privateElements == null) { in exposeInternal() [all …]
|
D | DefaultElementVisitor.java | 80 public V visit(PrivateElements privateElements) { in visit() argument 81 return visitOther(privateElements); in visit()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletScopesTest.java | 196 PrivateElements privateElements = (PrivateElements) element; in indexBindings() local 197 Map<Key<?>, Binding<?>> privateBindings = indexBindings(privateElements.getElements()); in indexBindings() 198 for (Key<?> exposed : privateElements.getExposedKeys()) { in indexBindings()
|
/external/guice/core/test/com/google/inject/ |
D | PrivateModuleTest.java | 579 PrivateElements privateElements = binding.getPrivateElements(); in testSpiAccess() local 582 privateElements.getExposedKeys()); in testSpiAccess() 584 privateElements.getExposedSource(Key.get(String.class, named("b"))).toString(), in testSpiAccess() 587 Injector privateInjector = privateElements.getInjector(); in testSpiAccess()
|
D | ScopesTest.java | 863 PrivateElements privateElements = (PrivateElements) element; 864 Map<Key<?>, Binding<?>> privateBindings = indexBindings(privateElements.getElements()); 865 for (Key<?> exposed : privateElements.getExposedKeys()) {
|