public int this[java.lang.String s] { get { last = s; return t[0]; } set { last = s; t[0] = value; } }
public java.lang.String NewString(string str) { if (str == null) throw new ArgumentNullException(nameof(str)); var ptr = NewStringPtr(str); var result = new java.lang.String(ProxyCtor.I); result.ProxyState = new JavaProxyState(ptr, GetJavaLangStringClass()); return result; }
public int this[java.lang.String s, int i] { get { last = s; return t[i]; } private set { last = s; t[i] = value; } }
public static java.lang.Exception ToJavaException(this Exception exception) { java.lang.Exception je; if (exception is IOException) { je = new java.io.IOException(); } else if (exception is EndOfStreamException) { je = new java.io.EOFException(); } else if (exception is ArgumentException) { je = new java.lang.IllegalArgumentException(); } else if (exception is UnauthorizedAccessException) { je = new java.lang.IllegalThreadStateException(); } else if (exception is FormatException) { je = new java.lang.NumberFormatException(); } else if (exception is NullReferenceException) { je = new java.lang.NullPointerException(); } else if (exception is ArithmeticException) { je = new java.lang.ArithmeticException(); } else if (exception is IndexOutOfRangeException) { je = new java.lang.ArrayIndexOutOfBoundsException(); } else if (exception is InvalidCastException) { je = new java.lang.ClassCastException(); } else { je = new java.lang.RuntimeException(); } java.lang.String message = new java.lang.String(); message.@this(new org.xmlvm._nArrayAdapter<char>(exception.ToString().ToCharArray())); je.@this(message); // TODO strack trace // TODO cause return je; }
public Time(java.lang.String arg0) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.text.format.Time.staticClass, global::android.text.format.Time._Time8012, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0)); Init(@__env, handle); }
private static void bootstrapSetClass(_nTIB tib) { // note we do not really need: // java.lang.String javaTypeStr = nativeTypeToJavaTypeName(aType); // because we will be called back soon to get the TIB. // so let's store a dummy: java.lang.String dummy = new java.lang.String(); dummy.@this(); bootstrapTable.Add(dummy, tib); java.lang.Class.forName(dummy); // this will set the class of the tib }
public static bool EndsWith(java.lang.String str, string sfx) { ThrowHelper.ThrowIfNull(sfx); return(str.endsWith(sfx)); }
public static Path get(String first) { return null; }
//implementation object TestDelegateImpl(int i, String s) { return s + i; }
internal virtual void pushName(String name) { if (m_nameLocked || name.Length == 0) return; m_namedPath.Add(name); }
/// <summary> /// All the really good stuff about finding where name exists goes here! /// /// If name is not null, then it implies that we use the existing /// m_current to find a member of m_current. If m_current is null /// Then we need to probe variable context points attempting to locate /// name. When we find a match we set the m_current to this context /// /// If name is null then we simply return the current context. /// </summary> internal virtual int determineContext(String name) { long id = Value_.UNKNOWN_ID; // have we already resolved our context... if (m_current != null) { Object value; if (m_current is Variable) value = ((Variable) m_current).getValue().getValueAsObject(); else if (m_current is Value) value = ((Value) m_current).getValueAsObject(); else value = m_current; try { id = ArithmeticExp.toLong(value); } catch (FormatException) { id = Value.UNKNOWN_ID; } } // nothing to go on, so we're done else if (name == null) { } // use the name and try and resolve where we are... else { // Each stack frame has a root variable under (BASE_ID-depth) // where depth is the depth of the stack. // So we query for our current stack depth and use that // as the context for our base computation int baseId = Value.BASE_ID - Depth; // obtain data about our current state Variable contextVar = null; Value contextVal = null; Value val = null; // look for 'name' starting from local scope if ((val = locateParentForNamed(baseId, name, false)) != null) { } // get the this pointer, then look for 'name' starting from that point else if (((contextVar = locateForNamed(baseId, "this", false)) != null) && (setName("this") && (val = locateParentForNamed(contextVar.getValue().Id, name, true)) != null)) //$NON-NLS-1$ { } // now try to see if 'name' exists off of _root else if (setName("_root") && (val = locateParentForNamed((int)Value_.ROOT_ID, name, true)) != null) //$NON-NLS-1$ { } // now try to see if 'name' exists off of _global else if (setName("_global") && (val = locateParentForNamed((int)Value_.GLOBAL_ID, name, true)) != null) //$NON-NLS-1$ { } // now try off of class level, if such a thing can be found else if (((contextVal = locate((int)Value_.GLOBAL_ID, CurrentPackageName, false)) != null) && (setName("_global." + CurrentPackageName) && (val = locateParentForNamed(contextVal.Id, name, true)) != null)) //$NON-NLS-1$ { } // if we found it then stake this as our context! if (val != null) { id = val.getId() pushName(name); lockName(); } } return (int) id; }
// // Trim // public static string Trim(java.lang.String str) => TrimWhiteSpace(str, true, true);
public static string TrimEnd(java.lang.String str) => TrimWhiteSpace(str, false, true);
public static bool IsNullOrEmpty(java.lang.String str) => (str == null || str.length() == 0);
public static char[] ToCharArray(java.lang.String str) => str.toCharArray();
public static java.lang.String toJava(System.String str) { global::org.xmlvm._nArrayAdapter<char> n = new global::org.xmlvm._nArrayAdapter<char>(str.ToCharArray()); java.lang.String s = new java.lang.String(); s.@this(n); return s; }
public override global::System.Object listStorageEntries() { IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication(); string[] arr = store.GetFileNames(); java.lang.String[] resp = new java.lang.String[arr.Length]; for (int iter = 0; iter < resp.Length; iter++) { resp[iter] = toJava(arr[iter]); } return new _nArrayAdapter<java.lang.Object>(resp); }
public override global::System.Object getHeaderFieldNames(global::java.lang.Object n1) { NetworkOperation n = (NetworkOperation)n1; int i = n.response.Headers.Count; java.lang.String[] arr = new java.lang.String[i]; _nArrayAdapter<global::System.Object> r = new _nArrayAdapter<global::System.Object>(arr); string[] keys = n.response.Headers.AllKeys; for (int iter = 0; iter < i; iter++) { arr[iter] = toJava(keys[iter]); } return r; }
public Formatter(java.io.OutputStream arg0, java.lang.String arg1) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.util.Formatter.staticClass, global::java.util.Formatter._Formatter15433, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1)); Init(@__env, handle); }
public static string TrimStart(java.lang.String str) => TrimWhiteSpace(str, true, false);
public Entry(java.lang.String arg0, long arg1, java.io.File arg2, int arg3) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.os.DropBoxManager.Entry.staticClass, global::android.os.DropBoxManager.Entry._Entry6389, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3)); Init(@__env, handle); }
// // Replace // public static string Replace(java.lang.String str, char oldChar, char newChar) => str.replace(oldChar, newChar);
// special code for #N support. I.e. naming a variable via an ID internal virtual long nameAsId(String name) { long id = Value.UNKNOWN_ID; try { if (name[0] == '#') id = Int64.Parse(name.Substring(1)); } catch (Exception) { id = Value.UNKNOWN_ID; } return id; }
// // Copy // public static string Copy(java.lang.String str) { ThrowHelper.ThrowIfNull(str); return(java.lang.String.valueOf(str.toCharArray())); }
// variant of locateParentForNamed, whereby we return the child variable internal virtual Variable locateForNamed(int id, String name, bool traverseProto) { Variable var = null; Value v = locateParentForNamed(id, name, traverseProto); if (v != null) { try { var = memberNamed(v.Id, name); } catch (NoSuchVariableException) { v = null; } } return var; }
public static string Intern(java.lang.String str) { ThrowHelper.ThrowIfNull(str); return(str.intern()); }
public override int charsWidth(global::java.lang.Object n1, global::org.xmlvm._nArrayAdapter<char> n2, int off, int len) { java.lang.String str = new java.lang.String(); str.@this(n2, off, len); return stringWidth(n1, str); }
public static string Format(System.IFormatProvider provider, java.lang.String format, object arg0, object arg1, object arg2) => Format(provider, format, new object[] { arg0, arg1, arg2 });
private void readFieldValues(global::java.lang.Object n1, global::java.io.ObjectStreamClass n2){ //XMLVM_BEGIN_WRAPPER[java.io.ObjectInputStream: void readFieldValues(java.lang.Object, java.io.ObjectStreamClass)] org.xmlvm._nElement _r0; _r0.i = 0; _r0.l = 0; _r0.f = 0; _r0.d = 0; global::System.Object _r0_o = null; org.xmlvm._nElement _r1; _r1.i = 0; _r1.l = 0; _r1.f = 0; _r1.d = 0; global::System.Object _r1_o = null; org.xmlvm._nElement _r2; _r2.i = 0; _r2.l = 0; _r2.f = 0; _r2.d = 0; global::System.Object _r2_o = null; org.xmlvm._nElement _r3; _r3.i = 0; _r3.l = 0; _r3.f = 0; _r3.d = 0; global::System.Object _r3_o = null; org.xmlvm._nElement _r4; _r4.i = 0; _r4.l = 0; _r4.f = 0; _r4.d = 0; global::System.Object _r4_o = null; org.xmlvm._nElement _r5; _r5.i = 0; _r5.l = 0; _r5.f = 0; _r5.d = 0; global::System.Object _r5_o = null; org.xmlvm._nElement _r6; _r6.i = 0; _r6.l = 0; _r6.f = 0; _r6.d = 0; global::System.Object _r6_o = null; org.xmlvm._nElement _r7; _r7.i = 0; _r7.l = 0; _r7.f = 0; _r7.d = 0; global::System.Object _r7_o = null; org.xmlvm._nElement _r8; _r8.i = 0; _r8.l = 0; _r8.f = 0; _r8.d = 0; org.xmlvm._nElement _r9; _r9.i = 0; _r9.l = 0; _r9.f = 0; _r9.d = 0; org.xmlvm._nElement _r10; _r10.i = 0; _r10.l = 0; _r10.f = 0; _r10.d = 0; org.xmlvm._nElement _r11; _r11.i = 0; _r11.l = 0; _r11.f = 0; _r11.d = 0; global::System.Object _r11_o = null; org.xmlvm._nElement _r12; _r12.i = 0; _r12.l = 0; _r12.f = 0; _r12.d = 0; global::System.Object _r12_o = null; org.xmlvm._nElement _r13; _r13.i = 0; _r13.l = 0; _r13.f = 0; _r13.d = 0; global::System.Object _r13_o = null; org.xmlvm._nExceptionAdapter _ex = null; _r11_o = this; _r12_o = n1; _r13_o = n2; _r0_o = ((java.io.ObjectStreamClass) _r13_o).getLoadFields(); if (_r0_o != null) goto label30; _r0.i = 0; _r0_o = new org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r0.i]); _r6_o = _r0_o; label10:; _r7_o = ((java.io.ObjectStreamClass) _r13_o).forClass(); if (_r7_o != null) goto label32; _r0.i = ((java.io.ObjectInputStream) _r11_o)._fmustResolve ? 1 : 0; if (_r0.i == 0) goto label32; _r0_o = new java.lang.ClassNotFoundException(); _r1_o = ((java.io.ObjectStreamClass) _r13_o).getName(); ((java.lang.ClassNotFoundException) _r0_o).@this((java.lang.String) _r1_o); throw new org.xmlvm._nExceptionAdapter((java.lang.ClassNotFoundException) _r0_o); label30:; _r6_o = _r0_o; goto label10; label32:; _r8.i = ((org.xmlvm._nIArray) _r6_o).Length; _r0.i = 0; _r9.i = _r0.i; label35:; if (_r9.i < _r8.i) goto label38; return; label38:; _r0_o = ((org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r9.i]; // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); _r2.l = ((java.io.ObjectStreamField) _r0_o).getFieldID((org.xmlvm.runtime.RedTypeMarker) _r1_o, (java.lang.Class) _r7_o); _r1.i = ((java.io.ObjectStreamField) _r0_o).isPrimitive() ? 1 : 0; if (_r1.i == 0) goto label228; try { _r1.i = ((java.io.ObjectStreamField) _r0_o).getTypeCode(); switch (_r1.i) { case 66: goto label80; case 67: goto label98; case 68: goto label116; case 70: goto label135; case 73: goto label153; case 74: goto label171; case 83: goto label190; case 90: goto label209; } _r1_o = new java.io.StreamCorruptedException(); _r2_o = new java.lang.String(); ((java.lang.String)_r2_o).@this(new org.xmlvm._nArrayAdapter<char>("luni.BF".ToCharArray())); _r0.i = ((java.io.ObjectStreamField) _r0_o).getTypeCode(); _r0_o = [email protected]((java.lang.String) _r2_o, (char) _r0.i); ((java.io.StreamCorruptedException) _r1_o).@this((java.lang.String) _r0_o); throw new org.xmlvm._nExceptionAdapter((java.io.StreamCorruptedException) _r1_o); } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label75:; try { _r0_o = _ex.getJavaException(); _ex = null; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label76:; try { _r0.i = _r9.i + 1; _r9.i = _r0.i; goto label35; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label80:; try { _r0_o = ((java.io.ObjectInputStream) _r11_o)._finput; _r0.i = ((java.io.DataInputStream) _r0_o).readByte(); _r4.l = -2L; _r1.i = _r2.l > _r4.l ? 1 : (_r2.l == _r4.l ? 0 : -1); if (_r1.i == 0) goto label76; // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setByte throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setByte"); goto label76; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label98:; try { _r0_o = ((java.io.ObjectInputStream) _r11_o)._finput; _r0.i = ((java.io.DataInputStream) _r0_o).readChar(); _r4.l = -2L; _r1.i = _r2.l > _r4.l ? 1 : (_r2.l == _r4.l ? 0 : -1); if (_r1.i == 0) goto label76; // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setChar throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setChar"); goto label76; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label116:; try { _r0_o = ((java.io.ObjectInputStream) _r11_o)._finput; _r4.d = ((java.io.DataInputStream) _r0_o).readDouble(); _r0.l = -2L; _r0.i = _r2.l > _r0.l ? 1 : (_r2.l == _r0.l ? 0 : -1); if (_r0.i == 0) goto label76; // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); _r1_o = _r12_o; // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setDouble throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setDouble"); goto label76; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label135:; try { _r0_o = ((java.io.ObjectInputStream) _r11_o)._finput; _r0.f = ((java.io.DataInputStream) _r0_o).readFloat(); _r4.l = -2L; _r1.i = _r2.l > _r4.l ? 1 : (_r2.l == _r4.l ? 0 : -1); if (_r1.i == 0) goto label76; // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setFloat throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setFloat"); goto label76; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label153:; try { _r0_o = ((java.io.ObjectInputStream) _r11_o)._finput; _r0.i = ((java.io.DataInputStream) _r0_o).readInt(); _r4.l = -2L; _r1.i = _r2.l > _r4.l ? 1 : (_r2.l == _r4.l ? 0 : -1); if (_r1.i == 0) goto label76; // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setInt throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setInt"); goto label76; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label171:; try { _r0_o = ((java.io.ObjectInputStream) _r11_o)._finput; _r4.l = ((java.io.DataInputStream) _r0_o).readLong(); _r0.l = -2L; _r0.i = _r2.l > _r0.l ? 1 : (_r2.l == _r0.l ? 0 : -1); if (_r0.i == 0) goto label76; // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); _r1_o = _r12_o; // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setLong throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setLong"); goto label76; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label190:; try { _r0_o = ((java.io.ObjectInputStream) _r11_o)._finput; _r0.i = ((java.io.DataInputStream) _r0_o).readShort(); _r4.l = -2L; _r1.i = _r2.l > _r4.l ? 1 : (_r2.l == _r4.l ? 0 : -1); if (_r1.i == 0) goto label76; // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setShort throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setShort"); goto label76; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch label209:; try { _r0_o = ((java.io.ObjectInputStream) _r11_o)._finput; _r0.i = ((java.io.DataInputStream) _r0_o).readBoolean() ? 1 : 0; _r4.l = -2L; _r1.i = _r2.l > _r4.l ? 1 : (_r2.l == _r4.l ? 0 : -1); if (_r1.i == 0) goto label76; // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setBoolean throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setBoolean"); } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label75; } throw ex; } // end catch goto label76; label228:; _r1_o = ((java.io.ObjectStreamField) _r0_o).getName(); _r4.i = 0; _r5.i = ((java.io.ObjectInputStream) _r11_o)._fmustResolve ? 1 : 0; if (_r5.i == 0) goto label243; if (_r0_o != null) goto label243; _r4.i = 1; _r5.i = 0; ((java.io.ObjectInputStream) _r11_o)._fmustResolve = 0!=_r5.i; label243:; if (_r0_o == null) goto label339; _r5.i = ((java.io.ObjectStreamField) _r0_o).isUnshared() ? 1 : 0; if (_r5.i == 0) goto label339; _r5_o = ((java.io.ObjectInputStream) _r11_o).readUnshared(); label255:; if (_r4.i == 0) goto label260; _r4.i = 1; ((java.io.ObjectInputStream) _r11_o)._fmustResolve = 0!=_r4.i; label260:; if (_r0_o == null) goto label76; if (_r5_o == null) goto label76; _r0_o = java.io.ObjectInputStream.getFieldClass((java.lang.Object) _r12_o, (java.lang.String) _r1_o); _r4_o = ((java.lang.Object) _r5_o).getClass(); if (_r0_o == null) goto label76; _r10.i = ((java.lang.Class) _r0_o).isAssignableFrom((java.lang.Class) _r4_o) ? 1 : 0; if (_r10.i != 0) goto label344; _r2_o = new java.lang.ClassCastException(); _r3_o = new java.lang.String(); ((java.lang.String)_r3_o).@this(new org.xmlvm._nArrayAdapter<char>("luni.C0".ToCharArray())); _r5.i = 3; _r5_o = new org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r5.i]); _r6.i = 0; _r0_o = ((java.lang.Class) _r0_o).toString(); ((org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o)[_r6.i] = _r0_o; _r0.i = 1; _r4_o = ((java.lang.Class) _r4_o).toString(); ((org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o)[_r0.i] = _r4_o; _r0.i = 2; _r4_o = new java.lang.StringBuilder(); _r6_o = ((java.io.ObjectStreamClass) _r13_o).getName(); _r6_o = java.lang.String.valueOf((java.lang.Object) _r6_o); ((java.lang.StringBuilder) _r4_o).@this((java.lang.String) _r6_o); _r6_o = new java.lang.String(); ((java.lang.String)_r6_o).@this(new org.xmlvm._nArrayAdapter<char>(".".ToCharArray())); _r4_o = ((java.lang.StringBuilder) _r4_o).append((java.lang.String) _r6_o); _r1_o = ((java.lang.StringBuilder) _r4_o).append((java.lang.String) _r1_o); _r1_o = ((java.lang.StringBuilder) _r1_o).toString(); ((org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o)[_r0.i] = _r1_o; _r0_o = [email protected]((java.lang.String) _r3_o, (org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o); ((java.lang.ClassCastException) _r2_o).@this((java.lang.String) _r0_o); throw new org.xmlvm._nExceptionAdapter((java.lang.ClassCastException) _r2_o); label339:; _r5_o = ((java.io.ObjectInputStream) _r11_o).readObject(); goto label255; label344:; _r0.l = -2L; _r0.i = _r2.l > _r0.l ? 1 : (_r2.l == _r0.l ? 0 : -1); if (_r0.i == 0) goto label76; try { // Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectInputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setObject throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor setObject"); } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label357; } throw ex; } // end catch goto label76; label357:; _r0_o = _ex.getJavaException(); _ex = null; goto label76; //XMLVM_END_WRAPPER[java.io.ObjectInputStream: void readFieldValues(java.lang.Object, java.io.ObjectStreamClass)] }
public static string Format(java.lang.String format, object arg0, object arg1, object arg2) => Format(null, format, new object[] { arg0, arg1, arg2 });
public static bool StartsWith(java.lang.String str, string pfx) { ThrowHelper.ThrowIfNull(pfx); return(str.startsWith(pfx)); }
public static string Format(java.lang.String format, object[] args) => Format(null, format, args);
public static global::android.graphics.Interpolator.Result valueOf(java.lang.String arg0) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; return(global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.graphics.Interpolator.Result.staticClass, global::android.graphics.Interpolator.Result._valueOf3314, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.graphics.Interpolator.Result); }
public static bool op_Inequality(java.lang.String strA, java.lang.String strB) => !Equals(strA, strB);
public InputSource(java.lang.String arg0) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(org.xml.sax.InputSource.staticClass, global::org.xml.sax.InputSource._InputSource16516, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0)); Init(@__env, handle); }
// // Equals // public static bool Equals(java.lang.String a, java.lang.String b) => (a == null) ? (b == null) : a.Equals(b);
public IOException(java.lang.String arg0, java.lang.Throwable arg1) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.io.IOException.staticClass, global::java.io.IOException._IOException12600, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1)); Init(@__env, handle); }
public static int IndexOfAny(java.lang.String str, char[] anyOf, int startIndex) => InternalIndexOfAny(str, anyOf, 1, /* index */ true, startIndex, /* count */ false, 0);
public string findClassName(String className) { string endOfClassName = "." + className; MemberList imports = ASContext.Context.GetVisibleExternalElements(); foreach (MemberModel member in imports) { if (member.Name == className || member.Name.EndsWithOrdinal(endOfClassName)) { // If our member is some global variable/constant, return it if ((member.Flags & (FlagType.Constant | FlagType.Variable)) > 0) return member.Name; // Feeding a member that is not actually a class will cause the debugger to crash if ((member.Flags & (FlagType.Class | FlagType.Interface)) == 0) return null; var lastPos = member.Type.LastIndexOf('.'); return lastPos > 0 ? member.Type.Substring(0, lastPos) + "::" + className : member.Type; } } return null; }
public static int LastIndexOfAny(java.lang.String str, char[] anyOf) => InternalIndexOfAny(str, anyOf, -1, /* index */ false, 0, /* count */ false, 0);
internal virtual bool setName(String name) { if (m_nameLocked) return true; m_namedPath.Clear(); pushName(name); return true; }
public static int LastIndexOfAny(java.lang.String str, char[] anyOf, int startIndex, int count) => InternalIndexOfAny(str, anyOf, -1, /* index */ true, startIndex, /* count */ true, count);
/// <summary> Using the given id as a parent find the member named /// name. /// </summary> /// <throws> NoSuchVariableException if id is UNKNOWN_ID </throws> internal virtual Variable memberNamed(long id, String name) { Variable v = null; Value parent = Session.getValue((int) id); if (parent == null) throw new NoSuchVariableException(name); /* got a variable now return the member if any */ v = parent.getMemberNamed(Session, name); return v; }
internal static String normalize(String firstTwoCharacters, object p) { throw new NotImplementedException(); }
/// <summary> /// Performs a search for a member with the given name using the /// given id as the parent variable. /// /// If a match is found then, we return the parent variable of /// the member that matched. The proto chain is optionally traversed. /// /// No exceptions are thrown /// </summary> internal virtual Value locateParentForNamed(long id, String name, bool traverseProto) { System.Text.StringBuilder sb = new System.Text.StringBuilder(); Variable var = null; Value val = null; try { var = memberNamed(id, name); // see if we need to traverse the proto chain while (var == null && traverseProto) { // first attempt to get __proto__, then resolve name Variable proto = memberNamed(id, "__proto__"); //$NON-NLS-1$ sb.Append("__proto__"); //$NON-NLS-1$ if (proto == null) traverseProto = false; else { id = proto.getValue().getId(); var = memberNamed(id, name); if (var == null) sb.Append('.'); } } } catch (NoSuchVariableException) { // don't worry about this one, it means variable with id couldn't be found } catch (NullReferenceException) { // probably no session } // what we really want is the parent not the child variable if (var != null) { pushName(sb.ToString()); val = Session.getValue(id); } return val; }
private object convertArray(string[] arr) { java.lang.String[] resp = new java.lang.String[arr.Length]; for (int iter = 0; iter < resp.Length; iter++) { resp[iter] = toJava(arr[iter]); } return new _nArrayAdapter<global::System.Object>(resp); }
/// <summary> Locates the member via a dotted name starting at the given id. /// It will traverse any and all proto chains if necc. to find the name. /// </summary> internal virtual Value locate(int startingId, String dottedName, bool traverseProto) { if (dottedName == null) return null; // first rip apart the dottedName SupportClass.Tokenizer names = new SupportClass.Tokenizer(dottedName, "."); //$NON-NLS-1$ Value val = Session.getValue(startingId); while (names.HasMoreTokens() && val != null) { val = locateForNamed(val.Id, names.NextToken(), traverseProto).getValue(); } return val; }
public static void TestRefParamS(ref String text) { text = text + "Ahoj"; }
// // IndexOf (char, ordinal) // public static int IndexOf(java.lang.String str, char ch) => str.indexOf(ch, 0);
public static java.lang.String toJava(char str) { if (str.ToString() == null) { return null; } global::org.xmlvm._nArrayAdapter<char> n = new global::org.xmlvm._nArrayAdapter<char>(str.ToString().ToCharArray()); java.lang.String s = new java.lang.String(); s.@this(n); return s; }
public static string InternalConstructor(char[] c) { var w = new java.lang.String(c); return (string)(object)w; }
// // LastIndexOf (char, ordinal) // public static int LastIndexOf(java.lang.String str, char ch) => str.lastIndexOf(ch);
public static int LastIndexOf(java.lang.String str, char ch, int idx) { ThrowIfBadIndex(str, idx); return(str.lastIndexOf(ch, idx)); }
// // // // throws java.lang.StringIndexOutOfBounds -> System.IndexOutOfRangeException public static char get_Chars(java.lang.String str, int idx) => str.charAt(idx);
public static void TestRefParamSa(ref String[] text) { }
public static string Substring(java.lang.String str, int idx) { ThrowIfBadIndex(str, idx); return(str.substring(idx)); }
public static void TestOutParamS(out String text) { text = "Ahoj"; }
public static string Substring(java.lang.String str, int idx, int len) { ThrowIfBadIndexOrCount(str, idx, len); return(str.substring(idx, idx + len)); }
public static java.lang.String toJavaString(global::System.String str) { java.lang.String result = new java.lang.String(); result.@this(new org.xmlvm._nArrayAdapter<char>(str.ToCharArray())); return result; }
private void writeFieldValues(global::java.lang.Object n1, global::java.io.ObjectStreamClass n2){ //XMLVM_BEGIN_WRAPPER[java.io.ObjectOutputStream: void writeFieldValues(java.lang.Object, java.io.ObjectStreamClass)] org.xmlvm._nElement _r0; _r0.i = 0; _r0.l = 0; _r0.f = 0; _r0.d = 0; global::System.Object _r0_o = null; org.xmlvm._nElement _r1; _r1.i = 0; _r1.l = 0; _r1.f = 0; _r1.d = 0; global::System.Object _r1_o = null; org.xmlvm._nElement _r2; _r2.i = 0; _r2.l = 0; _r2.f = 0; _r2.d = 0; org.xmlvm._nElement _r3; _r3.i = 0; _r3.l = 0; _r3.f = 0; _r3.d = 0; org.xmlvm._nElement _r4; _r4.i = 0; _r4.l = 0; _r4.f = 0; _r4.d = 0; global::System.Object _r4_o = null; org.xmlvm._nElement _r5; _r5.i = 0; _r5.l = 0; _r5.f = 0; _r5.d = 0; global::System.Object _r5_o = null; org.xmlvm._nElement _r6; _r6.i = 0; _r6.l = 0; _r6.f = 0; _r6.d = 0; org.xmlvm._nElement _r7; _r7.i = 0; _r7.l = 0; _r7.f = 0; _r7.d = 0; org.xmlvm._nElement _r8; _r8.i = 0; _r8.l = 0; _r8.f = 0; _r8.d = 0; global::System.Object _r8_o = null; org.xmlvm._nElement _r9; _r9.i = 0; _r9.l = 0; _r9.f = 0; _r9.d = 0; global::System.Object _r9_o = null; org.xmlvm._nElement _r10; _r10.i = 0; _r10.l = 0; _r10.f = 0; _r10.d = 0; global::System.Object _r10_o = null; org.xmlvm._nExceptionAdapter _ex = null; _r8_o = this; _r9_o = n1; _r10_o = n2; _r0_o = ((java.io.ObjectStreamClass) _r10_o).fields(); _r1_o = ((java.io.ObjectStreamClass) _r10_o).forClass(); _r2.i = ((org.xmlvm._nIArray) _r0_o).Length; _r3.i = 0; label10:; if (_r3.i < _r2.i) goto label13; return; label13:; _r4_o = ((org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o)[_r3.i]; try { // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); _r5.l = ((java.io.ObjectStreamField) _r4_o).getFieldID((org.xmlvm.runtime.RedTypeMarker) _r5_o, (java.lang.Class) _r1_o); _r7.i = ((java.io.ObjectStreamField) _r4_o).isPrimitive() ? 1 : 0; if (_r7.i == 0) goto label159; _r7.i = ((java.io.ObjectStreamField) _r4_o).getTypeCode(); switch (_r7.i) { case 66: goto label61; case 67: goto label75; case 68: goto label87; case 70: goto label99; case 73: goto label111; case 74: goto label123; case 83: goto label135; case 90: goto label147; } _r0_o = new java.io.IOException(); _r1_o = new java.lang.String(); ((java.lang.String)_r1_o).@this(new org.xmlvm._nArrayAdapter<char>("luni.BF".ToCharArray())); _r2.i = ((java.io.ObjectStreamField) _r4_o).getTypeCode(); _r1_o = [email protected]((java.lang.String) _r1_o, (char) _r2.i); ((java.io.IOException) _r0_o).@this((java.lang.String) _r1_o); throw new org.xmlvm._nExceptionAdapter((java.io.IOException) _r0_o); } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label50:; _r0_o = _ex.getJavaException(); _ex = null; _r0_o = new java.io.InvalidClassException(); _r1_o = ((java.io.ObjectStreamClass) _r10_o).getName(); ((java.io.InvalidClassException) _r0_o).@this((java.lang.String) _r1_o); throw new org.xmlvm._nExceptionAdapter((java.io.InvalidClassException) _r0_o); label61:; try { _r4_o = ((java.io.ObjectOutputStream) _r8_o)._foutput; // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getByte throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getByte"); ((java.io.DataOutputStream) _r4_o).writeByte((int) _r5.i); } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label72:; try { _r3.i = _r3.i + 1; goto label10; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label75:; try { _r4_o = ((java.io.ObjectOutputStream) _r8_o)._foutput; // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getChar throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getChar"); ((java.io.DataOutputStream) _r4_o).writeChar((int) _r5.i); goto label72; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label87:; try { _r4_o = ((java.io.ObjectOutputStream) _r8_o)._foutput; // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getDouble throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getDouble"); ((java.io.DataOutputStream) _r4_o).writeDouble((double) _r5.d); goto label72; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label99:; try { _r4_o = ((java.io.ObjectOutputStream) _r8_o)._foutput; // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getFloat throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getFloat"); ((java.io.DataOutputStream) _r4_o).writeFloat((float) _r5.f); goto label72; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label111:; try { _r4_o = ((java.io.ObjectOutputStream) _r8_o)._foutput; // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getInt throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getInt"); ((java.io.DataOutputStream) _r4_o).writeInt((int) _r5.i); goto label72; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label123:; try { _r4_o = ((java.io.ObjectOutputStream) _r8_o)._foutput; // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getLong throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getLong"); ((java.io.DataOutputStream) _r4_o).writeLong((long) _r5.l); goto label72; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label135:; try { _r4_o = ((java.io.ObjectOutputStream) _r8_o)._foutput; // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getShort throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getShort"); ((java.io.DataOutputStream) _r4_o).writeShort((int) _r5.i); goto label72; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label147:; try { _r4_o = ((java.io.ObjectOutputStream) _r8_o)._foutput; // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getBoolean throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getBoolean"); ((java.io.DataOutputStream) _r4_o).writeBoolean(0!=_r5.i); goto label72; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label159:; try { // Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor throw new org.xmlvm._nNotYetImplementedException("Red class access removed: java.io.ObjectOutputStream,org.apache.harmony.misc.accessors.ObjectAccessor accessor"); // Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getObject throw new org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.ObjectAccessor getObject"); _r4.i = ((java.io.ObjectStreamField) _r4_o).isUnshared() ? 1 : 0; if (_r4.i == 0) goto label175; ((java.io.ObjectOutputStream) _r8_o).writeUnshared((java.lang.Object) _r5_o); goto label72; } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch label175:; try { ((java.io.ObjectOutputStream) _r8_o).writeObject((java.lang.Object) _r5_o); } catch (org.xmlvm._nExceptionAdapter ex) { global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is java.lang.NoSuchFieldError) { _ex = ex; goto label50; } throw ex; } // end catch goto label72; //XMLVM_END_WRAPPER[java.io.ObjectOutputStream: void writeFieldValues(java.lang.Object, java.io.ObjectStreamClass)] }