class If implements Statement {

  @Override
  public boolean equals(@Nullable Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    If anIf = (If) o;
    return Objects.equals(getMatchCondition(), anIf.getMatchCondition())
        && Objects.equals(getTrueStatements(), anIf.getTrueStatements());
  }

  public  If(BoolExpr matchCondition, List<Statement> trueStatements);

}