TestOperationDescriptor (@NotNull ProgressEvent event) { var descriptor = event.getDescriptor(); var eventTime = event.getEventTime(); var displayName = descriptor.getDisplayName(); if (descriptor instanceof JvmTestOperationDescriptor jvmDescriptor) { var suiteName = jvmDescriptor.getSuiteName(); var className = jvmDescriptor.getClassName(); var methodName = jvmDescriptor.getMethodName(); return new TestOperationDescriptorImpl(displayName, eventTime, suiteName, className, methodName); } return new TestOperationDescriptorImpl(displayName, eventTime, null, null, null); }