Exprent () { List<Exprent> lst = new ArrayList<>(); for (Exprent expr : lstDims) { lst.add(expr.copy()); } NewExprent ret = new NewExprent(newType, lst, bytecode); ret.setConstructor(constructor == null ? null : (InvocationExprent)constructor.copy()); ret.setLstArrayElements(lstArrayElements); ret.setDirectArrayInit(directArrayInit); ret.setAnonymous(anonymous); ret.setEnumConst(enumConst); return ret; }