Class Edge

  • All Implemented Interfaces:
    Invalidable

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

      • srcCtxt

        public Context srcCtxt()
      • srcUnit

        public Unit srcUnit()
      • srcStmt

        public Stmt srcStmt()
      • tgtCtxt

        public Context tgtCtxt()
      • kind

        public Kind kind()
      • 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