public virtual void fireSelectionEvent(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.util.EventDispatcher: void fireSelectionEvent(int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r8_o = this;
    _r9.i = n1;
    _r10.i = n2;
    _r7.i = 0;
    _r6.i = 1;
    _r5_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    if (_r5_o == null) goto label14;
    _r5_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    _r5.i = ((global::java.util.ArrayList) _r5_o).size();
    if (_r5.i != 0) goto label15;
    label14:;
    return;
    label15:;
    _r5_o = global::com.codename1.ui.Display.getInstance();
    _r3.i = ((global::com.codename1.ui.Display) _r5_o).isEdt() ? 1 : 0;
    if (_r3.i == 0) goto label45;
    _r5_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    _r5.i = ((global::java.util.ArrayList) _r5_o).size();
    if (_r5.i != _r6.i) goto label45;
    _r5_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    _r0_o = ((global::java.util.ArrayList) _r5_o).get((int) _r7.i);
    _r0_o = _r0_o;
    ((global::com.codename1.ui.events.SelectionListener) _r0_o).selectionChanged((int) _r9.i, (int) _r10.i);
    goto label14;
    label45:;
    global::System.Threading.Monitor.Enter(_r8_o);
    try {
    _r5_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    _r5.i = ((global::java.util.ArrayList) _r5_o).size();
    _r1_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r5.i]);
    _r4.i = 0;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label78;
        }
        throw ex;
    } // end catch
    label55:;
    try {
    _r5.i = ((global::org.xmlvm._nIArray) _r1_o).Length;
    if (_r4.i >= _r5.i) goto label71;
    _r5_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    _r5_o = ((global::java.util.ArrayList) _r5_o).get((int) _r4.i);
    _r5_o = _r5_o;
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o)[_r4.i] = _r5_o;
    _r4.i = _r4.i + 1;
    goto label55;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label78;
        }
        throw ex;
    } // end catch
    label71:;
    try {
    global::System.Threading.Monitor.Exit(_r8_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label78;
        }
        throw ex;
    } // end catch
    if (_r3.i == 0) goto label81;
    ((global::com.codename1.ui.util.EventDispatcher) _r8_o).fireSelectionSync((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o, (int) _r9.i, (int) _r10.i);
    goto label14;
    label78:;
    _r5_o = _ex.getJavaException();
    _ex = null;
    try {
    global::System.Threading.Monitor.Exit(_r8_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label78;
        }
        throw ex;
    } // end catch
    throw new global::org.xmlvm._nExceptionAdapter((global::System.Object) _r5_o);
    label81:;
    ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._fselectionListenerArray = 0!=_r6.i;
    _r2_o = new global::com.codename1.ui.util.EventDispatcher_2CallbackClass();
    _r5.i = 2;
    _r5_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r5.i]);
    ((global::org.xmlvm._nArrayAdapter<int>) _r5_o)[_r7.i] = _r9.i;
    ((global::org.xmlvm._nArrayAdapter<int>) _r5_o)[_r6.i] = _r10.i;
    ((global::com.codename1.ui.util.EventDispatcher_2CallbackClass) _r2_o)[email protected]((global::com.codename1.ui.util.EventDispatcher) _r8_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o, (global::java.lang.Object) _r5_o);
    _r5.i = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._fblocking ? 1 : 0;
    if (_r5.i == 0) goto label107;
    _r5_o = global::com.codename1.ui.Display.getInstance();
    ((global::com.codename1.ui.Display) _r5_o).callSeriallyAndWait((global::java.lang.Runnable) _r2_o);
    goto label14;
    label107:;
    _r5_o = global::com.codename1.ui.Display.getInstance();
    ((global::com.codename1.ui.Display) _r5_o).callSerially((global::java.lang.Runnable) _r2_o);
    goto label14;
//XMLVM_END_WRAPPER[com.codename1.ui.util.EventDispatcher: void fireSelectionEvent(int, int)]
}
public virtual void fireBindTargetChange(global::com.codename1.ui.Component n1, global::java.lang.String n2, global::java.lang.Object n3, global::java.lang.Object n4){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.util.EventDispatcher: void fireBindTargetChange(com.codename1.ui.Component, java.lang.String, java.lang.Object, java.lang.Object)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r8_o = this;
    _r9_o = n1;
    _r10_o = n2;
    _r11_o = n3;
    _r12_o = n4;
    _r3.i = 1;
    _r0_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    if (_r0_o == null) goto label13;
    _r0_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    _r0.i = ((global::java.util.ArrayList) _r0_o).size();
    if (_r0.i != 0) goto label14;
    label13:;
    return;
    label14:;
    global::System.Threading.Monitor.Enter(_r8_o);
    try {
    _r0_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    _r0.i = ((global::java.util.ArrayList) _r0_o).size();
    _r1_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r0.i]);
    _r7.i = 0;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label60;
        }
        throw ex;
    } // end catch
    label24:;
    try {
    _r0.i = ((global::org.xmlvm._nIArray) _r1_o).Length;
    if (_r7.i >= _r0.i) goto label40;
    _r0_o = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._flisteners;
    _r0_o = ((global::java.util.ArrayList) _r0_o).get((int) _r7.i);
    _r0_o = _r0_o;
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o)[_r7.i] = _r0_o;
    _r7.i = _r7.i + 1;
    goto label24;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label60;
        }
        throw ex;
    } // end catch
    label40:;
    try {
    global::System.Threading.Monitor.Exit(_r8_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label60;
        }
        throw ex;
    } // end catch
    _r0_o = global::com.codename1.ui.Display.getInstance();
    _r0.i = ((global::com.codename1.ui.Display) _r0_o).isEdt() ? 1 : 0;
    if (_r0.i == 0) goto label63;
    _r0_o = _r8_o;
    _r2_o = _r9_o;
    _r3_o = _r10_o;
    _r4_o = _r11_o;
    _r5_o = _r12_o;
    ((global::com.codename1.ui.util.EventDispatcher) _r0_o).fireBindTargetChangeSync((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o, (global::com.codename1.ui.Component) _r2_o, (global::java.lang.String) _r3_o, (global::java.lang.Object) _r4_o, (global::java.lang.Object) _r5_o);
    goto label13;
    label60:;
    _r0_o = _ex.getJavaException();
    _ex = null;
    try {
    global::System.Threading.Monitor.Exit(_r8_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label60;
        }
        throw ex;
    } // end catch
    throw new global::org.xmlvm._nExceptionAdapter((global::System.Object) _r0_o);
    label63:;
    ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._fbindTargetArray = 0!=_r3.i;
    _r6_o = new global::com.codename1.ui.util.EventDispatcher_2CallbackClass();
    _r0.i = 4;
    _r0_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r0.i]);
    _r2.i = 0;
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o)[_r2.i] = _r9_o;
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o)[_r3.i] = _r10_o;
    _r2.i = 2;
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o)[_r2.i] = _r11_o;
    _r2.i = 3;
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o)[_r2.i] = _r12_o;
    ((global::com.codename1.ui.util.EventDispatcher_2CallbackClass) _r6_o)[email protected]((global::com.codename1.ui.util.EventDispatcher) _r8_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o, (global::java.lang.Object) _r0_o);
    _r0.i = ((global::com.codename1.ui.util.EventDispatcher) _r8_o)._fblocking ? 1 : 0;
    if (_r0.i == 0) goto label96;
    _r0_o = global::com.codename1.ui.Display.getInstance();
    ((global::com.codename1.ui.Display) _r0_o).callSeriallyAndWait((global::java.lang.Runnable) _r6_o);
    goto label13;
    label96:;
    _r0_o = global::com.codename1.ui.Display.getInstance();
    ((global::com.codename1.ui.Display) _r0_o).callSerially((global::java.lang.Runnable) _r6_o);
    goto label13;
//XMLVM_END_WRAPPER[com.codename1.ui.util.EventDispatcher: void fireBindTargetChange(com.codename1.ui.Component, java.lang.String, java.lang.Object, java.lang.Object)]
}