private static EventRequest platformThreadsOnly(EventRequest eventRequest) {
    if (eventRequest instanceof EventRequestManagerImpl.ThreadLifecycleEventRequestImpl) {
      ((EventRequestManagerImpl.ThreadLifecycleEventRequestImpl)eventRequest).addPlatformThreadsOnlyFilter();
    }
    return eventRequest;
  }
private static EventRequest platformThreadsOnly(EventRequest eventRequest)