Package dagger.spi.model
Interface BindingGraph.ComponentNode
- All Superinterfaces:
BindingGraph.Node
- Enclosing class:
BindingGraph
A component node in the graph. Every entry point dependency
edge's source node is a component node for the component containing the entry point.
-
Method Summary
Modifier and TypeMethodDescriptionThe component represented by this node.com.google.common.collect.ImmutableSet<DependencyRequest>
The entry points on this component.boolean
Returnstrue
if the component is a real component, orfalse
if it is a fictional component based on a module.boolean
Returnstrue
if the component is a@Subcomponent
or@ProductionSubcomponent
.com.google.common.collect.ImmutableSet<Scope>
scopes()
The scopes declared on this component.
-
Method Details
-
componentPath
ComponentPath componentPath()The component represented by this node.- Specified by:
componentPath
in interfaceBindingGraph.Node
-
isSubcomponent
boolean isSubcomponent()Returnstrue
if the component is a@Subcomponent
or@ProductionSubcomponent
. -
isRealComponent
boolean isRealComponent()Returnstrue
if the component is a real component, orfalse
if it is a fictional component based on a module. -
entryPoints
com.google.common.collect.ImmutableSet<DependencyRequest> entryPoints()The entry points on this component. -
scopes
com.google.common.collect.ImmutableSet<Scope> scopes()The scopes declared on this component.
-