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

    Modifier and Type
    Method
    Description
    The component represented by this node.
    com.google.common.collect.ImmutableSet<DependencyRequest>
    The entry points on this component.
    boolean
    Returns true if the component is a real component, or false if it is a fictional component based on a module.
    boolean
    Returns true if the component is a @Subcomponent or @ProductionSubcomponent.
    com.google.common.collect.ImmutableSet<Scope>
    The scopes declared on this component.
  • Method Details

    • componentPath

      ComponentPath componentPath()
      The component represented by this node.
      Specified by:
      componentPath in interface BindingGraph.Node
    • isSubcomponent

      boolean isSubcomponent()
      Returns true if the component is a @Subcomponent or @ProductionSubcomponent.
    • isRealComponent

      boolean isRealComponent()
      Returns true if the component is a real component, or false 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.