class ASTUnaryCondition extends ASTUnaryBinaryCondition {
  Value value;

  public ASTUnaryCondition(Value value) {
    this.value = value;
  }

  public void apply(Analysis a) {
    a.caseASTUnaryCondition(this);
  }

  public Value getValue() {
    return value;
  }

  public void setValue(Value value) {
    this.value = value;
  }

  public String toString() {
    return value.toString();
  }

  public void toString(UnitPrinter up) {
    value.toString(up);
  }

  public void flip() {<FILL_FUNCTION_BODY>}

  public boolean isNotted() {
    return (value instanceof DNotExpr);
  }
}

    /*
     * Since its a unarycondition we know this is a flag See if its a DNotExpr if yes set this.value to the op inside
     * DNotExpr If it is NOT a DNotExpr make one
     */
    if (value instanceof DNotExpr) {
      this.value = ((DNotExpr) value).getOp();
    } else {
      this.value = new DNotExpr(value);
    }
  
<methods>public non-sealed void <init>() <variables>