mv.visitVarInsn(getStoreOpCode(methodVarType), methodVarIndex);
return returnType;
} else if (lhs instanceof ArrayAccess) {
ArrayAccess arrayAccess = (ArrayAccess)lhs;
// Add the instructions to get the array ref.
encodeExpr(arrayAccess.getArrayReference(), context);
// Add the instructions to evaluate the array index.
encodeExpr(arrayAccess.getArrayIndex(), context);
// add the instructions to evaluate the expression to assign.
JavaTypeName returnType = encodeExpr(assignment.getValue(), context);
if (retainValue) {