- immediateFailedProducer(Throwable) - Static method in class dagger.producers.Producers
-
Returns a producer that fails with the given exception.
- immediateProducer(T) - Static method in class dagger.producers.Producers
-
Returns a producer that succeeds with the given value.
- initElements(Elements) - Method in interface dagger.spi.BindingGraphPlugin
-
Initializes this plugin with a Elements
instance.
- initFiler(Filer) - Method in interface dagger.spi.BindingGraphPlugin
-
Initializes this plugin with a Filer
that it can use to write Java or other files based
on the binding graph.
- initOptions(Map<String, String>) - Method in interface dagger.spi.BindingGraphPlugin
-
- initSteps() - Method in class dagger.grpc.server.processor.GrpcServiceProcessor
-
- initTypes(Types) - Method in interface dagger.spi.BindingGraphPlugin
-
Initializes this plugin with a Types
instance.
- inject(Activity) - Static method in class dagger.android.AndroidInjection
-
Injects
activity
if an associated
AndroidInjector
implementation can be found,
otherwise throws an
IllegalArgumentException
.
- inject(Fragment) - Static method in class dagger.android.AndroidInjection
-
Injects
fragment
if an associated
AndroidInjector
implementation can be found,
otherwise throws an
IllegalArgumentException
.
- inject(Service) - Static method in class dagger.android.AndroidInjection
-
Injects
service
if an associated
AndroidInjector
implementation can be found,
otherwise throws an
IllegalArgumentException
.
- inject(BroadcastReceiver, Context) - Static method in class dagger.android.AndroidInjection
-
Injects
broadcastReceiver
if an associated
AndroidInjector
implementation can
be found, otherwise throws an
IllegalArgumentException
.
- inject(ContentProvider) - Static method in class dagger.android.AndroidInjection
-
Injects
contentProvider
if an associated
AndroidInjector
implementation can be
found, otherwise throws an
IllegalArgumentException
.
- inject(T) - Method in interface dagger.android.AndroidInjector
-
Injects the members of instance
.
- inject(T) - Method in class dagger.android.DispatchingAndroidInjector
-
Performs members-injection on instance
.
- inject(Fragment) - Static method in class dagger.android.support.AndroidSupportInjection
-
Injects
fragment
if an associated
AndroidInjector
implementation can be found,
otherwise throws an
IllegalArgumentException
.
- injectMembers(T) - Method in interface dagger.MembersInjector
-
Injects dependencies into the fields and methods of instance
.
- InProcessServerModule - Class in dagger.grpc.server
-
Installing this module into a @Singleton
component means the component can
provide a Server
that serves in-process requests.
- IntKey - Annotation Type in dagger.multibindings
-
A
MapKey
annotation for maps with
int
keys.
- IntoMap - Annotation Type in dagger.multibindings
-
The method's return type forms the type argument for the value of a Map<K, Provider<V>>
,
and the combination of the annotated key and the returned value is contributed to the map as a
key/value pair.
- IntoSet - Annotation Type in dagger.multibindings
-
The method's return type forms the generic type argument of a Set<T>
, and the returned
value is contributed to the set.
- ready() - Method in class dagger.producers.monitoring.ProducerMonitor
-
Called when all of the producer's inputs are available.
- recordFailure(Throwable, long) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
-
Reports that the producer's future has failed with the given statistics.
- recordMethod(long, long) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
-
Reports that the producer method has finished executing with the given statistics.
- recordSkip(Throwable) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
-
Reports that the producer was skipped because one of its inputs failed.
- recordSuccess(long) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
-
Reports that the producer's future has succeeded with the given statistics.
- reportBinding(Diagnostic.Kind, BindingGraph.MaybeBinding, String) - Method in interface dagger.spi.DiagnosticReporter
-
Reports a diagnostic for a binding or missing binding.
- reportBinding(Diagnostic.Kind, BindingGraph.MaybeBinding, String, Object, Object...) - Method in interface dagger.spi.DiagnosticReporter
-
Reports a diagnostic for a binding or missing binding.
- reportComponent(Diagnostic.Kind, BindingGraph.ComponentNode, String) - Method in interface dagger.spi.DiagnosticReporter
-
Reports a diagnostic for a component.
- reportComponent(Diagnostic.Kind, BindingGraph.ComponentNode, String, Object, Object...) - Method in interface dagger.spi.DiagnosticReporter
-
Reports a diagnostic for a component.
- reportDependency(Diagnostic.Kind, BindingGraph.DependencyEdge, String) - Method in interface dagger.spi.DiagnosticReporter
-
Reports a diagnostic for a dependency.
- reportDependency(Diagnostic.Kind, BindingGraph.DependencyEdge, String, Object, Object...) - Method in interface dagger.spi.DiagnosticReporter
-
Reports a diagnostic for a dependency.
- reportSubcomponentFactoryMethod(Diagnostic.Kind, BindingGraph.ChildFactoryMethodEdge, String) - Method in interface dagger.spi.DiagnosticReporter
-
Reports a diagnostic for a subcomponent factory method.
- reportSubcomponentFactoryMethod(Diagnostic.Kind, BindingGraph.ChildFactoryMethodEdge, String, Object, Object...) - Method in interface dagger.spi.DiagnosticReporter
-
Reports a diagnostic for a subcomponent factory method.
- requested() - Method in class dagger.producers.monitoring.ProducerMonitor
-
Called when the producer's output is requested; that is, when the first method is called that
requires the production of this producer's output.
- Reusable - Annotation Type in dagger
-
A scope that indicates that the object returned by a binding may be (but might not be) reused.