Class Edge

java.lang.Object
qilin.core.builder.callgraph.Edge
All Implemented Interfaces:
Invalidable

public final class Edge extends Object implements Invalidable
Represents a single edge in a call graph.
Author:
Ondrej Lhotak
  • Constructor Details

  • Method Details

    • src

      public SootMethod src()
    • srcCtxt

      public Context srcCtxt()
    • getSrc

      public ContextMethod getSrc()
    • srcUnit

      public InvokableStmt srcUnit()
    • srcStmt

      public InvokableStmt srcStmt()
    • tgt

      public SootMethod tgt()
    • tgtCtxt

      public Context tgtCtxt()
    • getTgt

      public ContextMethod getTgt()
    • kind

      public Kind kind()
    • ieToKind

      public static Kind ieToKind(AbstractInvokeExpr ie)
    • isExplicit

      public boolean isExplicit()
      Returns true if the call is due to an explicit invoke statement.
    • isInstance

      public boolean isInstance()
      Returns true if the call is due to an explicit instance invoke statement.
    • isVirtual

      public boolean isVirtual()
    • isSpecial

      public boolean isSpecial()
    • isClinit

      public boolean isClinit()
      Returns true if the call is to static initializer.
    • isStatic

      public boolean isStatic()
      Returns true if the call is due to an explicit static invoke statement.
    • isThreadRunCall

      public boolean isThreadRunCall()
    • passesParameters

      public boolean passesParameters()
    • isInvalid

      public boolean isInvalid()
      Description copied from interface: Invalidable
      Return true if the object is invalid.
      Specified by:
      isInvalid in interface Invalidable
      Returns:
      true if the object is invalid.
    • invalidate

      public void invalidate()
      Description copied from interface: Invalidable
      Invalidates the object. Does nothing if the object is already invalid.
      Specified by:
      invalidate in interface Invalidable
    • hashCode

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object