Uses of Class
com.google.inject.internal.BindingImpl
Packages that use BindingImpl
-
Uses of BindingImpl in com.google.inject.internal
Subclasses of BindingImpl in com.google.inject.internalModifier and TypeClassDescription(package private) final class
(package private) final class
private static class
private static class
A framework-created JIT Providerbinding. (package private) final class
(package private) final class
AProviderInstanceBindingImpl
for implementing 'native' guice extensions.(package private) final class
(package private) final class
(package private) class
(package private) final class
Fields in com.google.inject.internal declared as BindingImplModifier and TypeFieldDescription(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection.actualBinding
private BindingImpl<T>
AbstractBindingBuilder.binding
The new binding being added to theAbstractBindingBuilder.binder
'sAbstractBindingBuilder.elements
list(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection.binding
(package private) final BindingImpl<?>
SingleFieldInjector.binding
(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection.defaultBinding
private BindingImpl<T>
ExposedKeyFactory.delegate
(package private) final BindingImpl<T>
InjectorImpl.SyntheticProviderBindingImpl.providedBinding
private BindingImpl<? extends javax.inject.Provider<T>>
ProvidedByInternalFactory.providerBinding
Fields in com.google.inject.internal with type parameters of type BindingImplModifier and TypeFieldDescriptionprivate final Map<Key<?>,
BindingImpl<?>> InjectorJitBindingData.jitBindings
Just-in-time binding cache.Methods in com.google.inject.internal that return BindingImplModifier and TypeMethodDescriptionprotected BindingImpl<T>
AbstractBindingBuilder.annotatedWithInternal
(Annotation annotation) Sets the binding to a copy with the specified annotation on the bound keyprotected BindingImpl<T>
AbstractBindingBuilder.annotatedWithInternal
(Class<? extends Annotation> annotationType) Sets the binding to a copy with the specified annotation on the bound keyprivate <T> BindingImpl<T>
InjectorImpl.convertConstantStringBinding
(Key<T> key, Errors errors) Converts a constant string binding to the required type.private <T> BindingImpl<T>
InjectorImpl.createImplementedByBinding
(Key<T> key, Scoping scoping, ImplementedBy implementedBy, Errors errors) Creates a binding for a type annotated with @ImplementedBy.private <T> BindingImpl<T>
InjectorImpl.createJustInTimeBinding
(Key<T> key, Errors errors, boolean jitDisabled, InjectorImpl.JitLimitation jitType) Returns a new just-in-time binding created by resolvingkey
.private <T> BindingImpl<T>
InjectorImpl.createJustInTimeBindingRecursive
(Key<T> key, Errors errors, boolean jitDisabled, InjectorImpl.JitLimitation jitType) Attempts to create a just-in-time binding forkey
in the root injector, falling back to other ancestor injectors until this injector is tried.private <T> BindingImpl<MembersInjector<T>>
InjectorImpl.createMembersInjectorBinding
(Key<MembersInjector<T>> key, Errors errors) (package private) <T> BindingImpl<T>
InjectorImpl.createProvidedByBinding
(Key<T> key, Scoping scoping, ProvidedBy providedBy, Errors errors) Creates a binding for a type annotated with @ProvidedBy.private <T> BindingImpl<Provider<T>>
InjectorImpl.createSyntheticProviderBinding
(Key<Provider<T>> key, Errors errors) Creates a synthetic binding toProvider<T>
, i.e.private <T> BindingImpl<TypeLiteral<T>>
InjectorImpl.createTypeLiteralBinding
(Key<TypeLiteral<T>> key, Errors errors) Converts a binding for aKey<TypeLiteral<T>>
to the valueTypeLiteral<T>
.(package private) <T> BindingImpl<T>
InjectorImpl.createUninitializedBinding
(Key<T> key, Scoping scoping, Object source, Errors errors, boolean jitBinding) Creates a binding for an injectable type with the given scope.(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection.getActualBinding()
protected BindingImpl<T>
AbstractBindingBuilder.getBinding()
<T> BindingImpl<T>
InjectorImpl.getBinding
(Key<T> key) Returns the binding forkey
(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection.getBinding()
(package private) <T> BindingImpl<T>
InjectorImpl.getBindingOrThrow
(Key<T> key, Errors errors, InjectorImpl.JitLimitation jitType) Gets a binding implementation.(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection.getDefaultBinding()
<T> BindingImpl<T>
InjectorImpl.getExistingBinding
(Key<T> key) <T> BindingImpl<T>
InjectorBindingData.getExplicitBinding
(Key<T> key) (package private) BindingImpl<?>
InjectorJitBindingData.getJitBinding
(Key<?> key) private <T> BindingImpl<T>
InjectorImpl.getJustInTimeBinding
(Key<T> key, Errors errors, InjectorImpl.JitLimitation jitType) Returns a just-in-time binding forkey
, creating it if necessary.protected BindingImpl<T>
AbstractBindingBuilder.setBinding
(BindingImpl<T> binding) protected BindingImpl<T>
protected BindingImpl<T>
protected BindingImpl<T>
BindingImpl.withScoping
(Scoping scoping) protected BindingImpl<T>
ConstructorBindingImpl.withScoping
(Scoping scoping) InstanceBindingImpl.withScoping
(Scoping scoping) LinkedBindingImpl.withScoping
(Scoping scoping) LinkedProviderBindingImpl.withScoping
(Scoping scoping) ProviderInstanceBindingImpl.withScoping
(Scoping scoping) UntargettedBindingImpl.withScoping
(Scoping scoping) Methods in com.google.inject.internal that return types with arguments of type BindingImplModifier and TypeMethodDescription(package private) Map<Key<?>,
BindingImpl<?>> InjectorJitBindingData.getJitBindings()
Methods in com.google.inject.internal with parameters of type BindingImplModifier and TypeMethodDescriptionprivate boolean
InjectorImpl.cleanup
(BindingImpl<?> binding, Set<Key<?>> encountered) Iterates through the binding's dependencies to clean up any stray bindings that were leftover from a failed JIT binding.private Set<Dependency<?>>
InjectorImpl.getInternalDependencies
(BindingImpl<?> binding) Safely gets the dependencies of possibly not initialized bindings.private void
AbstractBindingProcessor.Processor.initializeBinding
(BindingImpl<?> binding) (package private) <T> void
InjectorImpl.initializeBinding
(BindingImpl<T> binding, Errors errors) (package private) <T> void
InjectorImpl.initializeJitBinding
(BindingImpl<T> binding, Errors errors) private boolean
InternalInjectorCreator.isEagerSingleton
(InjectorImpl injector, BindingImpl<?> binding, Stage stage) private static boolean
AbstractBindingProcessor.isOkayDuplicate
(BindingImpl<?> original, BindingImpl<?> binding, InjectorBindingData bindingData) We tolerate duplicate bindings if one exposes the other or if the two bindings are considered duplicates (seeBindings#areDuplicates(BindingImpl, BindingImpl)
.protected void
AbstractBindingProcessor.putBinding
(BindingImpl<?> binding) void
InjectorBindingData.putBinding
(Key<?> key, BindingImpl<?> binding) (package private) void
InjectorJitBindingData.putJitBinding
(Key<?> key, BindingImpl<?> binding) protected void
AbstractBindingProcessor.Processor.scheduleDelayedInitialization
(BindingImpl<?> binding) Schedule initialization for this binding to occur after all other static initialization of bindings.protected void
AbstractBindingProcessor.Processor.scheduleInitialization
(BindingImpl<?> binding) Schedule initialization of this binding to occur immediately after all bindings have been initialially processed.protected BindingImpl<T>
AbstractBindingBuilder.setBinding
(BindingImpl<T> binding) Constructors in com.google.inject.internal with parameters of type BindingImplModifierConstructorDescription(package private)
Processor
(BindingImpl<T> binding) (package private)
SingleParameterInjector
(Dependency<T> dependency, BindingImpl<? extends T> binding)