- Binding - Interface in dagger.model
-
The association between a
Key and the way in which instances of the key are provided.
- binding() - Method in interface dagger.model.Binding
-
- binding() - Method in interface dagger.model.BindingGraph.MaybeBinding
-
The binding, or empty if missing.
- binding() - Method in class dagger.model.BindingGraph.MissingBinding
-
- Binding - Interface in dagger.spi.model
-
The association between a
Key and the way in which instances of the key are provided.
- binding() - Method in interface dagger.spi.model.Binding
-
- binding() - Method in interface dagger.spi.model.BindingGraph.MaybeBinding
-
The binding, or empty if missing.
- binding() - Method in class dagger.spi.model.BindingGraph.MissingBinding
-
- bindingElement() - Method in interface dagger.model.Binding
-
The Element that declares this binding.
- bindingElement() - Method in class dagger.model.Key.MultibindingContributionIdentifier
-
- bindingElement() - Method in interface dagger.spi.model.Binding
-
- bindingElement() - Method in class dagger.spi.model.Key.MultibindingContributionIdentifier
-
- BindingGraph - Class in dagger.model
-
A graph of bindings, dependency requests, and components.
- BindingGraph() - Constructor for class dagger.model.BindingGraph
-
- BindingGraph - Class in dagger.spi.model
-
A graph of bindings, dependency requests, and components.
- BindingGraph() - Constructor for class dagger.spi.model.BindingGraph
-
- BindingGraph.ChildFactoryMethodEdge - Interface in dagger.model
-
An edge that represents a subcomponent factory method linking a parent component to a child
subcomponent.
- BindingGraph.ChildFactoryMethodEdge - Interface in dagger.spi.model
-
An edge that represents a subcomponent factory method linking a parent component to a child
subcomponent.
- BindingGraph.ComponentNode - Interface in dagger.model
-
A component node in the graph.
- BindingGraph.ComponentNode - Interface in dagger.spi.model
-
A component node in the graph.
- BindingGraph.DependencyEdge - Interface in dagger.model
-
An edge that represents a dependency on a binding.
- BindingGraph.DependencyEdge - Interface in dagger.spi.model
-
An edge that represents a dependency on a binding.
- BindingGraph.Edge - Interface in dagger.model
-
An edge in the binding graph.
- BindingGraph.Edge - Interface in dagger.spi.model
-
An edge in the binding graph.
- BindingGraph.MaybeBinding - Interface in dagger.model
-
- BindingGraph.MaybeBinding - Interface in dagger.spi.model
-
- BindingGraph.MissingBinding - Class in dagger.model
-
A node in the binding graph that represents a missing binding for a key in a component.
- BindingGraph.MissingBinding - Class in dagger.spi.model
-
A node in the binding graph that represents a missing binding for a key in a component.
- BindingGraph.Node - Interface in dagger.model
-
A node in the binding graph.
- BindingGraph.Node - Interface in dagger.spi.model
-
A node in the binding graph.
- BindingGraph.SubcomponentCreatorBindingEdge - Interface in dagger.model
-
An edge that represents the link between a parent component and a child subcomponent implied by
a subcomponent creator (builder or factory) binding.
- BindingGraph.SubcomponentCreatorBindingEdge - Interface in dagger.spi.model
-
An edge that represents the link between a parent component and a child subcomponent implied by
a subcomponent creator (builder or factory) binding.
- BindingGraphPlugin - Interface in dagger.spi
-
- BindingGraphPlugin - Interface in dagger.spi.model
-
- BindingKind - Enum in dagger.model
-
Represents the different kinds of
Bindings that can exist in a binding graph.
- BindingKind - Enum in dagger.spi.model
-
Represents the different kinds of
Bindings that can exist in a binding graph.
- bindings() - Method in class dagger.model.BindingGraph
-
Returns the bindings.
- bindings(Key) - Method in class dagger.model.BindingGraph
-
Returns the bindings for a key.
- bindings() - Method in class dagger.spi.model.BindingGraph
-
Returns the bindings.
- bindings(Key) - Method in class dagger.spi.model.BindingGraph
-
Returns the bindings for a key.
- build() - Method in class dagger.model.DependencyRequest.Builder
-
- build() - Method in class dagger.model.Key.Builder
-
- build() - Method in class dagger.spi.model.DependencyRequest.Builder
-
- build() - Method in class dagger.spi.model.Key.Builder
-
- builder() - Static method in class dagger.model.DependencyRequest
-
Returns a new builder of dependency requests.
- Builder() - Constructor for class dagger.model.DependencyRequest.Builder
-
- builder(TypeMirror) - Static method in class dagger.model.Key
-
Returns a builder for
Keys.
- Builder() - Constructor for class dagger.model.Key.Builder
-
- builder() - Static method in class dagger.spi.model.DependencyRequest
-
Returns a new builder of dependency requests.
- Builder() - Constructor for class dagger.spi.model.DependencyRequest.Builder
-
- builder(DaggerType) - Static method in class dagger.spi.model.Key
-
Returns a builder for
Keys.
- Builder() - Constructor for class dagger.spi.model.Key.Builder
-
- childPath(TypeElement) - Method in class dagger.model.ComponentPath
-
Returns the path from the root component to the child of the current component.
- childPath(DaggerTypeElement) - Method in class dagger.spi.model.ComponentPath
-
Returns the path from the root component to the child of the current component.
- className() - Method in class dagger.spi.model.DaggerAnnotation
-
- className() - Method in class dagger.spi.model.DaggerTypeElement
-
- className() - Method in class dagger.spi.model.Scope
-
- CompilerEnvironment - Enum in dagger.spi.model
-
Types for the compiler in use for annotation processing.
- componentNode(ComponentPath) - Method in class dagger.model.BindingGraph
-
Returns the component node for a component.
- componentNode(ComponentPath) - Method in class dagger.spi.model.BindingGraph
-
Returns the component node for a component.
- componentNodes() - Method in class dagger.model.BindingGraph
-
Returns the component nodes.
- componentNodes(TypeElement) - Method in class dagger.model.BindingGraph
-
Returns the component nodes for a component.
- componentNodes() - Method in class dagger.spi.model.BindingGraph
-
Returns the component nodes.
- componentNodes(DaggerTypeElement) - Method in class dagger.spi.model.BindingGraph
-
Returns the component nodes for a component.
- componentPath() - Method in interface dagger.model.Binding
-
- componentPath() - Method in interface dagger.model.BindingGraph.ComponentNode
-
The component represented by this node.
- componentPath() - Method in interface dagger.model.BindingGraph.MaybeBinding
-
The component that owns the binding, or in which the binding is missing.
- componentPath() - Method in class dagger.model.BindingGraph.MissingBinding
-
The component in which the binding is missing.
- componentPath() - Method in interface dagger.model.BindingGraph.Node
-
The component this node belongs to.
- ComponentPath - Class in dagger.model
-
A path containing a component and all of its ancestor components.
- ComponentPath() - Constructor for class dagger.model.ComponentPath
-
- componentPath() - Method in interface dagger.spi.model.Binding
-
- componentPath() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
-
The component represented by this node.
- componentPath() - Method in interface dagger.spi.model.BindingGraph.MaybeBinding
-
The component that owns the binding, or in which the binding is missing.
- componentPath() - Method in class dagger.spi.model.BindingGraph.MissingBinding
-
The component in which the binding is missing.
- componentPath() - Method in interface dagger.spi.model.BindingGraph.Node
-
The component this node belongs to.
- ComponentPath - Class in dagger.spi.model
-
A path containing a component and all of its ancestor components.
- ComponentPath() - Constructor for class dagger.spi.model.ComponentPath
-
- components() - Method in class dagger.model.ComponentPath
-
- components() - Method in class dagger.spi.model.ComponentPath
-
- contributingModule() - Method in interface dagger.model.Binding
-
The TypeElement of the module which contributes this binding.
- contributingModule() - Method in interface dagger.spi.model.Binding
-
- create(Iterable<TypeElement>) - Static method in class dagger.model.ComponentPath
-
- create(Iterable<DaggerTypeElement>) - Static method in class dagger.spi.model.ComponentPath
-
- currentComponent() - Method in class dagger.model.ComponentPath
-
Returns the component at the end of the path.
- currentComponent() - Method in class dagger.spi.model.ComponentPath
-
Returns the component at the end of the path.
- dagger.model - package dagger.model
-
This package contains the APIs that are core to Dagger's internal model of bindings and the
binding graph.
- dagger.spi - package dagger.spi
-
This package contains the Service Provider interface (SPI) to the
dagger.model APIs at
annotation-processing-time.
- dagger.spi.model - package dagger.spi.model
-
This package contains the APIs that are core to Dagger's internal model of bindings and the
binding graph.
- DaggerAnnotation - Class in dagger.spi.model
-
Wrapper type for an annotation.
- DaggerAnnotation() - Constructor for class dagger.spi.model.DaggerAnnotation
-
- DaggerElement - Class in dagger.spi.model
-
Wrapper type for an element.
- DaggerElement() - Constructor for class dagger.spi.model.DaggerElement
-
- DaggerExecutableElement - Class in dagger.spi.model
-
Wrapper type for an executable element.
- DaggerExecutableElement() - Constructor for class dagger.spi.model.DaggerExecutableElement
-
- DaggerType - Class in dagger.spi.model
-
Wrapper type for a type.
- DaggerType() - Constructor for class dagger.spi.model.DaggerType
-
- DaggerTypeElement - Class in dagger.spi.model
-
Wrapper type for a type element.
- DaggerTypeElement() - Constructor for class dagger.spi.model.DaggerTypeElement
-
- declaringModules() - Method in interface dagger.model.BindingGraph.SubcomponentCreatorBindingEdge
-
The modules that declare the subcomponent that generated
this edge.
- declaringModules() - Method in interface dagger.spi.model.BindingGraph.SubcomponentCreatorBindingEdge
-
The modules that declare the subcomponent that generated
this edge.
- dependencies() - Method in interface dagger.model.Binding
-
The dependencies of this binding.
- dependencies() - Method in interface dagger.spi.model.Binding
-
The dependencies of this binding.
- dependencyEdges() - Method in class dagger.model.BindingGraph
-
Returns the dependency edges.
- dependencyEdges(Binding) - Method in class dagger.model.BindingGraph
-
Returns the dependency edges for the dependencies of a binding.
- dependencyEdges(DependencyRequest) - Method in class dagger.model.BindingGraph
-
Returns the dependency edges for a dependency request.
- dependencyEdges() - Method in class dagger.spi.model.BindingGraph
-
Returns the dependency edges.
- dependencyEdges(Binding) - Method in class dagger.spi.model.BindingGraph
-
Returns the dependency edges for the dependencies of a binding.
- dependencyEdges(DependencyRequest) - Method in class dagger.spi.model.BindingGraph
-
Returns the dependency edges for a dependency request.
- dependencyRequest() - Method in interface dagger.model.BindingGraph.DependencyEdge
-
The dependency request.
- DependencyRequest - Class in dagger.model
-
Represents a request for a
Key at an injection point.
- DependencyRequest() - Constructor for class dagger.model.DependencyRequest
-
- dependencyRequest() - Method in interface dagger.spi.model.BindingGraph.DependencyEdge
-
The dependency request.
- DependencyRequest - Class in dagger.spi.model
-
Represents a request for a
Key at an injection point.
- DependencyRequest() - Constructor for class dagger.spi.model.DependencyRequest
-
- DependencyRequest.Builder - Class in dagger.model
-
- DependencyRequest.Builder - Class in dagger.spi.model
-
- DiagnosticReporter - Interface in dagger.spi
-
- DiagnosticReporter - Interface in dagger.spi.model
-
- initElements(Elements) - Method in interface dagger.spi.BindingGraphPlugin
-
Initializes this plugin with a Elements instance.
- initElements(Elements) - Method in interface dagger.spi.model.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.
- initFiler(Filer) - Method in interface dagger.spi.model.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
-
- initOptions(Map<String, String>) - Method in interface dagger.spi.model.BindingGraphPlugin
-
- initTypes(Types) - Method in interface dagger.spi.BindingGraphPlugin
-
Initializes this plugin with a Types instance.
- initTypes(Types) - Method in interface dagger.spi.model.BindingGraphPlugin
-
Initializes this plugin with a Types instance.
- isEntryPoint() - Method in interface dagger.model.BindingGraph.DependencyEdge
-
Returns true if this edge represents an entry point.
- isEntryPoint() - Method in interface dagger.spi.model.BindingGraph.DependencyEdge
-
Returns true if this edge represents an entry point.
- isFullBindingGraph() - Method in class dagger.model.BindingGraph
-
Returns
true if this is a full binding graph, which contains all bindings installed in
the component, or
false if it is a reachable binding graph, which contains only
bindings that are reachable from at least one
entry point.
- isFullBindingGraph() - Method in class dagger.spi.model.BindingGraph
-
Returns
true if this is a full binding graph, which contains all bindings installed in
the component, or
false if it is a reachable binding graph, which contains only
bindings that are reachable from at least one
entry point.
- isModuleBindingGraph() - Method in class dagger.model.BindingGraph
-
- isModuleBindingGraph() - Method in class dagger.spi.model.BindingGraph
-
- isMultibinding() - Method in enum dagger.model.BindingKind
-
Returns true if this is a kind of multibinding (not a contribution to a multibinding,
but the multibinding itself).
- isMultibinding() - Method in enum dagger.spi.model.BindingKind
-
Returns true if this is a kind of multibinding (not a contribution to a multibinding,
but the multibinding itself).
- isNullable() - Method in interface dagger.model.Binding
-
- isNullable(boolean) - Method in class dagger.model.DependencyRequest.Builder
-
- isNullable() - Method in class dagger.model.DependencyRequest
-
Returns true if this request allows null objects.
- isNullable() - Method in interface dagger.spi.model.Binding
-
- isNullable(boolean) - Method in class dagger.spi.model.DependencyRequest.Builder
-
- isNullable() - Method in class dagger.spi.model.DependencyRequest
-
Returns true if this request allows null objects.
- isPartialBindingGraph() - Method in class dagger.model.BindingGraph
-
- isPartialBindingGraph() - Method in class dagger.spi.model.BindingGraph
-
- isProduction() - Method in interface dagger.model.Binding
-
Returns true if this is a production binding, e.g.
- isProduction() - Method in interface dagger.spi.model.Binding
-
Returns true if this is a production binding, e.g.
- isProductionScope() - Method in class dagger.model.Scope
-
Returns true if this scope is the @ProductionScope scope.
- isProductionScope() - Method in class dagger.spi.model.Scope
-
Returns true if this scope is the @ProductionScope scope.
- isRealComponent() - Method in interface dagger.model.BindingGraph.ComponentNode
-
Returns true if the component is a real component, or false if it is a
fictional component based on a module.
- isRealComponent() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
-
Returns true if the component is a real component, or false if it is a
fictional component based on a module.
- isReusable() - Method in class dagger.model.Scope
-
Returns true if this scope is the @Reusable scope.
- isReusable() - Method in class dagger.spi.model.Scope
-
Returns true if this scope is the @Reusable scope.
- isScope(AnnotationMirror) - Static method in class dagger.model.Scope
-
- isScope(TypeElement) - Static method in class dagger.model.Scope
-
Returns true if scopeAnnotationType is a Scope annotation.
- isScope(DaggerAnnotation) - Static method in class dagger.spi.model.Scope
-
- isScope(DaggerTypeElement) - Static method in class dagger.spi.model.Scope
-
Returns true if scopeAnnotationType is a Scope annotation.
- isSingleton() - Method in class dagger.model.Scope
-
Returns true if this scope is the @Singleton scope.
- isSingleton() - Method in class dagger.spi.model.Scope
-
Returns true if this scope is the @Singleton scope.
- isSubcomponent() - Method in interface dagger.model.BindingGraph.ComponentNode
-
Returns true if the component is a @Subcomponent or
@ProductionSubcomponent.
- isSubcomponent() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
-
Returns true if the component is a @Subcomponent or
@ProductionSubcomponent.
- 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.
- reportBinding(Diagnostic.Kind, BindingGraph.MaybeBinding, String) - Method in interface dagger.spi.model.DiagnosticReporter
-
Reports a diagnostic for a binding or missing binding.
- reportBinding(Diagnostic.Kind, BindingGraph.MaybeBinding, String, Object, Object...) - Method in interface dagger.spi.model.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.
- reportComponent(Diagnostic.Kind, BindingGraph.ComponentNode, String) - Method in interface dagger.spi.model.DiagnosticReporter
-
Reports a diagnostic for a component.
- reportComponent(Diagnostic.Kind, BindingGraph.ComponentNode, String, Object, Object...) - Method in interface dagger.spi.model.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.
- reportDependency(Diagnostic.Kind, BindingGraph.DependencyEdge, String) - Method in interface dagger.spi.model.DiagnosticReporter
-
Reports a diagnostic for a dependency.
- reportDependency(Diagnostic.Kind, BindingGraph.DependencyEdge, String, Object, Object...) - Method in interface dagger.spi.model.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.
- reportSubcomponentFactoryMethod(Diagnostic.Kind, BindingGraph.ChildFactoryMethodEdge, String) - Method in interface dagger.spi.model.DiagnosticReporter
-
Reports a diagnostic for a subcomponent factory method.
- reportSubcomponentFactoryMethod(Diagnostic.Kind, BindingGraph.ChildFactoryMethodEdge, String, Object, Object...) - Method in interface dagger.spi.model.DiagnosticReporter
-
Reports a diagnostic for a subcomponent factory method.
- requestedBindings(Binding) - Method in class dagger.model.BindingGraph
-
Returns the bindings that a given binding directly requests as a dependency.
- requestedBindings(Binding) - Method in class dagger.spi.model.BindingGraph
-
Returns the bindings that a given binding directly requests as a dependency.
- requestedMaybeMissingBindings(Binding) - Method in class dagger.model.BindingGraph
-
Returns the bindings or missing bindings that a given binding directly requests as a
dependency.
- requestedMaybeMissingBindings(Binding) - Method in class dagger.spi.model.BindingGraph
-
Returns the bindings or missing bindings that a given binding directly requests as a
dependency.
- requestElement(Element) - Method in class dagger.model.DependencyRequest.Builder
-
- requestElement() - Method in class dagger.model.DependencyRequest
-
The element that declares this dependency request.
- requestElement(DaggerElement) - Method in class dagger.spi.model.DependencyRequest.Builder
-
- requestElement() - Method in class dagger.spi.model.DependencyRequest
-
The element that declares this dependency request.
- requestingBindings(BindingGraph.MaybeBinding) - Method in class dagger.model.BindingGraph
-
Returns the bindings that directly request a given binding as a dependency.
- requestingBindings(BindingGraph.MaybeBinding) - Method in class dagger.spi.model.BindingGraph
-
Returns the bindings that directly request a given binding as a dependency.
- RequestKind - Enum in dagger.model
-
Represents the different kinds of types that may be
requested as dependencies for the same key.
- RequestKind - Enum in dagger.spi.model
-
Represents the different kinds of types that may be
requested as dependencies for the same key.
- requiresModuleInstance() - Method in interface dagger.model.Binding
-
- requiresModuleInstance() - Method in interface dagger.spi.model.Binding
-
- rootComponent() - Method in class dagger.model.ComponentPath
-
Returns the root Component- or ProductionComponent-annotated type
- rootComponent() - Method in class dagger.spi.model.ComponentPath
-
Returns the root Component- or ProductionComponent-annotated type
- rootComponentNode() - Method in class dagger.model.BindingGraph
-
Returns the component node for the root component.
- rootComponentNode() - Method in class dagger.spi.model.BindingGraph
-
Returns the component node for the root component.
- valueOf(String) - Static method in enum dagger.model.BindingKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dagger.model.RequestKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dagger.spi.model.BindingKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dagger.spi.model.CompilerEnvironment
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dagger.spi.model.RequestKind
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum dagger.model.BindingKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dagger.model.RequestKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dagger.spi.model.BindingKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dagger.spi.model.CompilerEnvironment
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dagger.spi.model.RequestKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- visitGraph(BindingGraph, DiagnosticReporter) - Method in interface dagger.spi.BindingGraphPlugin
-
Called once for each valid root binding graph encountered by the Dagger processor.
- visitGraph(BindingGraph, DiagnosticReporter) - Method in interface dagger.spi.model.BindingGraphPlugin
-
Called once for each valid root binding graph encountered by the Dagger processor.