Uses of Class
dagger.spi.model.DaggerTypeElement
-
Packages that use DaggerTypeElement Package Description dagger.spi.model 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 DaggerTypeElement Modifier and Type Method Description abstract DaggerTypeElement
DaggerAnnotation. annotationTypeElement()
DaggerTypeElement
ComponentPath. currentComponent()
Returns the component at the end of the path.DaggerTypeElement
ComponentPath. parentComponent()
Returns the parent of the ComponentPath.currentComponent() current component}.DaggerTypeElement
ComponentPath. rootComponent()
Returns the rootComponent
- orProductionComponent
-annotated typeMethods in dagger.spi.model that return types with arguments of type DaggerTypeElement Modifier and Type Method Description abstract com.google.common.collect.ImmutableList<DaggerTypeElement>
ComponentPath. components()
Returns the component types, starting from the root component and ending with the current component.java.util.Optional<DaggerTypeElement>
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 DaggerTypeElement Modifier and Type Method Description 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.Key.Builder
Key.Builder. multibindingContributionIdentifier(DaggerTypeElement contributingModule, DaggerExecutableElement bindingMethod)
Key
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 DaggerTypeElement Modifier and Type Method Description static ComponentPath
ComponentPath. create(java.lang.Iterable<DaggerTypeElement> components)
Returns a newComponentPath
fromcomponents
.
-