Beispiel #1
0
public void @this(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.BitSet: void <init>(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    _r4_o = this;
    _r5.i = n1;
    _r3.i = 1;
    _r2.i = 0;
    ((global::java.lang.Object) _r4_o).@this();
    if (_r5.i >= 0) goto label13;
    _r0_o = new global::java.lang.NegativeArraySizeException();
    ((global::java.lang.NegativeArraySizeException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NegativeArraySizeException) _r0_o);
    label13:;
    _r0.i = _r5.i >> (0x1f & 6);
    _r1.i = _r5.i & 63;
    if (_r1.i <= 0) goto label30;
    _r1.i = _r3.i;
    label20:;
    _r0.i = _r0.i + _r1.i;
    _r0_o = new global::org.xmlvm._nArrayAdapter<long>(new long[_r0.i]);
    ((global::java.util.BitSet) _r4_o)._fbits = (global::org.xmlvm._nArrayAdapter<long>) _r0_o;
    ((global::java.util.BitSet) _r4_o)._factualArrayLength = _r2.i;
    ((global::java.util.BitSet) _r4_o)._fisLengthActual = 0!=_r3.i;
    return;
    label30:;
    _r1.i = _r2.i;
    goto label20;
//XMLVM_END_WRAPPER[java.util.BitSet: void <init>(int)]
}
public void @this(int n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.util.AbstractStringBuilder: void <init>(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r1_o = this;
    _r2.i = n1;
    ((global::java.lang.Object) _r1_o).@this();
    if (_r2.i >= 0) goto label11;
    _r0_o = new global::java.lang.NegativeArraySizeException();
    ((global::java.lang.NegativeArraySizeException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NegativeArraySizeException) _r0_o);
    label11:;
    _r0_o = new global::org.xmlvm._nArrayAdapter<char>(new char[_r2.i]);
    ((global::com.codename1.util.AbstractStringBuilder) _r1_o)._fvalue = (global::org.xmlvm._nArrayAdapter<char>) _r0_o;
    return;
//XMLVM_END_WRAPPER[com.codename1.util.AbstractStringBuilder: void <init>(int)]
}
Beispiel #3
0
public static global::System.Object copyOf(global::org.xmlvm._nArrayAdapter<global::System.Object> n1, int n2, global::java.lang.Class n3){
//XMLVM_BEGIN_WRAPPER[java.util.Arrays: java.lang.Object[] copyOf(java.lang.Object[], int, java.lang.Class)]
    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 _r3_o = null;
    _r1_o = n1;
    _r2.i = n2;
    _r3_o = n3;
    if (_r2.i < 0) goto label8;
    _r0.i = 0;
    _r0_o = global::java.util.Arrays.copyOfRange((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o, (int) _r0.i, (int) _r2.i, (global::java.lang.Class) _r3_o);
    return (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    label8:;
    _r0_o = new global::java.lang.NegativeArraySizeException();
    ((global::java.lang.NegativeArraySizeException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NegativeArraySizeException) _r0_o);
//XMLVM_END_WRAPPER[java.util.Arrays: java.lang.Object[] copyOf(java.lang.Object[], int, java.lang.Class)]
}