if (arg1 == null || arg2 == null) {
factory.addStatement(new StringInit(result, Basic.makeAnyString()));
return result;
}
Replace6 rep = new Replace6(arg1, arg2);
Variable temp = factory.createVariable(VariableType.STRINGBUFFER);
factory.addStatement(new StringBufferInit(temp, callee));
factory.addStatement(new StringBufferUnaryOp(temp, rep));
factory.addStatement(new StringFromStringBuffer(result, temp));
return result;