context.getBuilder().addStatement(stringTmp + " = " +
JimpleExpr.stringLiteral(constant.getValue()));
context.getBuilder().addStatement(arrayTmp + " = virtualinvoke " +
stringTmp + ".<java.lang.String: char[] toCharArray()>()");
JimpleExpr indexExpr;
if(startIndex == null) {
indexExpr = JimpleExpr.integerConstant(constant.getType().getLbound());
} else {
indexExpr = subtractLowerBound(context, startIndex);
}
return new ArrayRef(new JimpleExpr(arrayTmp), indexExpr);
}