private void processInitializers(JNewArray x, Context ctx, JArrayType arrayType) {
// override the type of the called method with the array's type
SourceInfo sourceInfo = x.getSourceInfo();
JMethodCall call = new JMethodCall(sourceInfo, null, initValues, arrayType);
JLiteral classLit = x.getClassLiteral();
JExpression castableTypeMap = getOrCreateCastMap(sourceInfo, arrayType);
JRuntimeTypeReference elementTypeIds = getElementRuntimeTypeReference(sourceInfo, arrayType);
JsonArray initList = new JsonArray(sourceInfo, program.getJavaScriptObject());
JIntLiteral leafElementTypeCategory = getTypeCategoryLiteral(arrayType.getElementType());
for (int i = 0; i < x.initializers.size(); ++i) {