public static Object[] safeVarargs(Object... args) {
        return (args == null) ? NO_ARGS : args;
    }
Safely move arguments passed from from a varargs call to a call that expects an array of objects.

@param args A list of objects. May be null or empty
@return Returns an Array of objects. If the input was null, returns an empty array, otherwise all arguments as an array
core/src/main/java/org/jdbi/v3/core/internal/JdbiClassUtils.java