Ejemplo n.º 1
0
public static global::System.Object format(global::java.util.Locale n1, global::java.lang.String n2, global::org.xmlvm._nArrayAdapter<global::System.Object> n3){
//XMLVM_BEGIN_WRAPPER[java.lang.String: java.lang.String format(java.util.Locale, java.lang.String, java.lang.Object[])]
    global::org.xmlvm._nElement _r0;
    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::System.Object _r4_o = null;
    global::System.Object _r5_o = null;
    global::System.Object _r6_o = null;
    _r4_o = n1;
    _r5_o = n2;
    _r6_o = n3;
    if (_r5_o != null) goto label10;
    _r2_o = new global::java.lang.NullPointerException();
    // Value=null format argument
    _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)110)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116))}));
    ((global::java.lang.NullPointerException) _r2_o).@this((global::java.lang.String) _r3_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r2_o);
    label10:;
    _r2.i = ((global::java.lang.String) _r5_o).length();
    if (_r6_o != null) goto label38;
    _r3.i = 0;
    label17:;
    _r0.i = _r2.i + _r3.i;
    _r1_o = new global::java.util.Formatter();
    _r2_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r2_o).@this((int) _r0.i);
    ((global::java.util.Formatter) _r1_o).@this((global::java.lang.Appendable) _r2_o, (global::java.util.Locale) _r4_o);
    _r2_o = ((global::java.util.Formatter) _r1_o).format((global::java.lang.String) _r5_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o);
    _r2_o = ((global::java.util.Formatter) _r2_o).toString();
    return (global::java.lang.String) _r2_o;
    label38:;
    _r3.i = ((global::org.xmlvm._nIArray) _r6_o).Length;
    _r3.i = _r3.i * 10;
    goto label17;
//XMLVM_END_WRAPPER[java.lang.String: java.lang.String format(java.util.Locale, java.lang.String, java.lang.Object[])]
}
Ejemplo n.º 2
0
public virtual global::System.Object format(global::java.util.Locale n1, global::java.lang.String n2, global::org.xmlvm._nArrayAdapter<global::System.Object> n3){
//XMLVM_BEGIN_WRAPPER[java.io.PrintStream: java.io.PrintStream format(java.util.Locale, java.lang.String, java.lang.Object[])]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    _r1_o = this;
    _r2_o = n1;
    _r3_o = n2;
    _r4_o = n3;
    if (_r3_o != null) goto label8;
    _r0_o = new global::java.lang.NullPointerException();
    ((global::java.lang.NullPointerException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r0_o);
    label8:;
    _r0_o = new global::java.util.Formatter();
    ((global::java.util.Formatter) _r0_o).@this((global::java.lang.Appendable) _r1_o, (global::java.util.Locale) _r2_o);
    ((global::java.util.Formatter) _r0_o).format((global::java.lang.String) _r3_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r4_o);
    return (global::java.io.PrintStream) _r1_o;
//XMLVM_END_WRAPPER[java.io.PrintStream: java.io.PrintStream format(java.util.Locale, java.lang.String, java.lang.Object[])]
}
Ejemplo n.º 3
0
public virtual global::System.Object format(global::java.util.Locale n1, global::java.lang.String n2, global::org.xmlvm._nArrayAdapter<global::System.Object> n3){
//XMLVM_BEGIN_WRAPPER[java.io.PrintWriter: java.io.PrintWriter format(java.util.Locale, java.lang.String, java.lang.Object[])]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    global::System.Object _r5_o = null;
    _r2_o = this;
    _r3_o = n1;
    _r4_o = n2;
    _r5_o = n3;
    if (_r4_o != null) goto label14;
    _r0_o = new global::java.lang.NullPointerException();
    // Value=luni.D2
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_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) 68)), unchecked((char) unchecked((uint) 50))}));
    _r1_o = global::[email protected]((global::java.lang.String) _r1_o);
    ((global::java.lang.NullPointerException) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r0_o);
    label14:;
    _r0_o = new global::java.util.Formatter();
    ((global::java.util.Formatter) _r0_o).@this((global::java.lang.Appendable) _r2_o, (global::java.util.Locale) _r3_o);
    ((global::java.util.Formatter) _r0_o).format((global::java.lang.String) _r4_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o);
    _r0.i = ((global::java.io.PrintWriter) _r2_o)._fautoflush ? 1 : 0;
    if (_r0.i == 0) goto label29;
    ((global::java.io.PrintWriter) _r2_o).flush();
    label29:;
    return (global::java.io.PrintWriter) _r2_o;
//XMLVM_END_WRAPPER[java.io.PrintWriter: java.io.PrintWriter format(java.util.Locale, java.lang.String, java.lang.Object[])]
}