for(int y=0;y<arr.length;y++){
av.visitBeginItem(adapter, y);
adapter.push(varKeyUpperCase?arr[y].toUpperCase():arr[y]);
av.visitEndItem(bc.getAdapter());
}
av.visitEnd();
}
else {
//VariableString.toExprString(name).writeOut(bc, MODE_REF);
String str = VariableString.variableToString((Variable) name,true);
name=LitString.toExprString(varKeyUpperCase?str.toUpperCase():str);