public static void cullClashExceptions(Context self) {
    { Object old$Context$000 = Stella.$CONTEXT$.get();
      Object old$Module$000 = Stella.$MODULE$.get();

      try {
        Native.setSpecial(Stella.$CONTEXT$, self);
        Native.setSpecial(Stella.$MODULE$, ((Context)(Stella.$CONTEXT$.get())).baseModule);
        Logic.$CLASH_EXCEPTIONS$.removeIf(Native.find_java_method("edu.isi.powerloom.logic.ExceptionRecord", "exceptionRecordMatchesContextP", new java.lang.Class [] {Native.find_java_class("edu.isi.powerloom.logic.ExceptionRecord")}));

      } finally {
        Stella.$MODULE$.set(old$Module$000);
        Stella.$CONTEXT$.set(old$Context$000);
      }
    }
  }