private static boolean hasThreadingAssertions(InstrumentationClassFinder finder) {
    try {
      finder.loadClass("com/intellij/util/concurrency/ThreadingAssertions");
      return true;
    }
    catch (IOException | ClassNotFoundException e) {
      return false;
    }
  }
private static boolean hasThreadingAssertions(InstrumentationClassFinder finder)