Class GlobalStateForInstrumentation

java.lang.Object
de.uzl.its.swat.instrument.GlobalStateForInstrumentation

public class GlobalStateForInstrumentation extends Object
An object to keep track of (classId, methodId, instructionId) tuples during instrumentation.
  • Field Details

  • Constructor Details

    • GlobalStateForInstrumentation

      public GlobalStateForInstrumentation()
  • Method Details

    • incAndGetId

      public int incAndGetId()
      Increment iid and get the complete id
    • getId

      public int getId()
      Getter for the iid
      Returns:
      iid
    • getCidMid

      public static int getCidMid(int cid, int mid)
    • extractCidMid

      public static int extractCidMid(int id)
    • getMid

      public int getMid()
    • incMid

      public void incMid()
    • getCid

      public int getCid()
    • setCid

      public void setCid(int cid)