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