/external/guice/core/src/com/google/inject/internal/ |
D | InjectorImpl.java | 119 final Map<Key<?>, BindingImpl<?>> jitBindings = Maps.newHashMap(); 159 public <T> BindingImpl<T> getBinding(Key<T> key) { in getBinding() 162 BindingImpl<T> result = getBindingOrThrow(key, errors, JitLimitation.EXISTING_JIT); in getBinding() 171 public <T> BindingImpl<T> getExistingBinding(Key<T> key) { in getExistingBinding() 173 BindingImpl<T> explicitBinding = state.getExplicitBinding(key); in getExistingBinding() 181 BindingImpl<T> jitBinding = (BindingImpl<T>) injector.jitBindings.get(key); in getExistingBinding() 213 <T> BindingImpl<T> getBindingOrThrow(Key<T> key, Errors errors, JitLimitation jitType) in getBindingOrThrow() 216 BindingImpl<T> binding = state.getExplicitBinding(key); in getBindingOrThrow() 250 private <T> BindingImpl<T> getJustInTimeBinding(Key<T> key, Errors errors, JitLimitation jitType) in getJustInTimeBinding() 258 BindingImpl<T> binding = (BindingImpl<T>) injector.jitBindings.get(key); in getJustInTimeBinding() [all …]
|
D | AbstractBindingProcessor.java | 69 protected void putBinding(BindingImpl<?> binding) { in putBinding() 78 BindingImpl<?> original = injector.getExistingBinding(key); in putBinding() 111 private boolean isOkayDuplicate(BindingImpl<?> original, BindingImpl<?> binding, State state) { in isOkayDuplicate() 117 original = (BindingImpl<?>) state.getExplicitBindingsThisLevel().get(binding.getKey()); in isOkayDuplicate() 143 Processor(BindingImpl<T> binding) { in Processor() 159 protected void scheduleInitialization(BindingImpl<?> binding) { in scheduleInitialization() 167 protected void scheduleDelayedInitialization(BindingImpl<?> binding) { in scheduleDelayedInitialization() 171 private Runnable asRunnable(final BindingImpl<?> binding) { in asRunnable()
|
D | AbstractBindingBuilder.java | 52 private BindingImpl<T> binding; 62 protected BindingImpl<T> getBinding() { in getBinding() 66 protected BindingImpl<T> setBinding(BindingImpl<T> binding) { in setBinding() 73 protected BindingImpl<T> annotatedWithInternal(Class<? extends Annotation> annotationType) { in annotatedWithInternal() 81 protected BindingImpl<T> annotatedWithInternal(Annotation annotation) { in annotatedWithInternal()
|
D | BindingImpl.java | 28 public abstract class BindingImpl<T> implements Binding<T> { class 36 public BindingImpl( in BindingImpl() method in BindingImpl 49 protected BindingImpl(Object source, Key<T> key, Scoping scoping) { in BindingImpl() method in BindingImpl 107 protected BindingImpl<T> withScoping(Scoping scoping) { in withScoping() 111 protected BindingImpl<T> withKey(Key<T> key) { in withKey()
|
D | BindingBuilder.java | 75 BindingImpl<T> base = getBinding(); in to() 99 BindingImpl<T> base = getBinding(); in toInstance() 124 BindingImpl<T> base = getBinding(); in toProvider() 149 BindingImpl<T> base = getBinding(); in toProvider() 168 BindingImpl<T> base = getBinding(); in toConstructor()
|
D | UntargettedBindingImpl.java | 27 final class UntargettedBindingImpl<T> extends BindingImpl<T> implements UntargettedBinding<T> { 53 public BindingImpl<T> withScoping(Scoping scoping) { in withScoping() 58 public BindingImpl<T> withKey(Key<T> key) { in withKey()
|
D | State.java | 52 public <T> BindingImpl<T> getExplicitBinding(Key<T> key) { 62 public void putBinding(Key<?> key, BindingImpl<?> binding) { 166 <T> BindingImpl<T> getExplicitBinding(Key<T> key); in getExplicitBinding() 171 void putBinding(Key<?> key, BindingImpl<?> binding); in putBinding()
|
D | LinkedBindingImpl.java | 30 public final class LinkedBindingImpl<T> extends BindingImpl<T> 67 public BindingImpl<T> withScoping(Scoping scoping) { in withScoping() 72 public BindingImpl<T> withKey(Key<T> key) { in withKey()
|
D | InstanceBindingImpl.java | 31 final class InstanceBindingImpl<T> extends BindingImpl<T> implements InstanceBinding<T> { 78 public BindingImpl<T> withScoping(Scoping scoping) { in withScoping() 83 public BindingImpl<T> withKey(Key<T> key) { in withKey()
|
D | ExposedKeyFactory.java | 30 private BindingImpl<T> delegate; 40 BindingImpl<T> explicitBinding = privateInjector.state.getExplicitBinding(key); in notify()
|
D | UntargettedBindingProcessor.java | 36 new Processor<T, Boolean>((BindingImpl<T>) binding) { in visit() 53 BindingImpl<T> binding = in visit()
|
D | ProviderInstanceBindingImpl.java | 34 class ProviderInstanceBindingImpl<T> extends BindingImpl<T> implements ProviderInstanceBinding<T> { 96 public BindingImpl<T> withScoping(Scoping scoping) { in withScoping() 102 public BindingImpl<T> withKey(Key<T> key) { in withKey()
|
D | LinkedProviderBindingImpl.java | 30 final class LinkedProviderBindingImpl<T> extends BindingImpl<T> 104 public BindingImpl<T> withScoping(Scoping scoping) { in withScoping() 109 public BindingImpl<T> withKey(Key<T> key) { in withKey()
|
D | InternalInjectorCreator.java | 194 List<BindingImpl<?>> candidateBindings = new ArrayList<>(); in loadEagerSingletons() 196 Collection<BindingImpl<?>> bindingsAtThisLevel = in loadEagerSingletons() 205 for (BindingImpl<?> binding : candidateBindings) { in loadEagerSingletons() 224 private boolean isEagerSingleton(InjectorImpl injector, BindingImpl<?> binding, Stage stage) { in isEagerSingleton()
|
D | RealOptionalBinder.java | 424 BindingImpl<T> targetBinding = bindingSelection.getBinding(); in doInitialize() 581 /*@Nullable */ BindingImpl<T> actualBinding; 582 /*@Nullable */ BindingImpl<T> defaultBinding; 583 /*@Nullable */ BindingImpl<T> binding; 618 BindingImpl<T> userBinding = injector.getExistingBinding(key); in initialize() 672 BindingImpl<T> getBinding() { in getBinding() 677 BindingImpl<T> getDefaultBinding() { in getDefaultBinding() 681 BindingImpl<T> getActualBinding() { in getActualBinding()
|
D | ProvidedByInternalFactory.java | 35 private BindingImpl<? extends Provider<T>> providerBinding; 61 BindingImpl<? extends Provider<T>> localProviderBinding = providerBinding; in get()
|
D | InheritingState.java | 73 public <T> BindingImpl<T> getExplicitBinding(Key<T> key) { in getExplicitBinding() 75 return binding != null ? (BindingImpl<T>) binding : parent.getExplicitBinding(key); in getExplicitBinding() 84 public void putBinding(Key<?> key, BindingImpl<?> binding) { in putBinding()
|
D | ConstructorBindingImpl.java | 43 final class ConstructorBindingImpl<T> extends BindingImpl<T> 229 protected BindingImpl<T> withScoping(Scoping scoping) { in withScoping() 235 protected BindingImpl<T> withKey(Key<T> key) { in withKey()
|
D | SingleParameterInjector.java | 31 SingleParameterInjector(Dependency<T> dependency, BindingImpl<? extends T> binding) { in SingleParameterInjector()
|
D | SingleFieldInjector.java | 29 final BindingImpl<?> binding;
|
D | ExposedBindingImpl.java | 30 public final class ExposedBindingImpl<T> extends BindingImpl<T> implements ExposedBinding<T> {
|
D | ConstantBindingBuilderImpl.java | 121 BindingImpl<T> base = getBinding(); in toConstant()
|
D | BindingProcessor.java | 71 new Processor<T, Boolean>((BindingImpl<T>) command) { in visit()
|
/external/guice/core/test/com/google/inject/internal/ |
D | WeakKeySetTest.java | 462 public <T> BindingImpl<T> getExplicitBinding(Key<T> key) { in getExplicitBinding() 472 public void putBinding(Key<?> key, BindingImpl<?> binding) { in putBinding()
|