presto-main/src/main/java/io/prestosql/sql/gen/VarArgsToArrayAdapterGenerator.java/VarArgsToArrayAdapterGenerator/toArrayClass
class VarArgsToArrayAdapterGenerator:    private static Class<?> toArrayClass(Class<?> elementType)
    {
        return Array.newInstance(elementType, 0).getClass();
    }