| Interface | Description |
|---|---|
| CircularDependencyProxy | |
| 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.
|
| 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.
|
| State |
The inheritable data within an injector.
|
| Class | Description |
|---|---|
| AbstractBindingBuilder<T> |
Bind a value or constant.
|
| 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.
|
| 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 runtime code generation and class loading.
|
| BytecodeGen.BridgeClassLoader |
Loader for Guice-generated classes.
|
| BytecodeGen.SystemBridgeHolder | |
| 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. |
| DefaultConstructionProxyFactory<T> |
Produces construction proxies that invoke the class constructor.
|
| DefaultConstructionProxyFactory.FastClassProxy<T> |
A
ConstructionProxy that uses FastClass to invoke the constructor. |
| DefaultConstructionProxyFactory.ReflectiveProxy<T> | |
| DeferredLookups |
Returns providers and members injectors that haven't yet been initialized.
|
| DelegatingInvocationHandler<T> | |
| EncounterImpl<T> | |
| 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.
|
| Indexer |
Visits bindings to return a
IndexedBinding that can be used to emulate the binding
deduplication that Guice internally performs. |
| Indexer.IndexedBinding | |
| InheritingState | |
| Initializables | |
| Initializer |
Manages and injects instances at injector-creation time.
|
| Initializer.InjectableReference<T> | |
| InjectionRequestProcessor |
Handles
Binder.requestInjection and Binder.requestStaticInjection commands. |
| InjectorImpl |
Default
Injector implementation. |
| InjectorImpl.ConvertedConstantBindingImpl<T> | |
| InjectorImpl.InjectorOptions |
Options that control how the injector behaves.
|
| InjectorImpl.ProviderBindingImpl<T> | |
| InjectorOptionsProcessor |
A processor to gather injector options.
|
| InjectorShell |
A partially-initialized injector.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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 FastClass.invoke(java.lang.String, java.lang.Class[], java.lang.Object, java.lang.Object[])
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.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.IndicesCallbackFilter |
A callback filter that maps methods to unique IDs.
|
| ProxyFactory.MethodInterceptorsPair | |
| 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.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.BindingSelection<T> | |
| RealMultibinder.PermitDuplicatesModule |
We install the permit duplicates configuration as its own binding, all by itself.
|
| RealMultibinder.RealMultibinderCollectionOfProvidersProvider<T> | |
| RealMultibinder.RealMultibinderProvider<T> | |
| 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 |
Provides the binding for java.util.Optional
|
| RealOptionalBinder.JavaOptionalProviderProvider |
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. |
| 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. |
| 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 |
|---|---|
| BytecodeGen.Visibility |
The required visibility of a user's class from a Guice-generated class.
|
| Element.Type | |
| Indexer.BindingType | |
| Initializer.InjectableReferenceState | |
| InjectorImpl.JitLimitation |
some limitations on what just in time bindings are allowed.
|
| InternalFlags.CustomClassLoadingOption |
The options for Guice custom class loading.
|
| InternalFlags.IncludeStackTraceOption |
The options for Guice stack trace collection.
|
| InternalFlags.NullableProvidesOption | |
| InternalProviderInstanceBindingImpl.InitializationTiming | |
| 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 |