@SuppressWarnings("unchecked")
    protected static <T> List<T> asList(T arg1, T arg2, T... argN) {
        return asList(List.of(arg1, arg2), List.of(argN));
    }
Returns the arguments of this as a list which cannot be modified
container-search/src/main/java/com/yahoo/search/grouping/request/FunctionNode.java