public override void buildRequestBody(global::java.io.OutputStream n1){ //XMLVM_BEGIN_WRAPPER[com.codename1.io.WebServiceProxyCall$WSConnection: void buildRequestBody(java.io.OutputStream)] 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; _r11_o = this; _r12_o = n1; _r10.i = 1; _r9.i = -1; _r8.i = 0; _r4_o = new global::java.io.DataOutputStream(); ((global::java.io.DataOutputStream) _r4_o).@this((global::java.io.OutputStream) _r12_o); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._fdef; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSDefinition) _r6_o)._fname; ((global::java.io.DataOutputStream) _r4_o).writeUTF((global::java.lang.String) _r6_o); _r5.i = 0; label16:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6.i = ((global::org.xmlvm._nIArray) _r6_o).Length; if (_r5.i >= _r6.i) goto label772; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._fdef; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSDefinition) _r6_o)._farguments; _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r6_o)[_r5.i]; switch (_r6.i) { case 1: goto label61; case 2: goto label77; case 3: goto label91; case 4: goto label105; case 5: goto label119; case 6: goto label133; case 7: goto label147; case 8: goto label161; case 9: goto label175; case 10: goto label202; case 11: goto label231; case 12: goto label260; case 13: goto label289; case 14: goto label318; case 15: goto label347; case 16: goto label376; case 17: goto label405; case 18: goto label430; case 19: goto label467; case 20: goto label504; case 21: goto label541; case 22: goto label578; case 23: goto label615; case 24: goto label652; case 25: goto label689; case 26: goto label726; case 1000: goto label763; } _r6_o = new global::java.lang.RuntimeException(); _r7_o = new global::java.lang.StringBuilder(); ((global::java.lang.StringBuilder) _r7_o).@this(); // Value=Unrecognized type: _r8_o = new global::java.lang.String(); ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 122)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 32))})); _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o); _r8_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._fdef; _r8_o = ((global::com.codename1.io.WebServiceProxyCall_2WSDefinition) _r8_o)._farguments; _r8.i = ((global::org.xmlvm._nArrayAdapter<int>) _r8_o)[_r5.i]; _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((int) _r8.i); _r7_o = ((global::java.lang.StringBuilder) _r7_o).toString(); ((global::java.lang.RuntimeException) _r6_o).@this((global::java.lang.String) _r7_o); throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.RuntimeException) _r6_o); label61:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Byte) _r6_o).byteValue(); ((global::java.io.DataOutputStream) _r4_o).writeByte((int) _r6.i); label74:; _r5.i = _r5.i + 1; goto label16; label77:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Character) _r6_o).charValue(); ((global::java.io.DataOutputStream) _r4_o).writeChar((int) _r6.i); goto label74; label91:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Short) _r6_o).shortValue(); ((global::java.io.DataOutputStream) _r4_o).writeShort((int) _r6.i); goto label74; label105:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Integer) _r6_o).intValue(); ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); goto label74; label119:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.l = ((global::java.lang.Long) _r6_o).longValue(); ((global::java.io.DataOutputStream) _r4_o).writeLong((long) _r6.l); goto label74; label133:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.d = ((global::java.lang.Double) _r6_o).doubleValue(); ((global::java.io.DataOutputStream) _r4_o).writeDouble((double) _r6.d); goto label74; label147:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.f = ((global::java.lang.Float) _r6_o).floatValue(); ((global::java.io.DataOutputStream) _r4_o).writeFloat((float) _r6.f); goto label74; label161:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Boolean) _r6_o).booleanValue() ? 1 : 0; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r6.i); goto label74; label175:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label198; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r10.i); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Byte) _r6_o).byteValue(); ((global::java.io.DataOutputStream) _r4_o).writeByte((int) _r6.i); goto label74; label198:; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r8.i); goto label74; label202:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label226; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r10.i); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Character) _r6_o).charValue(); ((global::java.io.DataOutputStream) _r4_o).writeChar((int) _r6.i); goto label74; label226:; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r8.i); goto label74; label231:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label255; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r10.i); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Short) _r6_o).shortValue(); ((global::java.io.DataOutputStream) _r4_o).writeShort((int) _r6.i); goto label74; label255:; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r8.i); goto label74; label260:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label284; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r10.i); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Integer) _r6_o).intValue(); ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); goto label74; label284:; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r8.i); goto label74; label289:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label313; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r10.i); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.l = ((global::java.lang.Long) _r6_o).longValue(); ((global::java.io.DataOutputStream) _r4_o).writeLong((long) _r6.l); goto label74; label313:; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r8.i); goto label74; label318:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label342; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r10.i); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.d = ((global::java.lang.Double) _r6_o).doubleValue(); ((global::java.io.DataOutputStream) _r4_o).writeDouble((double) _r6.d); goto label74; label342:; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r8.i); goto label74; label347:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label371; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r10.i); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.f = ((global::java.lang.Float) _r6_o).floatValue(); ((global::java.io.DataOutputStream) _r4_o).writeFloat((float) _r6.f); goto label74; label371:; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r8.i); goto label74; label376:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label400; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r10.i); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r6.i = ((global::java.lang.Boolean) _r6_o).booleanValue() ? 1 : 0; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r6.i); goto label74; label400:; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r8.i); goto label74; label405:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label425; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r10.i); _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; ((global::java.io.DataOutputStream) _r4_o).writeUTF((global::java.lang.String) _r6_o); goto label74; label425:; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r8.i); goto label74; label430:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label462; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r0_o = _r6_o; _r0_o = _r0_o; _r1_o = _r0_o; _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; _r7.i = _r8.i; label452:; if (_r7.i >= _r6.i) goto label74; _r2.i = ((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o)[_r7.i]; ((global::java.io.DataOutputStream) _r4_o).writeByte((int) _r2.i); _r7.i = _r7.i + 1; goto label452; label462:; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r9.i); goto label74; label467:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label499; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r0_o = _r6_o; _r0_o = _r0_o; _r1_o = _r0_o; _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; _r7.i = _r8.i; label489:; if (_r7.i >= _r6.i) goto label74; _r2.i = ((global::org.xmlvm._nArrayAdapter<char>) _r1_o)[_r7.i]; ((global::java.io.DataOutputStream) _r4_o).writeChar((int) _r2.i); _r7.i = _r7.i + 1; goto label489; label499:; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r9.i); goto label74; label504:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label536; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r0_o = _r6_o; _r0_o = _r0_o; _r1_o = _r0_o; _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; _r7.i = _r8.i; label526:; if (_r7.i >= _r6.i) goto label74; _r2.i = ((global::org.xmlvm._nArrayAdapter<short>) _r1_o)[_r7.i]; ((global::java.io.DataOutputStream) _r4_o).writeShort((int) _r2.i); _r7.i = _r7.i + 1; goto label526; label536:; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r9.i); goto label74; label541:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label573; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r0_o = _r6_o; _r0_o = _r0_o; _r1_o = _r0_o; _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; _r7.i = _r8.i; label563:; if (_r7.i >= _r6.i) goto label74; _r2.i = ((global::org.xmlvm._nArrayAdapter<int>) _r1_o)[_r7.i]; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r2.i); _r7.i = _r7.i + 1; goto label563; label573:; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r9.i); goto label74; label578:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label610; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r0_o = _r6_o; _r0_o = _r0_o; _r1_o = _r0_o; _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; _r7.i = _r8.i; label600:; if (_r7.i >= _r6.i) goto label74; _r2.l = ((global::org.xmlvm._nArrayAdapter<long>) _r1_o)[_r7.i]; ((global::java.io.DataOutputStream) _r4_o).writeLong((long) _r2.l); _r7.i = _r7.i + 1; goto label600; label610:; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r9.i); goto label74; label615:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label647; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r0_o = _r6_o; _r0_o = _r0_o; _r1_o = _r0_o; _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; _r7.i = _r8.i; label637:; if (_r7.i >= _r6.i) goto label74; _r2.d = ((global::org.xmlvm._nArrayAdapter<double>) _r1_o)[_r7.i]; ((global::java.io.DataOutputStream) _r4_o).writeDouble((double) _r2.d); _r7.i = _r7.i + 1; goto label637; label647:; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r9.i); goto label74; label652:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label684; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r0_o = _r6_o; _r0_o = _r0_o; _r1_o = _r0_o; _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; _r7.i = _r8.i; label674:; if (_r7.i >= _r6.i) goto label74; _r2.f = ((global::org.xmlvm._nArrayAdapter<float>) _r1_o)[_r7.i]; ((global::java.io.DataOutputStream) _r4_o).writeFloat((float) _r2.f); _r7.i = _r7.i + 1; goto label674; label684:; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r9.i); goto label74; label689:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label721; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r0_o = _r6_o; _r0_o = _r0_o; _r1_o = _r0_o; _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; _r7.i = _r8.i; label711:; if (_r7.i >= _r6.i) goto label74; _r2.i = ((global::org.xmlvm._nArrayAdapter<bool>) _r1_o)[_r7.i] ? 1 : 0; ((global::java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r2.i); _r7.i = _r7.i + 1; goto label711; label721:; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r9.i); goto label74; label726:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; if (_r6_o == null) goto label758; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; _r6_o = _r6_o; _r0_o = _r6_o; _r0_o = _r0_o; _r1_o = _r0_o; _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r6.i); _r6.i = ((global::org.xmlvm._nIArray) _r1_o).Length; _r7.i = _r8.i; label748:; if (_r7.i >= _r6.i) goto label74; _r2_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o)[_r7.i]; ((global::java.io.DataOutputStream) _r4_o).writeUTF((global::java.lang.String) _r2_o); _r7.i = _r7.i + 1; goto label748; label758:; ((global::java.io.DataOutputStream) _r4_o).writeInt((int) _r9.i); goto label74; label763:; _r6_o = ((global::com.codename1.io.WebServiceProxyCall_2WSConnection) _r11_o)._farguments; _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r5.i]; global::com.codename1.io.Util.writeObject((global::java.lang.Object) _r6_o, (global::java.io.DataOutputStream) _r4_o); goto label74; label772:; return; label774:; //XMLVM_END_WRAPPER[com.codename1.io.WebServiceProxyCall$WSConnection: void buildRequestBody(java.io.OutputStream)] }
public override void buildRequestBody(global::java.io.OutputStream n1){ //XMLVM_BEGIN_WRAPPER[com.codename1.cloud.CloudStorage$StorageRequest: void buildRequestBody(java.io.OutputStream)] 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; _r9_o = this; _r10_o = n1; _r8_o = null; _r7.i = 1; _r2_o = new global::java.io.DataOutputStream(); ((global::java.io.DataOutputStream) _r2_o).@this((global::java.io.OutputStream) _r10_o); _r5_o = ((global::com.codename1.cloud.CloudStorage_2StorageRequest) _r9_o)._fthis_20; _r5_o = global::com.codename1.cloud.CloudStorage.access_2100((global::com.codename1.cloud.CloudStorage) _r5_o); _r5.i = ((global::java.util.Vector) _r5_o).size(); ((global::java.io.DataOutputStream) _r2_o).writeInt((int) _r5.i); _r5_o = global::com.codename1.cloud.CloudPersona.getCurrentPersona(); _r5_o = ((global::com.codename1.cloud.CloudPersona) _r5_o).getToken(); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r5_o); _r5_o = global::com.codename1.ui.Display.getInstance(); // Value=package_name _r6_o = new global::java.lang.String(); ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101))})); _r5_o = ((global::com.codename1.ui.Display) _r5_o).getProperty((global::java.lang.String) _r6_o, (global::java.lang.String) _r8_o); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r5_o); _r5_o = global::com.codename1.ui.Display.getInstance(); // Value=built_by_user _r6_o = new global::java.lang.String(); ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))})); _r5_o = ((global::com.codename1.ui.Display) _r5_o).getProperty((global::java.lang.String) _r6_o, (global::java.lang.String) _r8_o); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r5_o); _r4.i = 0; label58:; _r5_o = ((global::com.codename1.cloud.CloudStorage_2StorageRequest) _r9_o)._fthis_20; _r5_o = global::com.codename1.cloud.CloudStorage.access_2100((global::com.codename1.cloud.CloudStorage) _r5_o); _r5.i = ((global::java.util.Vector) _r5_o).size(); if (_r4.i >= _r5.i) goto label150; _r5_o = ((global::com.codename1.cloud.CloudStorage_2StorageRequest) _r9_o)._fthis_20; _r5_o = global::com.codename1.cloud.CloudStorage.access_2100((global::com.codename1.cloud.CloudStorage) _r5_o); _r3_o = ((global::java.util.Vector) _r5_o).elementAt((int) _r4.i); _r5.i = ((_r3_o != null) && (_r3_o is global::java.lang.String)) ? 1 : 0; if (_r5.i == 0) goto label95; ((global::java.io.DataOutputStream) _r2_o).writeByte((int) _r7.i); _r3_o = _r3_o; ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r3_o); label92:; _r4.i = _r4.i + 1; goto label58; label95:; _r0_o = _r3_o; _r0_o = _r0_o; _r1_o = _r0_o; _r5_o = ((global::com.codename1.cloud.CloudObject) _r1_o).getCloudId(); if (_r5_o != null) goto label124; _r5.i = 2; ((global::java.io.DataOutputStream) _r2_o).writeByte((int) _r5.i); _r5.i = ((global::com.codename1.cloud.CloudObject) _r1_o).getAccessPermissions(); ((global::java.io.DataOutputStream) _r2_o).writeInt((int) _r5.i); _r5_o = ((global::com.codename1.cloud.CloudObject) _r1_o).getValues(); global::com.codename1.io.Util.writeObject((global::java.lang.Object) _r5_o, (global::java.io.DataOutputStream) _r2_o); goto label92; label124:; _r5.i = 3; ((global::java.io.DataOutputStream) _r2_o).writeByte((int) _r5.i); _r5_o = ((global::com.codename1.cloud.CloudObject) _r1_o).getCloudId(); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r5_o); _r5.l = ((global::com.codename1.cloud.CloudObject) _r1_o).getLastModified(); ((global::java.io.DataOutputStream) _r2_o).writeLong((long) _r5.l); _r5_o = ((global::com.codename1.cloud.CloudObject) _r1_o).getValues(); global::com.codename1.io.Util.writeObject((global::java.lang.Object) _r5_o, (global::java.io.DataOutputStream) _r2_o); goto label92; label150:; ((global::java.io.DataOutputStream) _r2_o).writeInt((int) _r7.i); return; //XMLVM_END_WRAPPER[com.codename1.cloud.CloudStorage$StorageRequest: void buildRequestBody(java.io.OutputStream)] }
private static long computeSerialVersionUID(global::java.lang.Class n1, global::org.xmlvm._nArrayAdapter<global::System.Object> n2){ //XMLVM_BEGIN_WRAPPER[java.io.ObjectStreamClass: long computeSerialVersionUID(java.lang.Class, java.lang.reflect.Field[])] 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::org.xmlvm._nElement _r9; global::System.Object _r10_o = null; global::System.Object _r11_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r10_o = n1; _r11_o = n2; _r9.i = 1; _r8.i = 0; _r0.i = _r8.i; label3:; _r1.i = ((global::org.xmlvm._nIArray) _r11_o).Length; if (_r0.i < _r1.i) goto label169; try { // Value=SHA _r0_o = new global::java.lang.String(); ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)83)), unchecked((char) unchecked((uint) 72)), unchecked((char) unchecked((uint) 65))})); // Red class access removed: java.security.MessageDigest getInstance throw new global::org.xmlvm._nNotYetImplementedException("Red class access removed: java.security.MessageDigest getInstance"); } catch (global::org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is global::org.xmlvm.runtime.RedTypeMarker) { // Red class exception catch removed throw new global::org.xmlvm._nNotYetImplementedException("Red class exception removed"); ; } throw ex; } // end catch _r1_o = new global::java.io.ByteArrayOutputStream(); ((global::java.io.ByteArrayOutputStream) _r1_o).@this(); try { _r2_o = new global::java.io.DataOutputStream(); ((global::java.io.DataOutputStream) _r2_o).@this((global::java.io.OutputStream) _r1_o); _r3_o = ((global::java.lang.Class) _r10_o).getName(); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r3_o); _r3.i = global::java.io.ObjectStreamClass._fCLASS_1MODIFIERS_1MASK; _r4.i = ((global::java.lang.Class) _r10_o).getModifiers(); _r3.i = _r3.i & _r4.i; _r4.i = ((global::java.lang.Class) _r10_o).isArray() ? 1 : 0; if (_r4.i == 0) goto label44; _r3.i = _r3.i | 1024; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label44:; try { _r5.i = ((global::java.lang.Class) _r10_o).isInterface() ? 1 : 0; if (_r5.i == 0) goto label58; _r5.i = global::java.lang.reflect.Modifier.isPublic((int) _r3.i) ? 1 : 0; if (_r5.i != 0) goto label58; _r3.i = _r3.i & -1025; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label58:; try { ((global::java.io.DataOutputStream) _r2_o).writeInt((int) _r3.i); if (_r4.i != 0) goto label82; _r3_o = ((global::java.lang.Class) _r10_o).getInterfaces(); _r4.i = ((global::org.xmlvm._nIArray) _r3_o).Length; if (_r4.i <= _r9.i) goto label78; _r4_o = new global::java.io.ObjectStreamClass_21(); ((global::java.io.ObjectStreamClass_21) _r4_o).@this(); global::java.util.Arrays.sort((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o, (global::java.util.Comparator) _r4_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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label78:; try { _r4.i = _r8.i; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label79:; try { _r5.i = ((global::org.xmlvm._nIArray) _r3_o).Length; if (_r4.i < _r5.i) goto label245; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label82:; try { _r3.i = ((global::org.xmlvm._nIArray) _r11_o).Length; if (_r3.i <= _r9.i) goto label93; _r3_o = new global::java.io.ObjectStreamClass_22(); ((global::java.io.ObjectStreamClass_22) _r3_o).@this(); global::java.util.Arrays.sort((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r11_o, (global::java.util.Comparator) _r3_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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label93:; try { _r3.i = _r8.i; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label94:; try { _r4.i = ((global::org.xmlvm._nIArray) _r11_o).Length; if (_r3.i < _r4.i) goto label258; _r3.i = global::java.io.ObjectStreamClass.hasClinit((global::java.lang.Class) _r10_o) ? 1 : 0; if (_r3.i == 0) goto label118; // Value=<clinit> _r3_o = new global::java.lang.String(); ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)60)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 62))})); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r3_o); _r3.i = 8; ((global::java.io.DataOutputStream) _r2_o).writeInt((int) _r3.i); // Value=()V _r3_o = new global::java.lang.String(); ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)40)), unchecked((char) unchecked((uint) 41)), unchecked((char) unchecked((uint) 86))})); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r3_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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label118:; try { _r3_o = ((global::java.lang.Class) _r10_o).getDeclaredConstructors(); _r4.i = ((global::org.xmlvm._nIArray) _r3_o).Length; if (_r4.i <= _r9.i) goto label133; _r4_o = new global::java.io.ObjectStreamClass_23(); ((global::java.io.ObjectStreamClass_23) _r4_o).@this(); global::java.util.Arrays.sort((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o, (global::java.util.Comparator) _r4_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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label133:; try { _r4.i = _r8.i; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label134:; try { _r5.i = ((global::org.xmlvm._nIArray) _r3_o).Length; if (_r4.i < _r5.i) goto label315; _r3_o = ((global::java.lang.Class) _r10_o).getDeclaredMethods(); _r4.i = ((global::org.xmlvm._nIArray) _r3_o).Length; if (_r4.i <= _r9.i) goto label152; _r4_o = new global::java.io.ObjectStreamClass_24(); ((global::java.io.ObjectStreamClass_24) _r4_o).@this(); global::java.util.Arrays.sort((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o, (global::java.util.Comparator) _r4_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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label152:; try { _r4.i = _r8.i; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label153:; try { _r5.i = ((global::org.xmlvm._nIArray) _r3_o).Length; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch if (_r4.i < _r5.i) goto label361; _r1_o = ((global::java.io.ByteArrayOutputStream) _r1_o).toByteArray(); // Red class access removed: java.security.MessageDigest digest throw new global::org.xmlvm._nNotYetImplementedException("Red class access removed: java.security.MessageDigest digest"); _r0.l = global::java.io.ObjectStreamClass.littleEndianLongAt((global::org.xmlvm._nArrayAdapter<sbyte>) _r0_o, (int) _r8.i); label168:; return _r0.l; label169:; _r1_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r11_o)[_r0.i]; _r2_o = global::java.lang.Long._fTYPE; _r3_o = ((global::java.lang.reflect.Field) _r1_o).getType(); if (_r2_o != _r3_o) goto label234; _r2.i = ((global::java.lang.reflect.Field) _r1_o).getModifiers(); _r3.i = global::java.lang.reflect.Modifier.isStatic((int) _r2.i) ? 1 : 0; if (_r3.i == 0) goto label234; _r2.i = global::java.lang.reflect.Modifier.isFinal((int) _r2.i) ? 1 : 0; if (_r2.i == 0) goto label234; // Value=serialVersionUID _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 86)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 73)), unchecked((char) unchecked((uint) 68))})); _r3_o = ((global::java.lang.reflect.Field) _r1_o).getName(); _r2.i = ((global::java.lang.String) _r2_o).equals((global::java.lang.Object) _r3_o) ? 1 : 0; if (_r2.i == 0) goto label234; _r0_o = new global::org.apache.harmony.luni.util.PriviAction(); ((global::org.apache.harmony.luni.util.PriviAction) _r0_o).@this((global::java.lang.reflect.AccessibleObject) _r1_o); global::java.security.AccessController.doPrivileged((global::java.security.PrivilegedAction) _r0_o); _r0_o = null; try { _r0.l = ((global::java.lang.reflect.Field) _r1_o).getLong((global::java.lang.Object) _r0_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.IllegalAccessException) { _ex = ex; goto label221; } throw ex; } // end catch goto label168; label221:; _r0_o = _ex.getJavaException(); _ex = null; _r1_o = new global::java.lang.RuntimeException(); // Value=luni.C9 _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 57))})); _r0_o = global::[email protected]((global::java.lang.String) _r2_o, (global::java.lang.Object) _r0_o); ((global::java.lang.RuntimeException) _r1_o).@this((global::java.lang.String) _r0_o); throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.RuntimeException) _r1_o); label234:; _r0.i = _r0.i + 1; goto label3; _r0_o = _ex.getJavaException(); _ex = null; _r1_o = new global::java.lang.Error(); ((global::java.lang.Error) _r1_o).@this((global::java.lang.Throwable) _r0_o); throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.Error) _r1_o); label245:; try { _r5_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o)[_r4.i]; _r5_o = ((global::java.lang.Class) _r5_o).getName(); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r5_o); _r4.i = _r4.i + 1; goto label79; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label258:; try { _r4_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r11_o)[_r3.i]; _r5.i = ((global::java.lang.reflect.Field) _r4_o).getModifiers(); _r6.i = global::java.io.ObjectStreamClass._fFIELD_1MODIFIERS_1MASK; _r5.i = _r5.i & _r6.i; _r6.i = global::java.lang.reflect.Modifier.isPrivate((int) _r5.i) ? 1 : 0; if (_r6.i == 0) goto label313; _r6.i = global::java.lang.reflect.Modifier.isTransient((int) _r5.i) ? 1 : 0; if (_r6.i != 0) goto label285; _r6.i = global::java.lang.reflect.Modifier.isStatic((int) _r5.i) ? 1 : 0; if (_r6.i == 0) goto label313; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label285:; try { _r6.i = _r9.i; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label286:; try { if (_r6.i != 0) goto label309; _r6_o = ((global::java.lang.reflect.Field) _r4_o).getName(); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r6_o); ((global::java.io.DataOutputStream) _r2_o).writeInt((int) _r5.i); _r4_o = global::java.io.ObjectStreamClass.getFieldSignature((global::java.lang.reflect.Field) _r4_o); _r4_o = global::java.io.ObjectStreamClass.descriptorForFieldSignature((global::java.lang.String) _r4_o); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r4_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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label309:; try { _r3.i = _r3.i + 1; goto label94; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label313:; try { _r6.i = _r8.i; goto label286; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label315:; try { _r5_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o)[_r4.i]; _r6.i = ((global::java.lang.reflect.Constructor) _r5_o).getModifiers(); _r7.i = global::java.io.ObjectStreamClass._fMETHOD_1MODIFIERS_1MASK; _r6.i = _r6.i & _r7.i; _r7.i = global::java.lang.reflect.Modifier.isPrivate((int) _r6.i) ? 1 : 0; if (_r7.i != 0) goto label357; // Value=<init> _r7_o = new global::java.lang.String(); ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)60)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 62))})); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r7_o); ((global::java.io.DataOutputStream) _r2_o).writeInt((int) _r6.i); _r5_o = global::java.io.ObjectStreamClass.getConstructorSignature((global::java.lang.reflect.Constructor) _r5_o); _r5_o = global::java.io.ObjectStreamClass.descriptorForSignature((global::java.lang.String) _r5_o); _r6.i = 47; _r7.i = 46; _r5_o = ((global::java.lang.String) _r5_o).replace((char) _r6.i, (char) _r7.i); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r5_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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label357:; try { _r4.i = _r4.i + 1; goto label134; } 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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label361:; try { _r5_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o)[_r4.i]; _r6.i = ((global::java.lang.reflect.Method) _r5_o).getModifiers(); _r7.i = global::java.io.ObjectStreamClass._fMETHOD_1MODIFIERS_1MASK; _r6.i = _r6.i & _r7.i; _r7.i = global::java.lang.reflect.Modifier.isPrivate((int) _r6.i) ? 1 : 0; if (_r7.i != 0) goto label405; _r7_o = ((global::java.lang.reflect.Method) _r5_o).getName(); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r7_o); ((global::java.io.DataOutputStream) _r2_o).writeInt((int) _r6.i); _r5_o = global::java.io.ObjectStreamClass.getMethodSignature((global::java.lang.reflect.Method) _r5_o); _r5_o = global::java.io.ObjectStreamClass.descriptorForSignature((global::java.lang.String) _r5_o); _r6.i = 47; _r7.i = 46; _r5_o = ((global::java.lang.String) _r5_o).replace((char) _r6.i, (char) _r7.i); ((global::java.io.DataOutputStream) _r2_o).writeUTF((global::java.lang.String) _r5_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.io.IOException) { _ex = ex; goto label409; } throw ex; } // end catch label405:; _r4.i = _r4.i + 1; goto label153; label409:; _r0_o = _ex.getJavaException(); _ex = null; _r1_o = new global::java.lang.RuntimeException(); // Value=luni.CA _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 65))})); _r0_o = global::[email protected]((global::java.lang.String) _r2_o, (global::java.lang.Object) _r0_o); ((global::java.lang.RuntimeException) _r1_o).@this((global::java.lang.String) _r0_o); throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.RuntimeException) _r1_o); //XMLVM_END_WRAPPER[java.io.ObjectStreamClass: long computeSerialVersionUID(java.lang.Class, java.lang.reflect.Field[])] }
private void checkWritePrimitiveTypes(){ //XMLVM_BEGIN_WRAPPER[java.io.ObjectOutputStream: void checkWritePrimitiveTypes()] global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::System.Object _r2_o = null; _r2_o = this; _r0_o = ((global::java.io.ObjectOutputStream) _r2_o)._fprimitiveTypes; if (_r0_o != null) goto label22; _r0_o = new global::java.io.ByteArrayOutputStream(); _r1.i = 128; ((global::java.io.ByteArrayOutputStream) _r0_o).@this((int) _r1.i); ((global::java.io.ObjectOutputStream) _r2_o)._fprimitiveTypesBuffer = (global::java.io.ByteArrayOutputStream) _r0_o; _r0_o = new global::java.io.DataOutputStream(); _r1_o = ((global::java.io.ObjectOutputStream) _r2_o)._fprimitiveTypesBuffer; ((global::java.io.DataOutputStream) _r0_o).@this((global::java.io.OutputStream) _r1_o); ((global::java.io.ObjectOutputStream) _r2_o)._fprimitiveTypes = (global::java.io.DataOutputStream) _r0_o; label22:; return; //XMLVM_END_WRAPPER[java.io.ObjectOutputStream: void checkWritePrimitiveTypes()] }
public void @this(global::java.io.OutputStream n1){ //XMLVM_BEGIN_WRAPPER[java.io.ObjectOutputStream: void <init>(java.io.OutputStream)] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::System.Object _r1_o = null; global::org.xmlvm._nElement _r2; global::System.Object _r2_o = null; global::System.Object _r3_o = null; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::org.xmlvm._nElement _r6; global::System.Object _r7_o = null; global::System.Object _r8_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r7_o = this; _r8_o = n1; _r6.i = 1; _r5.i = 0; ((global::java.io.OutputStream) _r7_o).@this(); // Red class access removed: org.apache.harmony.misc.accessors.AccessorFactory getObjectAccessor throw new global::org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.AccessorFactory getObjectAccessor"); ((global::java.io.ObjectOutputStream) _r7_o)._faccessor = (global::org.xmlvm.runtime.RedTypeMarker) _r0_o; _r0_o = global::org.xmlvm._nTIB.getClass(typeof(global::java.lang.reflect.Proxy)); _r0_o = global::java.io.ObjectStreamClass.lookup((global::java.lang.Class) _r0_o); ((global::java.io.ObjectOutputStream) _r7_o)._fproxyClassDesc = (global::java.io.ObjectStreamClass) _r0_o; _r0_o = ((global::java.lang.Object) _r7_o).getClass(); _r1_o = global::org.xmlvm._nTIB.getClass(typeof(global::java.io.ObjectOutputStream)); if (_r0_o == _r1_o) goto label72; try { // Value=putFields _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 115))})); _r3_o = global::java.io.ObjectStreamClass._fEMPTY_1CONSTRUCTOR_1PARAM_1TYPES; _r2_o = ((global::java.lang.Class) _r0_o).getMethod((global::java.lang.String) _r2_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o); _r2_o = ((global::java.lang.reflect.Method) _r2_o).getDeclaringClass(); } 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.NoSuchMethodException) { _ex = ex; goto label111; } throw ex; } // end catch if (_r2_o == _r1_o) goto label109; _r2.i = _r6.i; label42:; if (_r2.i != 0) goto label117; try { // Value=writeUnshared _r3_o = new global::java.lang.String(); ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)119)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100))})); _r4_o = global::java.io.ObjectStreamClass._fUNSHARED_1PARAM_1TYPES; _r0_o = ((global::java.lang.Class) _r0_o).getMethod((global::java.lang.String) _r3_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r4_o); _r0_o = ((global::java.lang.reflect.Method) _r0_o).getDeclaringClass(); } 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.NoSuchMethodException) { _ex = ex; goto label116; } throw ex; } // end catch if (_r0_o == _r1_o) goto label114; _r0.i = _r6.i; label59:; if (_r0.i == 0) goto label72; _r0_o = global::java.lang.System.getSecurityManager(); if (_r0_o == null) goto label72; _r1_o = java.io._iObjectStreamConstants._fSUBCLASS_1IMPLEMENTATION_1PERMISSION; ((global::java.lang.SecurityManager) _r0_o).checkPermission((global::java.security.Permission) _r1_o); label72:; _r0.i = ((_r8_o != null) && (_r8_o is global::java.io.DataOutputStream)) ? 1 : 0; if (_r0.i == 0) goto label119; _r0_o = _r8_o; label79:; ((global::java.io.ObjectOutputStream) _r7_o)._foutput = (global::java.io.DataOutputStream) _r0_o; ((global::java.io.ObjectOutputStream) _r7_o)._fenableReplace = 0!=_r5.i; _r0.i = 2; ((global::java.io.ObjectOutputStream) _r7_o)._fprotocolVersion = _r0.i; ((global::java.io.ObjectOutputStream) _r7_o)._fsubclassOverridingImplementation = 0!=_r5.i; ((global::java.io.ObjectOutputStream) _r7_o).resetState(); _r0_o = new global::java.io.StreamCorruptedException(); ((global::java.io.StreamCorruptedException) _r0_o).@this(); ((global::java.io.ObjectOutputStream) _r7_o)._fnestedException = (global::java.io.StreamCorruptedException) _r0_o; _r0_o = ((global::java.io.ObjectOutputStream) _r7_o)._foutput; ((global::java.io.ObjectOutputStream) _r7_o)._fprimitiveTypes = (global::java.io.DataOutputStream) _r0_o; ((global::java.io.ObjectOutputStream) _r7_o).writeStreamHeader(); _r0_o = null; ((global::java.io.ObjectOutputStream) _r7_o)._fprimitiveTypes = (global::java.io.DataOutputStream) _r0_o; return; label109:; _r2.i = _r5.i; goto label42; label111:; _r2_o = _ex.getJavaException(); _ex = null; _r2.i = _r5.i; goto label42; label114:; _r0.i = _r5.i; goto label59; label116:; _r0_o = _ex.getJavaException(); _ex = null; label117:; _r0.i = _r2.i; goto label59; label119:; _r0_o = new global::java.io.DataOutputStream(); ((global::java.io.DataOutputStream) _r0_o).@this((global::java.io.OutputStream) _r8_o); goto label79; //XMLVM_END_WRAPPER[java.io.ObjectOutputStream: void <init>(java.io.OutputStream)] }
public virtual bool writeObject(global::java.lang.String n1, global::java.lang.Object n2){ //XMLVM_BEGIN_WRAPPER[com.codename1.io.Storage: boolean writeObject(java.lang.String, 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._nExceptionAdapter _ex = null; _r4_o = this; _r5_o = n1; _r6_o = n2; _r5_o = ((global::com.codename1.io.Storage) _r4_o).fixFileName((global::java.lang.String) _r5_o); _r3_o = ((global::com.codename1.io.Storage) _r4_o)._fcache; ((global::com.codename1.io.CacheMap) _r3_o).put((global::java.lang.Object) _r5_o, (global::java.lang.Object) _r6_o); _r0_o = null; try { _r1_o = new global::java.io.DataOutputStream(); _r3_o = ((global::com.codename1.io.Storage) _r4_o).createOutputStream((global::java.lang.String) _r5_o); ((global::java.io.DataOutputStream) _r1_o).@this((global::java.io.OutputStream) _r3_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.Exception) { _ex = ex; goto label28; } throw ex; } // end catch try { global::com.codename1.io.Util.writeObject((global::java.lang.Object) _r6_o, (global::java.io.DataOutputStream) _r1_o); ((global::java.io.DataOutputStream) _r1_o).close(); } 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.Exception) { _ex = ex; goto label49; } throw ex; } // end catch _r3.i = 1; _r0_o = _r1_o; label27:; return _r3.i!=0; label28:; _r3_o = _ex.getJavaException(); _ex = null; _r2_o = _r3_o; label30:; ((global::java.lang.Exception) _r2_o).printStackTrace(); _r3_o = global::com.codename1.io.Util.getImplementation(); ((global::com.codename1.impl.CodenameOneImplementation) _r3_o).deleteStorageFile((global::java.lang.String) _r5_o); _r3_o = global::com.codename1.io.Util.getImplementation(); ((global::com.codename1.impl.CodenameOneImplementation) _r3_o).cleanup((global::java.lang.Object) _r0_o); _r3.i = 0; goto label27; label49:; _r3_o = _ex.getJavaException(); _ex = null; _r2_o = _r3_o; _r0_o = _r1_o; goto label30; //XMLVM_END_WRAPPER[com.codename1.io.Storage: boolean writeObject(java.lang.String, java.lang.Object)] }
public virtual global::System.Object toByteArray(){ //XMLVM_BEGIN_WRAPPER[com.codename1.ui.IndexedImage: byte[] toByteArray()] 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._nExceptionAdapter _ex = null; _r5_o = this; try { _r0_o = new global::java.io.ByteArrayOutputStream(); ((global::java.io.ByteArrayOutputStream) _r0_o).@this(); _r3_o = new global::java.io.DataOutputStream(); ((global::java.io.DataOutputStream) _r3_o).@this((global::java.io.OutputStream) _r0_o); _r4.i = ((global::com.codename1.ui.IndexedImage) _r5_o)._fwidth; ((global::java.io.DataOutputStream) _r3_o).writeShort((int) _r4.i); _r4.i = ((global::com.codename1.ui.IndexedImage) _r5_o)._fheight; ((global::java.io.DataOutputStream) _r3_o).writeShort((int) _r4.i); _r4_o = ((global::com.codename1.ui.IndexedImage) _r5_o)._fpalette; _r4.i = ((global::org.xmlvm._nIArray) _r4_o).Length; ((global::java.io.DataOutputStream) _r3_o).writeByte((int) _r4.i); _r2.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.io.IOException) { _ex = ex; goto label55; } throw ex; } // end catch label27:; try { _r4_o = ((global::com.codename1.ui.IndexedImage) _r5_o)._fpalette; _r4.i = ((global::org.xmlvm._nIArray) _r4_o).Length; if (_r2.i >= _r4.i) goto label42; _r4_o = ((global::com.codename1.ui.IndexedImage) _r5_o)._fpalette; _r4.i = ((global::org.xmlvm._nArrayAdapter<int>) _r4_o)[_r2.i]; ((global::java.io.DataOutputStream) _r3_o).writeInt((int) _r4.i); _r2.i = _r2.i + 1; goto label27; } 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.io.IOException) { _ex = ex; goto label55; } throw ex; } // end catch label42:; try { _r4_o = ((global::com.codename1.ui.IndexedImage) _r5_o)._fimageDataByte; ((global::java.io.DataOutputStream) _r3_o).write((global::org.xmlvm._nArrayAdapter<sbyte>) _r4_o); ((global::java.io.DataOutputStream) _r3_o).close(); _r4_o = ((global::java.io.ByteArrayOutputStream) _r0_o).toByteArray(); } 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.io.IOException) { _ex = ex; goto label55; } throw ex; } // end catch label54:; return (global::org.xmlvm._nArrayAdapter<sbyte>) _r4_o; label55:; _r4_o = _ex.getJavaException(); _ex = null; _r1_o = _r4_o; ((global::java.io.IOException) _r1_o).printStackTrace(); _r4_o = null; goto label54; //XMLVM_END_WRAPPER[com.codename1.ui.IndexedImage: byte[] toByteArray()] }