boolean removeThen = isOptimizedFalse(x.condition);
boolean removeElse = isOptimizedTrue(x.condition);
SourceInfo info = makeSourceInfo(x);
JExpression expr = dispProcessExpression(x.condition);
JStatement thenStmt = removeThen ? null
: dispProcessStatement(x.thenStatement);
JStatement elseStmt = removeElse ? null
: dispProcessStatement(x.elseStatement);
JIfStatement ifStmt = new JIfStatement(info, expr, thenStmt, elseStmt);
return ifStmt;
}