public static <T> List<T> toList(final T... items) {
        // No List.of() in GWT land :-(
        return NullSafe.stream(items)
                .collect(Collectors.toList());
    }
Util class for doing various things not emulated in GWT
stroom-util-shared/src/main/java/stroom/util/shared/GwtUtil.java