static @Nullable EventWatcher getInstanceOrNull() {
    if (!isDetailedWatcherEnabled() && !isAggregatedWatcherEnabled()) {
      return null;
    }

    EventWatcher result = InstanceHolder.instance;
    if (result == null && LoadingState.COMPONENTS_LOADED.isOccurred()) {
      Application app = ApplicationManager.getApplication();
      if (app != null && !app.isDisposed()) {
        result = app.getService(EventWatcher.class);
        InstanceHolder.instance = result;
      }
    }
    return result;
  }
static @Nullable EventWatcher getInstanceOrNull()