Package dagger.model
Interface BindingGraph.ComponentNode
-
- All Superinterfaces:
BindingGraph.Node
- Enclosing class:
- BindingGraph
public static interface BindingGraph.ComponentNode extends BindingGraph.Node
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentPath
componentPath()
The component represented by this node.com.google.common.collect.ImmutableSet<DependencyRequest>
entryPoints()
The entry points on this component.boolean
isRealComponent()
Returnstrue
if the component is a real component, orfalse
if it is a fictional component based on a module.boolean
isSubcomponent()
Returnstrue
if the component is a@Subcomponent
or@ProductionSubcomponent
.com.google.common.collect.ImmutableSet<Scope>
scopes()
The scopes declared on this component.
-
-
-
Method Detail
-
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.
-
-