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 DaggerTypeElementDaggerAnnotation.annotationTypeElement()ComponentPath.currentComponent()Returns the component at the end of the path.final DaggerTypeElementComponentPath.parentComponent()Returns the parent of the ComponentPath.currentComponent() current component}.final DaggerTypeElementComponentPath.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()TheDaggerTypeElementof 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 ComponentPathComponentPath.childPath(DaggerTypeElement child) Returns the path from the root component to thechildof the current component.com.google.common.collect.ImmutableSet<BindingGraph.ComponentNode>BindingGraph.componentNodes(DaggerTypeElement component) Returns the component nodes for a component.static booleanScope.isScope(DaggerTypeElement scopeAnnotationType) ReturnstrueifscopeAnnotationTypeis aScopeannotation.final Key.BuilderKey.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 ComponentPathComponentPath.create(Iterable<DaggerTypeElement> components) Returns a newComponentPathfromcomponents.