Class CallGraph.Builder

java.lang.Object
org.sonar.python.semantic.v2.callgraph.CallGraph.Builder
Enclosing class:
CallGraph

public static class CallGraph.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • addUsage

      public CallGraph.Builder addUsage(String from, String to)
      Adds a usage edge from one function to another in the call graph.
      Parameters:
      from - The calling function's fully qualified name (FQN).
      to - The functions that is being called
      Returns:
      this builder
    • build

      public CallGraph build()