@Override
public void handleCall(CallWriter writer, Context context, Statement statement) {
writer.reset();
final Statement stmt = new AssignmentBuilder(false, operator, (VariableReference) statement, GenUtil.generate(context,
value));
Statement wrapperStmt;
if (next == null) {
wrapperStmt = new Statement() {
@Override
public String generate(Context context) {
return stmt.generate(context) + ";";
}
@Override
public MetaClass getType() {
return stmt.getType();
}
};
nextOrReturn(writer, context, wrapperStmt);
}
else {