@SafeVarargs
    public static <T> List<T> list(final T... t) {
        return Stream.of(t).collect(Collectors.toList());
    }
list.

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