Home
last modified time | relevance | path

Searched refs:BindingImpl (Results 1 – 24 of 24) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DInjectorImpl.java119 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 …]
DAbstractBindingProcessor.java69 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()
DAbstractBindingBuilder.java52 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()
DBindingImpl.java28 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()
DBindingBuilder.java75 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()
DUntargettedBindingImpl.java27 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()
DState.java52 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()
DLinkedBindingImpl.java30 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()
DInstanceBindingImpl.java31 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()
DExposedKeyFactory.java30 private BindingImpl<T> delegate;
40 BindingImpl<T> explicitBinding = privateInjector.state.getExplicitBinding(key); in notify()
DUntargettedBindingProcessor.java36 new Processor<T, Boolean>((BindingImpl<T>) binding) { in visit()
53 BindingImpl<T> binding = in visit()
DProviderInstanceBindingImpl.java34 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()
DLinkedProviderBindingImpl.java30 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()
DInternalInjectorCreator.java194 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()
DRealOptionalBinder.java424 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()
DProvidedByInternalFactory.java35 private BindingImpl<? extends Provider<T>> providerBinding;
61 BindingImpl<? extends Provider<T>> localProviderBinding = providerBinding; in get()
DInheritingState.java73 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()
DConstructorBindingImpl.java43 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()
DSingleParameterInjector.java31 SingleParameterInjector(Dependency<T> dependency, BindingImpl<? extends T> binding) { in SingleParameterInjector()
DSingleFieldInjector.java29 final BindingImpl<?> binding;
DExposedBindingImpl.java30 public final class ExposedBindingImpl<T> extends BindingImpl<T> implements ExposedBinding<T> {
DConstantBindingBuilderImpl.java121 BindingImpl<T> base = getBinding(); in toConstant()
DBindingProcessor.java71 new Processor<T, Boolean>((BindingImpl<T>) command) { in visit()
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java462 public <T> BindingImpl<T> getExplicitBinding(Key<T> key) { in getExplicitBinding()
472 public void putBinding(Key<?> key, BindingImpl<?> binding) { in putBinding()