public static void assertIds()

in instrumentation/src/com/intellij/rt/coverage/instrumentation/data/InstrumentationData.java [269:294]


  public static void assertIds(ClassData classData) {
    for (LineData lineData : (LineData[]) classData.getLines()) {
      if (lineData == null) continue;
      if (lineData.getId() == -1) {
        throw new AssertionError();
      }
      JumpData[] jumps = lineData.getJumps();
      if (jumps != null) {
        for (JumpData jumpData : jumps) {
          if (jumpData.getId(true) == -1 || jumpData.getId(false) == -1){
            throw new AssertionError();
          }
        }
      }
      SwitchData[] switches = lineData.getSwitches();
      if (switches != null) {
        for (SwitchData switchData : switches) {
          for (int i = -1; i < switchData.getHits().length; i++) {
            if (switchData.getId(i) == -1) {
              throw new AssertionError();
            }
          }
        }
      }
    }
  }