JIfStatement ifStatement = (JIfStatement) statements.get(statements.size() - 1);
Updater assumptions = new Updater(ConstantsAssumption.TOP);
AssumptionDeducer.deduceAssumption(ifStatement.getIfExpr(),
JBooleanLiteral.get(b), assumptions);
return new Result(assumptions.unwrap());
}
private class Result {
private final ConstantsAssumption assumptions;