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