- xbt_dict_cursor_t cursor=nullptr;
- char *key;
-
- xbt_dict_foreach(dict,cursor,key,tmp_as) {
- tmp_jas = jnetzone_new_instance(env);
- if (!tmp_jas) {
+ for (auto const& tmp_as : self_as->get_children()) {
+ jobject tmp_jas = jnetzone_new_instance(env);
+ if (not tmp_jas) {