if (isVariableAssertable(a.from, a.targetStatement, a) && isVariableAssertable(a.to, a.targetStatement, a)) {
validAssertions.add(a);
}
}
else if (statement instanceof AssertUnaryOp) {
AssertUnaryOp a = (AssertUnaryOp)statement;
if (isVariableAssertable(a.to, a.targetStatement, a)) {
validAssertions.add(a);
}
}
}