public static void removeSynchronizedHandler(Statement stat) {

    for (Statement st : stat.getStats()) {
      removeSynchronizedHandler(st);
    }

    if (stat.type == StatementType.SYNCHRONIZED) {
      ((SynchronizedStatement)stat).removeExc();
    }
  }
public static void removeSynchronizedHandler(Statement stat)