class DNewMultiArrayExpr extends AbstractNewMultiArrayExpr {
  public DNewMultiArrayExpr(ArrayType type, List sizes) {
    super(type, new ValueBox[sizes.size()]);

    for (int i = 0; i < sizes.size(); i++) {
      sizeBoxes[i] = Grimp.v().newExprBox((Value) sizes.get(i));
    }
  }

  public Object clone() {
    List clonedSizes = new ArrayList(getSizeCount());

    for (int i = 0; i < getSizeCount(); i++) {
      clonedSizes.add(i, Grimp.cloneIfNecessary(getSize(i)));
    }

    return new DNewMultiArrayExpr(getBaseType(), clonedSizes);
  }

  public void toString(UnitPrinter up) {
    up.literal("new");
    up.literal(" ");
    up.type(getBaseType().baseType);
    for (ValueBox element : sizeBoxes) {
      up.literal("[");
      element.toString(up);
      up.literal("]");
    }

    for (int i = getSizeCount(); i < getBaseType().numDimensions; i++) {
      up.literal("[]");
    }
  }

  public String toString() {<FILL_FUNCTION_BODY>}

}

    StringBuffer buffer = new StringBuffer();

    buffer.append("new " + getBaseType().baseType);
    List sizes = getSizes();
    Iterator it = getSizes().iterator();
    while (it.hasNext()) {
      buffer.append("[" + it.next().toString() + "]");
    }

    for (int i = getSizeCount(); i < getBaseType().numDimensions; i++) {
      buffer.append("[]");
    }

    return buffer.toString();
  
<methods>public void apply(soot.util.Switch) ,public abstract java.lang.Object clone() ,public void convertToBaf(soot.jimple.JimpleToBafContext, List<soot.Unit>) ,public int equivHashCode() ,public boolean equivTo(java.lang.Object) ,public soot.ArrayType getBaseType() ,public soot.Value getSize(int) ,public soot.ValueBox getSizeBox(int) ,public int getSizeCount() ,public List<soot.Value> getSizes() ,public soot.Type getType() ,public final List<soot.ValueBox> getUseBoxes() ,public void setBaseType(soot.ArrayType) ,public void setSize(int, soot.Value) ,public java.lang.String toString() ,public void toString(soot.UnitPrinter) <variables>protected soot.ArrayType baseType,protected final non-sealed soot.ValueBox[] sizeBoxes