@SafeVarargs
    public static <T> List<T> of(final T... t) {
        return Collections.unmodifiableList(Stream.of(t).filter(Objects::nonNull).collect(Collectors.toList()));
    }
new array list.

@param t   e
@param <T> type
@return unmodifiable list
shenyu-common/src/main/java/org/apache/shenyu/common/utils/ListUtil.java