Uses of Class
dagger.spi.model.DaggerTypeElement
Packages that use DaggerTypeElement
Package
Description
This package contains the APIs that are core to Dagger's internal model of bindings and the
binding graph.
-
Uses of DaggerTypeElement in dagger.spi.model
Methods in dagger.spi.model that return DaggerTypeElementModifier and TypeMethodDescriptionabstract DaggerTypeElement
DaggerAnnotation.annotationTypeElement()
ComponentPath.currentComponent()
Returns the component at the end of the path.final DaggerTypeElement
ComponentPath.parentComponent()
Returns the parent of the ComponentPath.currentComponent() current component}.final DaggerTypeElement
ComponentPath.rootComponent()
Returns the rootComponent
- orProductionComponent
-annotated typeMethods in dagger.spi.model that return types with arguments of type DaggerTypeElementModifier and TypeMethodDescriptionabstract com.google.common.collect.ImmutableList<DaggerTypeElement>
ComponentPath.components()
Returns the component types, starting from the root component and ending with the current component.Binding.contributingModule()
TheDaggerTypeElement
of the module which contributes this binding.com.google.common.collect.ImmutableSet<DaggerTypeElement>
BindingGraph.SubcomponentCreatorBindingEdge.declaringModules()
The modules that declare the subcomponent that generated this edge.Methods in dagger.spi.model with parameters of type DaggerTypeElementModifier and TypeMethodDescriptionfinal ComponentPath
ComponentPath.childPath
(DaggerTypeElement child) Returns the path from the root component to thechild
of the current component.com.google.common.collect.ImmutableSet<BindingGraph.ComponentNode>
BindingGraph.componentNodes
(DaggerTypeElement component) Returns the component nodes for a component.static boolean
Scope.isScope
(DaggerTypeElement scopeAnnotationType) Returnstrue
ifscopeAnnotationType
is aScope
annotation.final Key.Builder
Key.Builder.multibindingContributionIdentifier
(DaggerTypeElement contributingModule, DaggerExecutableElement bindingMethod) Key.withMultibindingContributionIdentifier
(DaggerTypeElement contributingModule, DaggerExecutableElement bindingMethod) Returns a copy of this key with the multibinding contribution identifier replaced with the given multibinding contribution identifier.Method parameters in dagger.spi.model with type arguments of type DaggerTypeElementModifier and TypeMethodDescriptionstatic ComponentPath
ComponentPath.create
(Iterable<DaggerTypeElement> components) Returns a newComponentPath
fromcomponents
.