private synchronized void ensureDetectorsLoaded() {
    if (myLoaded) return;
    synchronized (myInitializationLock) {
      if (!myLoaded) {
        loadDetectors();
        myLoaded = true;
      }
    }
  }
private synchronized void ensureDetectorsLoaded()