static InvocationValue ofInvocation(String method, Value<?>... args) {
        final InvocationValue result = new InvocationValueImpl()
            .setValue(method);

        Stream.of(args).forEachOrdered(result::add);

        return result;
    }
Returns a new {@link InvocationValue} representing a call to the
specified local method with the specified arguments.

@param method  the local method to invoke
@param args    the arguments to pass to it
@return        the created invocation
common-parent/codegen/src/main/java/com/speedment/common/codegen/model/Value.java