| Interface | Description |
|---|---|
| BytecodeGen.EnhancerBuilder |
Builder of enhanced classes.
|
| ConstructionProxy<T> |
Proxies calls to a
Constructor for a class T. |
| ConstructionProxyFactory<T> |
Creates
ConstructionProxy instances. |
| CreationListener |
Something that is notified upon creation.
|
| CycleDetectingLock<ID> |
Simplified version of
Lock that is special due to how it handles deadlocks detection. |
| DelayedInitialize |
Something that needs some delayed initialization, typically a binding or internal factory that
needs to be created & put into the bindings map & then initialized later.
|
| ErrorHandler |
Handles errors in the Injector.
|
| Initializable<T> |
Holds a reference that requires initialization to be performed before it can be used.
|
| InjectorImpl.MethodInvoker |
Invokes a method.
|
| InternalFactory<T> |
Creates objects which will be injected.
|
| KotlinSupportInterface |
Interface for accessing information about Kotlin code.
|
| Lookups |
Accessors for providers and members injectors.
|
| MoreTypes.CompositeType |
A type formed from other types, such as arrays, parameterized types or wildcard types
|
| ProvisionListenerStackCallback.ProvisionCallback<T> | |
| SingleMemberInjector |
Injects a field or method of a given object.
|
| Class | Description |
|---|---|
| AbstractBindingBuilder<T> |
Base class used to create a new binding with the Guice EDSL described in
Binder. |
| AbstractBindingProcessor |
Guarantees that processing of Binding elements happens in a sane way.
|
| AbstractProcessor |
Abstract base class for creating an injector from module elements.
|
| Annotations |
Annotation utilities.
|
| Annotations.AnnotationChecker |
Checks for the presence of annotations.
|
| Annotations.AnnotationToStringConfig | |
| BindingAlreadySetError |
Error reported by Guice when a key is bound at multiple places the injector.
|
| BindingBuilder<T> |
Bind a non-constant key.
|
| BindingImpl<T> | |
| BindingProcessor |
Handles
Binder.bind(com.google.inject.Key<T>) and Binder.bindConstant() elements. |
| BoundProviderFactory<T> |
Delegates to a custom factory which is also bound in the injector.
|
| BytecodeGen |
Utility methods for circular proxies, faster reflection, and method interception.
|
| ChildBindingAlreadySetError |
Error reported by Guice when a key is already bound in one or more child injectors or private
modules.
|
| ConstantBindingBuilderImpl<T> |
Bind a constant.
|
| ConstantFactory<T> | |
| ConstructionContext<T> |
Context of a dependency construction.
|
| ConstructorBindingImpl<T> | |
| ConstructorBindingImpl.Factory<T> | |
| ConstructorInjector<T> |
Creates instances using an injectable constructor.
|
| ConstructorInjectorStore |
Constructor injectors by type.
|
| CycleDetectingLock.CycleDetectingLockFactory<ID> |
Wraps locks so they would never cause a deadlock.
|
| CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock<ID> |
The implementation for
CycleDetectingLock. |
| DeclaredMembers |
Utility class for retrieving declared fields or methods in a particular order, because the JVM
doesn't guarantee ordering for listing declared methods.
|
| DefaultConstructionProxyFactory<T> |
Produces construction proxies that invoke the class constructor.
|
| DefaultConstructionProxyFactory.FastClassProxy<T> |
A
ConstructionProxy that uses bytecode generation to invoke the constructor. |
| DefaultConstructionProxyFactory.ReflectiveProxy<T> | |
| DeferredLookups |
Returns providers and members injectors that haven't yet been initialized.
|
| DelegatingInvocationHandler<T> | |
| DuplicateElementError<T> |
Error reported by Guice when duplicate elements are found in a
Multibinder that does not
permit duplicates. |
| DuplicateElementError.Element<T> | |
| DuplicateMapKeyError<K,V> |
Error reported by Guice when a duplicate key is found in a
MapBinder that does not permit
duplicates. |
| EncounterImpl<T> | |
| ErrorFormatter |
Helper for formatting Guice errors.
|
| Errors |
A collection of error messages.
|
| ExposedBindingImpl<T> | |
| ExposedKeyFactory<T> |
This factory exists in a parent injector.
|
| ExposureBuilder<T> |
For private binder's expose() method.
|
| FactoryProxy<T> |
A placeholder which enables us to swap in the real factory once the injector is created.
|
| FailableCache<K,V> |
Lazily creates (and caches) values for keys.
|
| GenericErrorDetail |
Generic error message representing a Guice internal error.
|
| GuiceInternal |
Class used for restricting APIs in other packages to only be used by this package.
|
| Indexer |
Visits bindings to return a
IndexedBinding that can be used to emulate the binding
deduplication that Guice internally performs. |
| Indexer.IndexedBinding | |
| Initializables | |
| Initializer |
Manages and injects instances at injector-creation time.
|
| Initializer.InjectableReference<T> | |
| InjectionRequestProcessor |
Handles
Binder.requestInjection and Binder.requestStaticInjection commands. |
| InjectorBindingData |
A container that stores an injector's binding data.
|
| InjectorImpl |
Default
Injector implementation. |
| InjectorImpl.ConvertedConstantBindingImpl<T> | |
| InjectorImpl.InjectorOptions |
Options that control how the injector behaves.
|
| InjectorImpl.SyntheticProviderBindingImpl<T> |
A framework-created JIT Provider
|
| InjectorJitBindingData |
A container for most just-in-time (JIT) binding data corresponding to an Injector.
|
| InjectorOptionsProcessor |
A processor to gather injector options.
|
| InjectorShell |
InjectorShell is used by
InternalInjectorCreator to recursively create a tree of
uninitialized Injectors. |
| InjectorShell.Builder | |
| InjectorShell.InheritedScannersModule | |
| InjectorShell.InjectorFactory | |
| InjectorShell.LoggerFactory | |
| InjectorShell.RootModule | |
| InstanceBindingImpl<T> | |
| InterceptorBindingProcessor |
Handles
Binder.bindInterceptor commands. |
| InterceptorStackCallback |
Intercepts a method with a stack of interceptors.
|
| InternalContext |
Internal context.
|
| InternalErrorDetail<T extends ErrorDetail<T>> |
Represents an error created by Guice as opposed to custom error added to the binder from
application code.
|
| InternalFactoryToInitializableAdapter<T> |
Adapts
ProviderInstanceBinding providers, ensuring circular proxies fail (or proxy)
properly. |
| InternalFactoryToProviderAdapter<T> | |
| InternalFlags |
Contains flags for Guice.
|
| InternalInjectorCreator |
Builds a tree of injectors.
|
| InternalInjectorCreator.ToolStageInjector |
Injector exposed to users in Stage.TOOL. |
| InternalProviderInstanceBindingImpl<T> |
A
ProviderInstanceBindingImpl for implementing 'native' guice extensions. |
| InternalProviderInstanceBindingImpl.CyclicFactory<T> |
An base factory implementation that can be extended to provide a specialized implementation of
a
ProviderWithExtensionVisitor and also implements InternalFactory |
| InternalProviderInstanceBindingImpl.Factory<T> |
A base factory implementation.
|
| KotlinSupport |
Class to conditionally load support for Kotlin features.
|
| KotlinSupport.KotlinSupportHolder | |
| KotlinSupport.KotlinUnsupported | |
| LinkedBindingImpl<T> | |
| LinkedProviderBindingImpl<T> | |
| ListenerBindingProcessor |
Handles
Binder#bindListener commands. |
| LookupProcessor |
Handles
Binder.getProvider and Binder.getMembersInjector(TypeLiteral) commands. |
| MembersInjectorImpl<T> |
Injects members of instances of a given type.
|
| MembersInjectorStore |
Members injectors by type.
|
| MessageProcessor |
Handles
Binder.addError commands. |
| Messages |
Utility methods for
Message objects |
| Messages.Converter<T> | |
| Messages.ThrowableEquivalence | |
| MethodAspect |
Ties a matcher to a method interceptor.
|
| MissingConstructorError |
Error reported when Guice can't find an useable constructor to create objects.
|
| MissingImplementationError<T> |
Error reported by Guice when a key is not bound in the injector.
|
| MissingImplementationErrorHints |
Helper class to find hints for
MissingImplementationError. |
| ModuleAnnotatedMethodScannerProcessor |
Handles
Binder.scanModulesForAnnotatedMethods commands. |
| MoreTypes |
Static methods for working with types that we aren't publishing in the public
Types API. |
| MoreTypes.GenericArrayTypeImpl | |
| MoreTypes.ParameterizedTypeImpl | |
| MoreTypes.WildcardTypeImpl |
The WildcardType interface supports multiple upper bounds and multiple lower bounds.
|
| Nullability |
Whether a member supports null values injected.
|
| PackageNameCompressor |
Munges an error message to remove/shorten package names and adds a legend at the end.
|
| PrivateElementProcessor |
Handles
Binder.newPrivateBinder() elements. |
| PrivateElementsImpl | |
| ProcessedBindingData |
Keeps track of creation listeners & uninitialized bindings, so they can be processed after
bindings are recorded.
|
| ProvidedByInternalFactory<T> |
An
InternalFactory for @ProvidedBy bindings. |
| ProviderInstanceBindingImpl<T> | |
| ProviderInternalFactory<T> |
Base class for InternalFactories that are used by Providers, to handle circular dependencies.
|
| ProviderMethod<T> |
A provider that invokes a method and returns its result.
|
| ProviderMethod.FastClassProviderMethod<T> |
A
ProviderMethod implementation that uses bytecode generation to invoke the provider
method. |
| ProviderMethod.ReflectionProviderMethod<T> |
A
ProviderMethod implementation that invokes the method using normal java reflection. |
| ProviderMethodsModule |
Creates bindings to methods annotated with @
Provides. |
| ProviderMethodsModule.MethodAndAnnotation | |
| ProviderMethodsModule.Signature | |
| ProviderToInternalFactoryAdapter<T> | |
| ProvidesMethodScanner |
A
ModuleAnnotatedMethodScanner that handles the , ProvidesIntoSet,
ProvidesIntoMap and ProvidesIntoOptional annotations. |
| ProvidesMethodScanner.AnnotationOrError | |
| ProvidesMethodScanner.TypeAndValue<T> | |
| ProvisionListenerCallbackStore |
ProvisionListenerStackCallback for each key. |
| ProvisionListenerCallbackStore.KeyBinding |
A struct that holds key & binding but uses just key for equality/hashcode.
|
| ProvisionListenerStackCallback<T> |
Intercepts provisions with a stack of listeners.
|
| ProxyFactory<T> |
Builds a construction proxy that can participate in AOP.
|
| ProxyFactory.ProxyConstructor<T> |
Constructs instances that participate in AOP.
|
| RealElement |
An implementation of Element.
|
| RealMapBinder<K,V> |
The actual mapbinder plays several roles:
|
| RealMapBinder.BindingSelection<K,V> |
The BindingSelection contains some of the core state and logic for the MapBinder.
|
| RealMapBinder.ExtensionRealMapProvider<K,V> |
Implementation of a provider instance for the map that also exposes details about the MapBinder
using the extension SPI, delegating to another provider instance for non-extension (e.g, the
actual provider instance info) data.
|
| RealMapBinder.MultimapBinder<K,V> |
Binds
Map<K, Set<V>> and {Map<K, Set<Provider<V>>>. |
| RealMapBinder.MultimapBinder.RealMultimapProvider<K,V> | |
| RealMapBinder.MultimapBinder.RealMultimapProvider.PerKeyData<K,V> |
A simple class to hold a key and the associated bindings as an array.
|
| RealMapBinder.MultimapBinder.RealProviderMultimapProvider<K,V> | |
| RealMapBinder.ProviderMapEntry<K,V> |
A factory for a
Map.Entry<K, Provider<V>>. |
| RealMapBinder.RealMapBinderProviderWithDependencies<K,V,P> |
A base class for ProviderWithDependencies that need equality based on a specific object.
|
| RealMapBinder.RealMapProvider<K,V> | |
| RealMapBinder.RealMultimapBinderProviderWithDependencies<K,V,P> |
A base class for ProviderWithDependencies that need equality based on a specific object.
|
| RealMapBinder.RealProviderMapProvider<K,V> | |
| RealMultibinder<T> |
The actual multibinder plays several roles:
|
| RealMultibinder.BaseFactory<ValueT,ProvidedT> |
Base implement of
InternalProviderInstanceBindingImpl.Factory that works based on a
RealMultibinder.BindingSelection, allowing provider instances for various bindings to be implemented
with less duplication. |
| RealMultibinder.BindingSelection<T> | |
| RealMultibinder.ExtensionRealMultibinderProvider<T> |
Implementation of BaseFactory that exposes details about the multibinder through the extension
SPI.
|
| RealMultibinder.PermitDuplicatesModule |
We install the permit duplicates configuration as its own binding, all by itself.
|
| RealMultibinder.RealMultibinderCollectionOfProvidersProvider<T> |
Implementation of BaseFactory that exposes a collection of providers of the values in the set.
|
| RealMultibinder.RealMultibinderProvider<T> |
Provider instance implementation that provides the actual set of values.
|
| RealOptionalBinder<T> |
The actual OptionalBinder plays several roles.
|
| RealOptionalBinder.ActualImpl | |
| RealOptionalBinder.BaseAnnotation | |
| RealOptionalBinder.BindingSelection<T> |
A helper object that implements the core logic for deciding what the implementation of the
binding will be.
|
| RealOptionalBinder.DefaultImpl | |
| RealOptionalBinder.JavaOptionalProvider<T> |
Provides the binding for java.util.Optional
|
| RealOptionalBinder.JavaOptionalProviderProvider<T> |
Provides the binding for java.util.Optional
|
| RealOptionalBinder.RealDirectTypeProvider<T> |
Provides the binding for T, conditionally installed by calling setBinding/setDefault.
|
| RealOptionalBinder.RealOptionalBinderProviderWithDependencies<T,P> |
A base class for ProviderWithDependencies that need equality based on a specific object.
|
| RealOptionalBinder.RealOptionalKeyProvider<T> |
Provides the binding for Optional
|
| RealOptionalBinder.RealOptionalProviderProvider<T> |
Provides the binding for Optional
|
| ScopeBindingProcessor |
Handles
Binder.bindScope commands. |
| ScopeNotFoundError |
Error reported by Guice when a scope annotation is not bound to any scope implementation.
|
| Scoping |
References a scope, either directly (as a scope instance), or indirectly (as a scope annotation).
|
| SingleFieldInjector |
Sets an injectable field.
|
| SingleMethodInjector |
Invokes an injectable method.
|
| SingleParameterInjector<T> |
Resolves a single parameter, to be used in a constructor or method invocation.
|
| SingletonScope |
One instance per
Injector. |
| SourceFormatter |
Formatting a single source in Guice error message.
|
| TypeConverterBindingProcessor |
Handles
Binder.convertToTypes commands. |
| UniqueAnnotations | |
| UntargettedBindingImpl<T> | |
| UntargettedBindingProcessor |
Processes just UntargettedBindings.
|
| WeakKeySet |
Minimal set that doesn't hold strong references to the contained keys.
|
| WeakKeySet.KeyAndSource |
| Enum | Description |
|---|---|
| Element.Type | |
| ErrorId |
Enum used to identify a specific Guice error.
|
| Indexer.BindingType | |
| Initializer.InjectableReferenceState | |
| InjectorImpl.JitLimitation |
some limitations on what just in time bindings are allowed.
|
| InternalFlags.BytecodeGenOption |
Options for controlling whether Guice uses bytecode generation at runtime.
|
| InternalFlags.ColorizeOption |
Options for enable or disable using ansi color in error messages.
|
| InternalFlags.CustomClassLoadingOption |
The options for Guice custom class loading.
|
| InternalFlags.IncludeStackTraceOption |
The options for Guice stack trace collection.
|
| InternalFlags.NullableProvidesOption |
Options for handling nullable parameters used in provides methods.
|
| InternalProviderInstanceBindingImpl.InitializationTiming | |
| Messages.FormatOptions | |
| RealMapBinder.BindingSelection.InitializationState | |
| RealOptionalBinder.Source |
| Exception | Description |
|---|---|
| ErrorsException |
Indicates that a result could not be returned while preparing or resolving a binding.
|
| InternalProvisionException |
A checked exception for provisioning errors.
|
| Annotation Type | Description |
|---|---|
| Annotations.TestAnnotation | |
| Element |
An internal binding annotation applied to each element in a multibinding.
|
| RealOptionalBinder.Actual | |
| RealOptionalBinder.Default | |
| UniqueAnnotations.Internal |