Class Edge<CallSite,Method>

java.lang.Object
pascal.taie.analysis.graph.callgraph.Edge<CallSite,Method>
Type Parameters:
CallSite - type of call sites
Method - type of methods
Direct Known Subclasses:
OtherEdge

public class Edge<CallSite,Method> extends Object
Represents call edges in the call graph.
  • Constructor Details

  • Method Details

    • getKind

      public CallKind getKind()
      Returns:
      kind of the call edge.
    • getInfo

      public String getInfo()
      Returns:
      String representation of information for this edge. By default, the information represents the CallKind, and other subclasses of Edge may contain additional content.
    • getCallSite

      public CallSite getCallSite()
      Returns:
      the call site (i.e., the source) of the call edge.
    • getCallee

      public Method getCallee()
      Returns:
      the callee method (i.e., the target) of the call edge.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object