class DLengthExpr extends AbstractLengthExpr implements Precedence {
  public DLengthExpr(Value op) {
    super(Grimp.v().newObjExprBox(op));
  }

  public int getPrecedence() {
    return 950;
  }

  public Object clone() {
    return new DLengthExpr(Grimp.cloneIfNecessary(getOp()));
  }

  public void toString(UnitPrinter up) {
    if (PrecedenceTest.needsBrackets(getOpBox(), this)) {
      up.literal("(");
    }
    getOpBox().toString(up);
    if (PrecedenceTest.needsBrackets(getOpBox(), this)) {
      up.literal(")");
    }
    up.literal(".");
    up.literal("length");
  }

  public String toString() {<FILL_FUNCTION_BODY>}
}

    StringBuffer b = new StringBuffer();
    if (PrecedenceTest.needsBrackets(getOpBox(), this)) {
      b.append("(");
    }
    b.append(getOpBox().getValue().toString());
    if (PrecedenceTest.needsBrackets(getOpBox(), this)) {
      b.append(")");
    }
    b.append(".length");

    return b.toString();
  
<methods>public void apply(soot.util.Switch) ,public int equivHashCode() ,public boolean equivTo(java.lang.Object) ,public soot.Type getType() ,public java.lang.String toString() ,public void toString(soot.UnitPrinter) <variables>