} else if (type.equals(CharType.v())) {
// create a string buffer, append the char, convert it to a string and return that
Variable tmp = factory.createVariable(VariableType.STRINGBUFFER);
factory.addStatement(new StringBufferInit(tmp, makeStringConstant("", factory)));
factory.addStatement(new StringBufferAppendChar(tmp, argument));
factory.addStatement(new StringFromStringBuffer(result, tmp));
} else if (type.equals(BooleanType.v())) {
// use a BooleanToString operation
factory.addStatement(new BasicUnaryOp(result, argument, new BooleanToString()));