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 ComponentPathcomponentPath()The component represented by this node.com.google.common.collect.ImmutableSet<DependencyRequest>entryPoints()The entry points on this component.booleanisRealComponent()Returnstrueif the component is a real component, orfalseif it is a fictional component based on a module.booleanisSubcomponent()Returnstrueif the component is a@Subcomponentor@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:
componentPathin interfaceBindingGraph.Node
-
isSubcomponent
boolean isSubcomponent()
Returnstrueif the component is a@Subcomponentor@ProductionSubcomponent.
-
isRealComponent
boolean isRealComponent()
Returnstrueif the component is a real component, orfalseif 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.
-
-