A handle to a lazily-computed value.
Injects dependencies into the fields and methods on instances of type
Annotates abstract methods of a
Marks a method on a component builder or subcomponent builder that allows an instance to be bound to some type within the component.
Annotates methods that declare bindings for
Annotates an interface or abstract class for which a fully-formed, dependency-injected implementation is to be generated from a set of Component.modules().
A builder for a component.
Annotates a class that contributes to the object graph.
Annotates methods of a module to create a provider method binding.
A scope that indicates that the object returned by a binding may be (but might not be) reused.
A builder for a subcomponent.
The entry point into the API is the
Component, which annotates abstract types for
Dagger 2 to implement. The dependency graph is configured using annotations such as
dagger.internal.codegen.ComponentProcessor is the processor responsible for generating
the implementation. Dagger uses the annotation procesor service loader to automatically configure the processor, so explict build configuration
shouldn't be necessary.
Copyright © 2012–2017 The Dagger Authors. All rights reserved.