incorporated allocTypeArrayFromClassName