void (@NotNull TestStartedEvent testStartedEvent) { // local variable is used to prevent concurrent modification final GeneralTestEventsProcessor processor = myProcessor; if (processor != null) { processor.onTestStarted(testStartedEvent); } }