class AbstractNewExpr implements NewExpr {

  protected RefType type;

  @Override
  public abstract Object clone();

  @Override
  public boolean equivTo(Object o) {<FILL_FUNCTION_BODY>}

  /** Returns a hash code for this object, consistent with structural equality. */
  @Override
  public int equivHashCode() {
    return type.hashCode();
  }

  @Override
  public String toString() {
    return Jimple.NEW + " " + type.toString();
  }

  @Override
  public void toString(UnitPrinter up) {
    up.literal(Jimple.NEW + " ");
    up.type(type);
  }

  @Override
  public RefType getBaseType() {
    return type;
  }

  @Override
  public void setBaseType(RefType type) {
    this.type = type;
  }

  @Override
  public Type getType() {
    return type;
  }

  @Override
  public List<ValueBox> getUseBoxes() {
    return Collections.emptyList();
  }

  @Override
  public void apply(Switch sw) {
    ((ExprSwitch) sw).caseNewExpr(this);
  }
}

    if (o instanceof AbstractNewExpr) {
      AbstractNewExpr ae = (AbstractNewExpr) o;
      return type.equals(ae.type);
    }
    return false;
  
<no_super_class>