public ReferenceNode setArguments(List<ExpressionNode> arguments) {
        return new ReferenceNode(reference.withArguments(new Arguments(arguments)));
    }
Returns a copy of this where the arguments are replaced by the given arguments
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/rule/ReferenceNode.java