public ArrayType getArrayType(TypeMirror componentType) {
        if (componentType instanceof VoidType) {
            throw new IllegalArgumentException("void");
        }
        return (ArrayType) env.typeMaker.getType(
                new Type.ArrayType(((TypeMirrorImpl) componentType).type,
                                   env.symtab.arrayClass));
    }