A B C D E F H I J K L M N O P Q R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- annotationTypeElement() - Method in class dagger.spi.model.DaggerAnnotation
- ASSISTED_FACTORY - dagger.model.BindingKind
-
A binding for an
AssistedFactory-annotated type. - ASSISTED_FACTORY - dagger.spi.model.BindingKind
-
A binding for an
AssistedFactory-annotated type. - ASSISTED_INJECTION - dagger.model.BindingKind
-
A binding for an
Inject-annotated constructor that contains at least oneAssisted-annotated parameter. - ASSISTED_INJECTION - dagger.spi.model.BindingKind
-
A binding for an
Inject-annotated constructor that contains at least oneAssisted-annotated parameter. - atRoot() - Method in class dagger.model.ComponentPath
-
Returns
trueif the ComponentPath.currentComponent() current component} is the ComponentPath.rootComponent() root component}. - atRoot() - Method in class dagger.spi.model.ComponentPath
-
Returns
trueif the ComponentPath.currentComponent() current component} is the ComponentPath.rootComponent() root component}.
B
- backend() - Method in class dagger.spi.model.BindingGraph
- backend() - Method in class dagger.spi.model.DaggerAnnotation
-
Returns the backend used in this compilation.
- backend() - Method in class dagger.spi.model.DaggerElement
-
Returns the backend used in this compilation.
- backend() - Method in class dagger.spi.model.DaggerExecutableElement
-
Returns the backend used in this compilation.
- backend() - Method in class dagger.spi.model.DaggerProcessingEnv
-
Returns the backend used in this compilation.
- backend() - Method in class dagger.spi.model.DaggerType
-
Returns the backend used in this compilation.
- backend() - Method in class dagger.spi.model.DaggerTypeElement
-
Returns the backend used in this compilation.
- binding() - Method in interface dagger.model.Binding
-
Deprecated.This always returns
Optional.of(this). - binding() - Method in interface dagger.model.BindingGraph.MaybeBinding
-
The binding, or empty if missing.
- binding() - Method in class dagger.model.BindingGraph.MissingBinding
-
Deprecated.This always returns
Optional.empty(). - binding() - Method in interface dagger.spi.model.Binding
-
Deprecated.This always returns
Optional.of(this). - binding() - Method in interface dagger.spi.model.BindingGraph.MaybeBinding
-
The binding, or empty if missing.
- binding() - Method in class dagger.spi.model.BindingGraph.MissingBinding
-
Deprecated.This always returns
Optional.empty(). - Binding - Interface in dagger.model
-
The association between a
Keyand the way in which instances of the key are provided. - Binding - Interface in dagger.spi.model
-
The association between a
Keyand the way in which instances of the key are provided. - bindingElement() - Method in interface dagger.model.Binding
-
The
Elementthat declares this binding. - bindingElement() - Method in class dagger.model.Key.MultibindingContributionIdentifier
-
Deprecated.This is only meant to be called from code in
dagger.internal.codegen. It is not part of a specified API and may change at any point. - bindingElement() - Method in interface dagger.spi.model.Binding
-
The
DaggerElementthat declares this binding. - BindingGraph - Class in dagger.model
-
A graph of bindings, dependency requests, and components.
- BindingGraph - Class in dagger.spi.model
-
A graph of bindings, dependency requests, and components.
- BindingGraph() - Constructor for class dagger.model.BindingGraph
- 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
-
A node in the binding graph that is either a
Bindingor aBindingGraph.MissingBinding. - BindingGraph.MaybeBinding - Interface in dagger.spi.model
-
A node in the binding graph that is either a
Bindingor aBindingGraph.MissingBinding. - 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
-
A pluggable visitor for
BindingGraph. - BindingGraphPlugin - Interface in dagger.spi.model
-
A pluggable visitor for
BindingGraph. - 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. - bindingMethod() - Method in class dagger.spi.model.Key.MultibindingContributionIdentifier
-
Returns the multibinding method that defines teh multibinding contribution.
- bindings() - Method in class dagger.model.BindingGraph
-
Returns the bindings.
- bindings() - Method in class dagger.spi.model.BindingGraph
-
Returns the bindings.
- bindings(Key) - Method in class dagger.model.BindingGraph
-
Returns the bindings for a key.
- bindings(Key) - Method in class dagger.spi.model.BindingGraph
-
Returns the bindings for a key.
- BOUND_INSTANCE - dagger.model.BindingKind
-
A binding for a
BindsInstance-annotated builder method. - BOUND_INSTANCE - dagger.spi.model.BindingKind
-
A binding for a
BindsInstance-annotated builder method. - 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() - Static method in class dagger.spi.model.DependencyRequest
-
Returns a new builder of dependency requests.
- builder(DaggerType) - Static method in class dagger.spi.model.Key
-
Returns a builder for
Keys. - builder(TypeMirror) - Static method in class dagger.model.Key
-
Returns a builder for
Keys. - Builder() - Constructor for class dagger.model.DependencyRequest.Builder
- Builder() - Constructor for class dagger.model.Key.Builder
- Builder() - Constructor for class dagger.spi.model.DependencyRequest.Builder
- Builder() - Constructor for class dagger.spi.model.Key.Builder
C
- childPath(DaggerTypeElement) - Method in class dagger.spi.model.ComponentPath
-
Returns the path from the root component to the
childof the current component. - childPath(TypeElement) - Method in class dagger.model.ComponentPath
-
Returns the path from the root component to the
childof the current component. - COMPONENT - dagger.model.BindingKind
-
An implicit binding for a
Component- orProductionComponent-annotated type. - COMPONENT - dagger.spi.model.BindingKind
-
An implicit binding for a
Component- orProductionComponent-annotated type. - COMPONENT_DEPENDENCY - dagger.model.BindingKind
-
A binding for an instance of a component's dependency.
- COMPONENT_DEPENDENCY - dagger.spi.model.BindingKind
-
A binding for an instance of a component's dependency.
- COMPONENT_PRODUCTION - dagger.model.BindingKind
-
A binding for a production method on a production component's
ProductionComponent#dependencies()that returns aListenableFutureorFluentFuture. - COMPONENT_PRODUCTION - dagger.spi.model.BindingKind
-
A binding for a production method on a production component's
ProductionComponent#dependencies()that returns aListenableFutureorFluentFuture. - COMPONENT_PROVISION - dagger.model.BindingKind
-
A binding for a provision method on a component's dependency.
- COMPONENT_PROVISION - dagger.spi.model.BindingKind
-
A binding for a provision method on a component's dependency.
- 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() - 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.
- componentNodes(TypeElement) - Method in class dagger.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() - 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.model
-
A path containing a component and all of its ancestor components.
- ComponentPath - Class in dagger.spi.model
-
A path containing a component and all of its ancestor components.
- ComponentPath() - Constructor for class dagger.model.ComponentPath
- ComponentPath() - Constructor for class dagger.spi.model.ComponentPath
- components() - Method in class dagger.model.ComponentPath
-
Returns the component types, starting from the root component and ending with the current component.
- components() - Method in class dagger.spi.model.ComponentPath
-
Returns the component types, starting from the root component and ending with the current component.
- contributingModule() - Method in interface dagger.model.Binding
-
The
TypeElementof the module which contributes this binding. - contributingModule() - Method in interface dagger.spi.model.Binding
-
The
DaggerTypeElementof the module which contributes this binding. - contributingModule() - Method in class dagger.spi.model.Key.MultibindingContributionIdentifier
-
Returns the module containing the multibinding method.
- create(Iterable<DaggerTypeElement>) - Static method in class dagger.spi.model.ComponentPath
-
Returns a new
ComponentPathfromcomponents. - create(Iterable<TypeElement>) - Static method in class dagger.model.ComponentPath
-
Returns a new
ComponentPathfromcomponents. - 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.
D
- 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.modelAPIs 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
- DaggerProcessingEnv - Class in dagger.spi.model
-
Wrapper type for an element.
- DaggerProcessingEnv() - Constructor for class dagger.spi.model.DaggerProcessingEnv
- DaggerProcessingEnv.Backend - Enum in dagger.spi.model
-
Represents a type of backend used for compilation.
- 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.
- DELEGATE - dagger.model.BindingKind
-
A binding for
Binds-annotated method that delegates from requests for one key to another. - DELEGATE - dagger.spi.model.BindingKind
-
A binding for
Binds-annotated method that that delegates from requests for one key to another. - 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() - Method in class dagger.spi.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(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() - Method in interface dagger.spi.model.BindingGraph.DependencyEdge
-
The dependency request.
- DependencyRequest - Class in dagger.model
-
Represents a request for a
Keyat an injection point. - DependencyRequest - Class in dagger.spi.model
-
Represents a request for a
Keyat an injection point. - DependencyRequest() - Constructor for class dagger.model.DependencyRequest
- DependencyRequest() - Constructor for class dagger.spi.model.DependencyRequest
- DependencyRequest.Builder - Class in dagger.model
-
A builder of
DependencyRequests. - DependencyRequest.Builder - Class in dagger.spi.model
-
A builder of
DependencyRequests. - DiagnosticReporter - Class in dagger.spi.model
-
An object that
BindingGraphPlugins can use to report diagnostics while visiting aBindingGraph. - DiagnosticReporter - Interface in dagger.spi
-
An object that
BindingGraphPlugins can use to report diagnostics while visiting aBindingGraph. - DiagnosticReporter() - Constructor for class dagger.spi.model.DiagnosticReporter
E
- entryPointBindings() - Method in class dagger.model.BindingGraph
-
Returns the binding or missing binding nodes that directly satisfy entry points.
- entryPointBindings() - Method in class dagger.spi.model.BindingGraph
-
Returns the binding or missing binding nodes that directly satisfy entry points.
- entryPointEdges() - Method in class dagger.model.BindingGraph
-
Returns the dependency edges for all entry points for all components and subcomponents.
- entryPointEdges() - Method in class dagger.spi.model.BindingGraph
-
Returns the dependency edges for all entry points for all components and subcomponents.
- entryPointEdges(ComponentPath) - Method in class dagger.model.BindingGraph
-
Returns the dependency edges for the entry points of a given
component. - entryPointEdges(ComponentPath) - Method in class dagger.spi.model.BindingGraph
-
Returns the dependency edges for the entry points of a given
component. - entryPointEdgesDependingOnBinding(BindingGraph.MaybeBinding) - Method in class dagger.model.BindingGraph
-
Returns the edges for entry points that transitively depend on a binding or missing binding for a key.
- entryPointEdgesDependingOnBinding(BindingGraph.MaybeBinding) - Method in class dagger.spi.model.BindingGraph
-
Returns the edges for entry points that transitively depend on a binding or missing binding for a key.
- entryPoints() - Method in interface dagger.model.BindingGraph.ComponentNode
-
The entry points on this component.
- entryPoints() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
-
The entry points on this component.
- equals(Object) - Method in class dagger.model.ComponentPath
- equals(Object) - Method in class dagger.model.Key
- equals(Object) - Method in class dagger.model.Key.MultibindingContributionIdentifier
- equals(Object) - Method in class dagger.spi.model.ComponentPath
- equals(Object) - Method in class dagger.spi.model.Key
F
- factoryMethod() - Method in interface dagger.model.BindingGraph.ChildFactoryMethodEdge
-
The subcomponent factory method element.
- factoryMethod() - Method in interface dagger.spi.model.BindingGraph.ChildFactoryMethodEdge
-
The subcomponent factory method element.
- format(Key) - Method in enum dagger.model.RequestKind
-
Returns a string that represents requests of this kind for a key.
- format(Key) - Method in enum dagger.spi.model.RequestKind
-
Returns a string that represents requests of this kind for a key.
- FUTURE - dagger.model.RequestKind
-
A request for a
ListenableFuture. - FUTURE - dagger.spi.model.RequestKind
-
A request for a
ListenableFuture.
H
- hashCode() - Method in class dagger.model.ComponentPath
- hashCode() - Method in class dagger.model.Key
- hashCode() - Method in class dagger.model.Key.MultibindingContributionIdentifier
- hashCode() - Method in class dagger.spi.model.ComponentPath
- hashCode() - Method in class dagger.spi.model.Key
I
- init(DaggerProcessingEnv, Map<String, String>) - Method in interface dagger.spi.model.BindingGraphPlugin
-
Initializes this plugin with a
DaggerProcessingEnv. - initElements(Elements) - Method in interface dagger.spi.BindingGraphPlugin
-
Initializes this plugin with a
Elementsinstance. - initFiler(Filer) - Method in interface dagger.spi.BindingGraphPlugin
-
Initializes this plugin with a
Filerthat it can use to write Java or other files based on the binding graph. - initOptions(Map<String, String>) - Method in interface dagger.spi.BindingGraphPlugin
-
Initializes this plugin with a filtered view of the options passed on the
javaccommand-line for all keys fromBindingGraphPlugin.supportedOptions(). - initTypes(Types) - Method in interface dagger.spi.BindingGraphPlugin
-
Initializes this plugin with a
Typesinstance. - INJECTION - dagger.model.BindingKind
-
A binding for an
Inject-annotated constructor. - INJECTION - dagger.spi.model.BindingKind
-
A binding for an
Inject-annotated constructor. - INSTANCE - dagger.model.RequestKind
-
A default request for an instance.
- INSTANCE - dagger.spi.model.RequestKind
-
A default request for an instance.
- isEntryPoint() - Method in interface dagger.model.BindingGraph.DependencyEdge
-
Returns
trueif this edge represents an entry point. - isEntryPoint() - Method in interface dagger.spi.model.BindingGraph.DependencyEdge
-
Returns
trueif this edge represents an entry point. - isFullBindingGraph() - Method in class dagger.model.BindingGraph
-
Returns
trueif this is a full binding graph, which contains all bindings installed in the component, orfalseif 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
trueif this is a full binding graph, which contains all bindings installed in the component, orfalseif 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
-
Deprecated.use
BindingGraph.isFullBindingGraph()to tell if this is a full binding graph, orrootComponentNode().isRealComponent()to tell if the root component node is really a component or derived from a module. Dagger can generate full binding graphs for components and subcomponents as well as modules. - isModuleBindingGraph() - Method in class dagger.spi.model.BindingGraph
-
Deprecated.use
BindingGraph.isFullBindingGraph()to tell if this is a full binding graph, orrootComponentNode().isRealComponent()to tell if the root component node is really a component or derived from a module. Dagger can generate full binding graphs for components and subcomponents as well as modules. - isMultibinding() - Method in enum dagger.model.BindingKind
-
Returns
trueif 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
trueif this is a kind of multibinding (not a contribution to a multibinding, but the multibinding itself). - isNullable() - Method in interface dagger.model.Binding
-
Returns
trueif this binding may providenullinstead of an instance ofBindingGraph.MaybeBinding.key(). - isNullable() - Method in class dagger.model.DependencyRequest
-
Returns
trueif this request allows null objects. - isNullable() - Method in interface dagger.spi.model.Binding
-
Returns
trueif this binding may providenullinstead of an instance ofBindingGraph.MaybeBinding.key(). - isNullable() - Method in class dagger.spi.model.DependencyRequest
-
Returns
trueif this request allows null objects. - isNullable(boolean) - Method in class dagger.model.DependencyRequest.Builder
- isNullable(boolean) - Method in class dagger.spi.model.DependencyRequest.Builder
- isPartialBindingGraph() - Method in class dagger.model.BindingGraph
-
Deprecated.use
rootComponentNode().isSubcomponent()instead - isPartialBindingGraph() - Method in class dagger.spi.model.BindingGraph
-
Deprecated.use
rootComponentNode().isSubcomponent()instead - isProduction() - Method in interface dagger.model.Binding
-
Returns
trueif this is a production binding, e.g. - isProduction() - Method in interface dagger.spi.model.Binding
-
Returns
trueif this is a production binding, e.g. - isProductionScope() - Method in class dagger.model.Scope
-
Returns
trueif this scope is the@ProductionScopescope. - isProductionScope() - Method in class dagger.spi.model.Scope
-
Returns
trueif this scope is the@ProductionScopescope. - isRealComponent() - Method in interface dagger.model.BindingGraph.ComponentNode
-
Returns
trueif the component is a real component, orfalseif it is a fictional component based on a module. - isRealComponent() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
-
Returns
trueif the component is a real component, orfalseif it is a fictional component based on a module. - isReusable() - Method in class dagger.model.Scope
-
Returns
trueif this scope is the@Reusablescope. - isReusable() - Method in class dagger.spi.model.Scope
-
Returns
trueif this scope is the@Reusablescope. - isScope(DaggerAnnotation) - Static method in class dagger.spi.model.Scope
- isScope(DaggerTypeElement) - Static method in class dagger.spi.model.Scope
-
Returns
trueifscopeAnnotationTypeis aScopeannotation. - isScope(AnnotationMirror) - Static method in class dagger.model.Scope
- isScope(TypeElement) - Static method in class dagger.model.Scope
-
Returns
trueifscopeAnnotationTypeis aScopeannotation. - isSingleton() - Method in class dagger.model.Scope
-
Returns
trueif this scope is the@Singletonscope. - isSingleton() - Method in class dagger.spi.model.Scope
-
Returns
trueif this scope is the@Singletonscope. - isSubcomponent() - Method in interface dagger.model.BindingGraph.ComponentNode
-
Returns
trueif the component is a@Subcomponentor@ProductionSubcomponent. - isSubcomponent() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
-
Returns
trueif the component is a@Subcomponentor@ProductionSubcomponent.
J
- javac() - Method in class dagger.spi.model.DaggerAnnotation
-
Returns the Javac representation for the annotation.
- javac() - Method in class dagger.spi.model.DaggerElement
-
Returns the Javac representation for the element.
- javac() - Method in class dagger.spi.model.DaggerExecutableElement
-
Returns the Javac representation for the executable element.
- javac() - Method in class dagger.spi.model.DaggerProcessingEnv
-
Returns the Javac representation for the processing environment.
- javac() - Method in class dagger.spi.model.DaggerType
-
Returns the Javac representation for the type.
- javac() - Method in class dagger.spi.model.DaggerTypeElement
-
Returns the Javac representation for the type element.
- JAVAC - dagger.spi.model.DaggerProcessingEnv.Backend
K
- key() - Method in interface dagger.model.BindingGraph.MaybeBinding
-
The key of the binding, or for which there is no binding.
- key() - Method in class dagger.model.BindingGraph.MissingBinding
-
The key for which there is no binding.
- key() - Method in class dagger.model.DependencyRequest
-
The key of this request.
- key() - Method in interface dagger.spi.model.BindingGraph.MaybeBinding
-
The key of the binding, or for which there is no binding.
- key() - Method in class dagger.spi.model.BindingGraph.MissingBinding
-
The key for which there is no binding.
- key() - Method in class dagger.spi.model.DependencyRequest
-
The key of this request.
- key(Key) - Method in class dagger.model.DependencyRequest.Builder
- key(Key) - Method in class dagger.spi.model.DependencyRequest.Builder
- Key - Class in dagger.model
-
A type and an optional qualifier that is the lookup key for a binding.
- Key - Class in dagger.spi.model
-
A type and an optional qualifier that is the lookup key for a binding.
- Key() - Constructor for class dagger.model.Key
- Key() - Constructor for class dagger.spi.model.Key
- Key.Builder - Class in dagger.model
-
A builder for
Keys. - Key.Builder - Class in dagger.spi.model
-
A builder for
Keys. - Key.MultibindingContributionIdentifier - Class in dagger.model
-
An object that identifies a multibinding contribution method and the module class that contributes it to the graph.
- Key.MultibindingContributionIdentifier - Class in dagger.spi.model
-
An object that identifies a multibinding contribution method and the module class that contributes it to the graph.
- kind() - Method in interface dagger.model.Binding
-
The kind of binding this instance represents.
- kind() - Method in class dagger.model.DependencyRequest
-
The kind of this request.
- kind() - Method in interface dagger.spi.model.Binding
-
The kind of binding this instance represents.
- kind() - Method in class dagger.spi.model.DependencyRequest
-
The kind of this request.
- kind(RequestKind) - Method in class dagger.model.DependencyRequest.Builder
- kind(RequestKind) - Method in class dagger.spi.model.DependencyRequest.Builder
- ksp() - Method in class dagger.spi.model.DaggerAnnotation
-
Returns the KSP representation for the annotation.
- ksp() - Method in class dagger.spi.model.DaggerElement
-
Returns the KSP representation for the element.
- ksp() - Method in class dagger.spi.model.DaggerExecutableElement
-
Returns the KSP representation for the executable element.
- ksp() - Method in class dagger.spi.model.DaggerProcessingEnv
-
Returns the KSP representation for the processing environment.
- ksp() - Method in class dagger.spi.model.DaggerType
-
Returns the KSP representation for the type.
- ksp() - Method in class dagger.spi.model.DaggerTypeElement
-
Returns the KSP representation for the type element.
- KSP - dagger.spi.model.DaggerProcessingEnv.Backend
L
- LAZY - dagger.model.RequestKind
-
A request for a
Lazy. - LAZY - dagger.spi.model.RequestKind
-
A request for a
Lazy.
M
- MEMBERS_INJECTION - dagger.model.BindingKind
-
A binding for a members injection method on a component.
- MEMBERS_INJECTION - dagger.model.RequestKind
-
A request for a members injection.
- MEMBERS_INJECTION - dagger.spi.model.BindingKind
-
A binding for a members injection method on a component.
- MEMBERS_INJECTION - dagger.spi.model.RequestKind
-
A request for a members injection.
- MEMBERS_INJECTOR - dagger.model.BindingKind
-
A binding for a
MembersInjectorof a type. - MEMBERS_INJECTOR - dagger.spi.model.BindingKind
-
A binding for a
MembersInjectorof a type. - MissingBinding() - Constructor for class dagger.model.BindingGraph.MissingBinding
- MissingBinding() - Constructor for class dagger.spi.model.BindingGraph.MissingBinding
- missingBindings() - Method in class dagger.model.BindingGraph
-
Returns the nodes that represent missing bindings.
- missingBindings() - Method in class dagger.spi.model.BindingGraph
-
Returns the nodes that represent missing bindings.
- module() - Method in class dagger.model.Key.MultibindingContributionIdentifier
-
Deprecated.This is only meant to be called from code in
dagger.internal.codegen. It is not part of a specified API and may change at any point. - multibindingContributionIdentifier() - Method in class dagger.model.Key
-
Distinguishes keys for multibinding contributions that share a
Key.type()andKey.qualifier(). - multibindingContributionIdentifier() - Method in class dagger.spi.model.Key
-
Distinguishes keys for multibinding contributions that share a
Key.type()andKey.qualifier(). - multibindingContributionIdentifier(Key.MultibindingContributionIdentifier) - Method in class dagger.model.Key.Builder
- multibindingContributionIdentifier(DaggerTypeElement, DaggerExecutableElement) - Method in class dagger.spi.model.Key.Builder
- multibindingContributionIdentifier(Optional<Key.MultibindingContributionIdentifier>) - Method in class dagger.model.Key.Builder
- MultibindingContributionIdentifier() - Constructor for class dagger.spi.model.Key.MultibindingContributionIdentifier
- MultibindingContributionIdentifier(String, String) - Constructor for class dagger.model.Key.MultibindingContributionIdentifier
-
Deprecated.
- MultibindingContributionIdentifier(ExecutableElement, TypeElement) - Constructor for class dagger.model.Key.MultibindingContributionIdentifier
-
Deprecated.This is only meant to be called from code in
dagger.internal.codegen. It is not part of a specified API and may change at any point. - MULTIBOUND_MAP - dagger.model.BindingKind
-
A synthetic binding for a multibound map that depends on the individual multibinding
BindingKind.PROVISIONorBindingKind.PRODUCTIONcontributions. - MULTIBOUND_MAP - dagger.spi.model.BindingKind
-
A synthetic binding for a multibound map that depends on the individual multibinding
BindingKind.PROVISIONorBindingKind.PRODUCTIONcontributions. - MULTIBOUND_SET - dagger.model.BindingKind
-
A synthetic binding for a multibound set that depends on individual multibinding
BindingKind.PROVISIONorBindingKind.PRODUCTIONcontributions. - MULTIBOUND_SET - dagger.spi.model.BindingKind
-
A synthetic binding for a multibound set that depends on individual multibinding
BindingKind.PROVISIONorBindingKind.PRODUCTIONcontributions.
N
- network() - Method in class dagger.model.BindingGraph
-
Returns the graph in its
Networkrepresentation. - network() - Method in class dagger.spi.model.BindingGraph
-
Returns the graph in its
Networkrepresentation. - nodesByClass() - Method in class dagger.model.BindingGraph
- nodesByClass() - Method in class dagger.spi.model.BindingGraph
O
- onPluginEnd() - Method in interface dagger.spi.BindingGraphPlugin
-
Perform any extra work after the plugin finished all its visiting.
- onPluginEnd() - Method in interface dagger.spi.model.BindingGraphPlugin
-
Perform any extra work after the plugin finished all its visiting.
- onProcessingRoundBegin() - Method in interface dagger.spi.model.BindingGraphPlugin
-
Runs before each round of Dagger annotation processing.
- OPTIONAL - dagger.model.BindingKind
-
A synthetic binding for
Optionalof a type or aProvider,Lazy, orProviderofLazyof a type. - OPTIONAL - dagger.spi.model.BindingKind
-
A synthetic binding for
Optionalof a type or aProvider,Lazy, orProviderofLazyof a type.
P
- parent() - Method in class dagger.model.ComponentPath
-
Returns this path's parent path.
- parent() - Method in class dagger.spi.model.ComponentPath
-
Returns this path's parent path.
- parentComponent() - Method in class dagger.model.ComponentPath
-
Returns the parent of the ComponentPath.currentComponent() current component}.
- parentComponent() - Method in class dagger.spi.model.ComponentPath
-
Returns the parent of the ComponentPath.currentComponent() current component}.
- pluginName() - Method in interface dagger.spi.BindingGraphPlugin
-
A distinguishing name of the plugin that will be used in diagnostics printed to the
Messager. - pluginName() - Method in interface dagger.spi.model.BindingGraphPlugin
-
A distinguishing name of the plugin that will be used in diagnostics printed to the messager.
- PRODUCED - dagger.model.RequestKind
-
A request for a
Produced. - PRODUCED - dagger.spi.model.RequestKind
-
A request for a
Produced. - PRODUCER - dagger.model.RequestKind
-
A request for a
Producer. - PRODUCER - dagger.spi.model.RequestKind
-
A request for a
Producer. - PRODUCTION - dagger.model.BindingKind
-
A binding for a
Produces-annotated method. - PRODUCTION - dagger.spi.model.BindingKind
-
A binding for a
Produces-annotated method. - PROVIDER - dagger.model.RequestKind
-
A request for a
Provider. - PROVIDER - dagger.spi.model.RequestKind
-
A request for a
Provider. - PROVIDER_OF_LAZY - dagger.model.RequestKind
-
A request for a
Providerof aLazy. - PROVIDER_OF_LAZY - dagger.spi.model.RequestKind
-
A request for a
Providerof aLazy. - PROVISION - dagger.model.BindingKind
-
A binding for a
Provides-annotated method. - PROVISION - dagger.spi.model.BindingKind
-
A binding for a
Provides-annotated method.
Q
- qualifier() - Method in class dagger.model.Key
-
A
Qualifierannotation that provides a unique namespace prefix for the type of this key. - qualifier() - Method in class dagger.spi.model.Key
-
A
Qualifierannotation that provides a unique namespace prefix for the type of this key. - qualifier(DaggerAnnotation) - Method in class dagger.spi.model.Key.Builder
- qualifier(Optional<DaggerAnnotation>) - Method in class dagger.spi.model.Key.Builder
- qualifier(Optional<AnnotationMirror>) - Method in class dagger.model.Key.Builder
- qualifier(AnnotationMirror) - Method in class dagger.model.Key.Builder
R
- 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 class dagger.spi.model.DiagnosticReporter
-
Reports a diagnostic for a binding or missing binding.
- reportBinding(Diagnostic.Kind, BindingGraph.MaybeBinding, String, Object, Object...) - Method in class 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 class dagger.spi.model.DiagnosticReporter
-
Reports a diagnostic for a component.
- reportComponent(Diagnostic.Kind, BindingGraph.ComponentNode, String, Object, Object...) - Method in class 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 class dagger.spi.model.DiagnosticReporter
-
Reports a diagnostic for a dependency.
- reportDependency(Diagnostic.Kind, BindingGraph.DependencyEdge, String, Object, Object...) - Method in class 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 class dagger.spi.model.DiagnosticReporter
-
Reports a diagnostic for a subcomponent factory method.
- reportSubcomponentFactoryMethod(Diagnostic.Kind, BindingGraph.ChildFactoryMethodEdge, String, Object, Object...) - Method in class 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() - Method in class dagger.model.DependencyRequest
-
The element that declares this dependency request.
- requestElement() - Method in class dagger.spi.model.DependencyRequest
-
The element that declares this dependency request.
- requestElement(DaggerElement) - Method in class dagger.spi.model.DependencyRequest.Builder
- requestElement(Element) - Method in class dagger.model.DependencyRequest.Builder
- 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
typesthat may be requested as dependencies for the same key. - RequestKind - Enum in dagger.spi.model
-
Represents the different kinds of
typesthat may be requested as dependencies for the same key. - requiresModuleInstance() - Method in interface dagger.model.Binding
-
Returns
trueif using this binding requires an instance of theBinding.contributingModule(). - requiresModuleInstance() - Method in interface dagger.spi.model.Binding
-
Returns
trueif using this binding requires an instance of thecontributingModule(). - resolver() - Method in class dagger.spi.model.DaggerProcessingEnv
-
Returns the KSP representation for the resolver.
- rootComponent() - Method in class dagger.model.ComponentPath
-
Returns the root
Component- orProductionComponent-annotated type - rootComponent() - Method in class dagger.spi.model.ComponentPath
-
Returns the root
Component- orProductionComponent-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.
S
- scope() - Method in interface dagger.model.Binding
-
The scope of this binding if it has one.
- scope() - Method in interface dagger.spi.model.Binding
-
The scope of this binding if it has one.
- scope(DaggerAnnotation) - Static method in class dagger.spi.model.Scope
-
Creates a
Scopeobject from theScope-annotated annotation type. - scope(AnnotationMirror) - Static method in class dagger.model.Scope
-
Creates a
Scopeobject from theScope-annotated annotation type. - Scope - Class in dagger.model
-
A representation of a
Scope. - Scope - Class in dagger.spi.model
-
A representation of a
Scope. - Scope() - Constructor for class dagger.model.Scope
- Scope() - Constructor for class dagger.spi.model.Scope
- scopeAnnotation() - Method in class dagger.model.Scope
-
The
AnnotationMirrorthat represents the scope annotation. - scopeAnnotation() - Method in class dagger.spi.model.Scope
-
The
DaggerAnnotationthat represents the scope annotation. - scopeAnnotationElement() - Method in class dagger.model.Scope
-
The scope annotation element.
- scopes() - Method in interface dagger.model.BindingGraph.ComponentNode
-
The scopes declared on this component.
- scopes() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
-
The scopes declared on this component.
- SUBCOMPONENT_CREATOR - dagger.model.BindingKind
-
A binding for a subcomponent creator (a builder or factory).
- SUBCOMPONENT_CREATOR - dagger.spi.model.BindingKind
-
A binding for a subcomponent creator (a builder or factory).
- supportedOptions() - Method in interface dagger.spi.BindingGraphPlugin
-
Returns the annotation-processing options that this plugin uses to configure behavior.
- supportedOptions() - Method in interface dagger.spi.model.BindingGraphPlugin
-
Returns the annotation-processing options that this plugin uses to configure behavior.
T
- toBuilder() - Method in class dagger.model.Key
-
Returns a
Key.Builderthat inherits the properties of this key. - toString() - Method in class dagger.model.BindingGraph.MissingBinding
- toString() - Method in class dagger.model.BindingGraph
- toString() - Method in class dagger.model.ComponentPath
- toString() - Method in class dagger.model.Key.MultibindingContributionIdentifier
- toString() - Method in class dagger.model.Key
- toString() - Method in class dagger.model.Scope
-
Returns a debug representation of the scope.
- toString() - Method in class dagger.spi.model.BindingGraph.MissingBinding
- toString() - Method in class dagger.spi.model.BindingGraph
- toString() - Method in class dagger.spi.model.ComponentPath
- toString() - Method in class dagger.spi.model.Key.MultibindingContributionIdentifier
- toString() - Method in class dagger.spi.model.Key
- toString() - Method in class dagger.spi.model.Scope
-
Returns a debug representation of the scope.
- type() - Method in class dagger.model.Key
-
The type represented by this key.
- type() - Method in class dagger.spi.model.Key
-
The type represented by this key.
- type(DaggerType) - Method in class dagger.spi.model.Key.Builder
- type(TypeMirror) - Method in class dagger.model.Key.Builder
V
- 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.DaggerProcessingEnv.Backend
-
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.DaggerProcessingEnv.Backend
-
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.
W
- withMultibindingContributionIdentifier(DaggerTypeElement, DaggerExecutableElement) - Method in class dagger.spi.model.Key
-
Returns a copy of this key with the multibinding contribution identifier replaced with the given multibinding contribution identifier.
- withoutMultibindingContributionIdentifier() - Method in class dagger.spi.model.Key
-
Returns a copy of this key with the multibinding contribution identifier, if any, removed.
- withType(DaggerType) - Method in class dagger.spi.model.Key
-
Returns a copy of this key with the type replaced with the given type.
All Classes All Packages