Interface | Description |
---|---|
CircularDependencyProxy | |
ConstructionProxy<T> |
Proxies calls to a
Constructor for a class
T . |
ConstructionProxyFactory<T> |
Creates
ConstructionProxy instances. |
ContextualCallable<T> | |
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.
|
Errors.Converter<T> | |
Errors.ThrowableEquivalence | |
Exceptions |
Rethrows user-code exceptions in wrapped exceptions so that Errors can target the correct
exception.
|
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.
|
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.BindingsMultimap | |
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.
|
InternalContext.DependencyStack |
Keeps track of the hierarchy of types needed during injection.
|
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 . |
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. |
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.Factory<T> | |
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.ProviderMethodProviderInstanceBindingImpl<T> | |
ProviderMethod.ReflectionProviderMethod<T> |
A
ProviderMethod implementation that invokes the method using normal java reflection. |
ProviderMethodsModule |
Creates bindings to methods annotated with @
Provides . |
ProviderToInternalFactoryAdapter<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.
|
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.
|
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 |
Exception | Description |
---|---|
ErrorsException |
Indicates that a result could not be returned while preparing or resolving a binding.
|
Exceptions.UnhandledCheckedUserException |
A marker exception class that we look for in order to unwrap the exception
into the user exception, to provide a cleaner stack trace.
|
Annotation Type | Description |
---|---|
UniqueAnnotations.Internal |