} else if (p0 instanceof javax.swing.JMenuItem) {
} else if (p0 instanceof javax.swing.JPanel) {
    static void add_to_java_object(java.lang.Object p0, java.lang.Object p1, java.lang.Object p2) {        if (p0 != null) {            java.lang.System.out.println("INFO: Add to java object.");                        if (p0 instanceof javax.swing.JFrame) {                                    JavaObjectHandler.add_to_jframe((javax.swing.JFrame) p0, p1, p2);            } else if (p0 instanceof javax.swing.JMenuBar) {                                JavaObjectHandler.add_to_jmenubar((javax.swing.JMenuBar) p0, p1, p2);                } else if (p0 instanceof javax.swing.JMenu) {                                JavaObjectHandler.add_to_jmenu((javax.swing.JMenu) p0, p1, p2);                } else if (p0 instanceof javax.swing.JMenuItem) {                                JavaObjectHandler.add_to_jmenuitem((javax.swing.JMenuItem) p0, p1, p2);            }        } else {                        java.lang.System.out.println("ERROR: Could not add to java object. The java object is null.");        }    }