private static <T> @NotNull T @NotNull [] getMergerResult(@Nullable Merger<T> merger, T[] emptyArray) {
    if (merger == null || merger.myAllItems == null && merger.mySingleItem == null) return emptyArray;
    return merger.myAllItems == null ? merger.mySingleItem : merger.myAllItems.toArray(emptyArray);
  }
private static <T> @NotNull T @NotNull [] getMergerResult(@Nullable Merger<T> merger, T[] emptyArray)