Main.dynamics = ItemHandler.create_item(); ItemHandler.initialize(Main.dynamics, dynamics_category);
java.lang.Object dynamics = ItemHandler.create_item_container(); ItemHandler.initialize(dynamics, dynamics_category);
    public static void main(java.lang.String[] args) {        try {            if (args != null) {                if (args.length == 2) {                    java.lang.String dynamics_category = args[0];                    java.lang.String statics_category = args[1];                    ItemHandler.xml_parser = Main.create_xml_parser();                    Main.event_handler = Main.create_event_handler();                    Main.replaceEventQueue(Main.event_handler);                    Main.signal_memory = Main.create_signal_memory();                    Main.statics = ItemHandler.create_item();                    ItemHandler.initialize(Main.statics, statics_category);                    Main.dynamics = ItemHandler.create_item();                    ItemHandler.initialize(Main.dynamics, dynamics_category);                        // Alternative to Java Event Handler                    // (if it gets replaced one day, once CYBOI is implemented in C):                    // Enter waiting loop and read events (IRQs) from devices (IVT?).                        // The system is now started up and complete so that a loop                    // can be entered, waiting for signals (events).                    Main.await();                        // The loop above is left as soon as the shutdown flag is set.    //??                    Main.finalizz(i);                        Dynamics.destroy_dynamics((ItemContainer) Main.dynamics);                    Main.dynamics = null;                    Statics.destroy_statics((ItemContainer) Main.statics);                    Main.statics = null;                    Main.destroy_signal_memory((MapContainer) Main.signal_memory);                    Main.signal_memory = null;                    Main.destroy_event_handler((EventHandler) Main.event_handler);                    Main.event_handler = null;                    Main.destroy_xml_parser((org.apache.xerces.parsers.DOMParser) ItemHandler.xml_parser);                    ItemHandler.xml_parser = null;                        //                    // Runtime.getRuntime().exit(0);                    // and                    // System.exit(0);                    // do the same thing.                    // The program exits normally, when the last non-daemon thread exits.                    //                    java.lang.System.out.println("INFO: Exit system normally.");                    java.lang.System.exit(0);                } else {                        java.lang.System.out.println("ERROR: Could not execute cyboi. The argument array length is unequal to two.");                }            } else {                java.lang.System.out.println("ERROR: Could not execute cyboi. The argument array is null.");            }        } catch (Exception e) {            //            // Runtime.getRuntime().exit(0);            // and            // System.exit(0);            // do the same thing.            // The system exits normally, when the last non-daemon thread exits.            // Since an exception was caught here, the system exits unnormally.            //            java.lang.System.out.println("ERROR: Exit cyboi unnormally. Undiscovered exception:\n");            e.printStackTrace();            java.lang.System.exit(1);        }    }