i.items = MapHandler.create_map(); i.positions = MapHandler.create_map(); i.instances = MapHandler.create_map(); i.interactions = MapHandler.create_map();
i.items = new Map(); MapHandler.initialize_map(i.items); i.positions = new Map(); MapHandler.initialize_map(i.positions); i.instances = new Map(); MapHandler.initialize_map(i.instances); i.interactions = new Map(); MapHandler.initialize_map(i.interactions);
    static void initialize_item_containers(java.lang.Object p0) {        Item i = (Item) p0;                if (i != null) {                        java.lang.System.out.println("INFO: Initialize item containers.");            i.items = MapHandler.create_map();            i.positions = MapHandler.create_map();            i.instances = MapHandler.create_map();            i.interactions = MapHandler.create_map();        } else {                        java.lang.System.out.println("ERROR: Could not initialize item containers. The item is null.");        }    }