presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoArray.java/PrestoArray/PrestoArray
class PrestoArray:    PrestoArray(String elementTypeName, int elementType, List<?> array)
    {
        this.elementTypeName = requireNonNull(elementTypeName, "elementType is null");
        this.elementType = elementType;
        this.array = requireNonNull(array, "array is null").toArray();
    }