Beispiel #1
0
new private void @this(){
//XMLVM_BEGIN_WRAPPER[java.lang.ThreadGroup: void <init>()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    _r2_o = this;
    _r1_o = null;
    ((global::java.lang.Object) _r2_o).@this();
    _r0.i = 10;
    ((global::java.lang.ThreadGroup) _r2_o)._fmaxPriority = _r0.i;
    _r0.i = 5;
    _r0_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r0.i]);
    ((global::java.lang.ThreadGroup) _r2_o)._fchildrenThreads = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    _r0.i = 3;
    _r0_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r0.i]);
    ((global::java.lang.ThreadGroup) _r2_o)._fchildrenGroups = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    _r0_o = new global::java.lang.ThreadGroup_2ChildrenGroupsLock();
    ((global::java.lang.ThreadGroup_2ChildrenGroupsLock) _r0_o).@this((global::java.lang.ThreadGroup) _r2_o, (global::java.lang.ThreadGroup_21) _r1_o);
    ((global::java.lang.ThreadGroup) _r2_o)._fchildrenGroupsLock = (global::java.lang.Object) _r0_o;
    _r0_o = new global::java.lang.ThreadGroup_2ChildrenThreadsLock();
    ((global::java.lang.ThreadGroup_2ChildrenThreadsLock) _r0_o).@this((global::java.lang.ThreadGroup) _r2_o, (global::java.lang.ThreadGroup_21) _r1_o);
    ((global::java.lang.ThreadGroup) _r2_o)._fchildrenThreadsLock = (global::java.lang.Object) _r0_o;
    // Value=system
    _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)115)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 109))}));
    ((global::java.lang.ThreadGroup) _r2_o)._fname = (global::java.lang.String) _r0_o;
    return;
//XMLVM_END_WRAPPER[java.lang.ThreadGroup: void <init>()]
}
Beispiel #2
0
public void @this(global::java.lang.ThreadGroup n1, global::java.lang.String n2){
//XMLVM_BEGIN_WRAPPER[java.lang.ThreadGroup: void <init>(java.lang.ThreadGroup, java.lang.String)]
    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;
    _r2_o = this;
    _r3_o = n1;
    _r4_o = n2;
    _r1_o = null;
    ((global::java.lang.Object) _r2_o).@this();
    _r0.i = 10;
    ((global::java.lang.ThreadGroup) _r2_o)._fmaxPriority = _r0.i;
    _r0.i = 5;
    _r0_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r0.i]);
    ((global::java.lang.ThreadGroup) _r2_o)._fchildrenThreads = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    _r0.i = 3;
    _r0_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r0.i]);
    ((global::java.lang.ThreadGroup) _r2_o)._fchildrenGroups = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    _r0_o = new global::java.lang.ThreadGroup_2ChildrenGroupsLock();
    ((global::java.lang.ThreadGroup_2ChildrenGroupsLock) _r0_o).@this((global::java.lang.ThreadGroup) _r2_o, (global::java.lang.ThreadGroup_21) _r1_o);
    ((global::java.lang.ThreadGroup) _r2_o)._fchildrenGroupsLock = (global::java.lang.Object) _r0_o;
    _r0_o = new global::java.lang.ThreadGroup_2ChildrenThreadsLock();
    ((global::java.lang.ThreadGroup_2ChildrenThreadsLock) _r0_o).@this((global::java.lang.ThreadGroup) _r2_o, (global::java.lang.ThreadGroup_21) _r1_o);
    ((global::java.lang.ThreadGroup) _r2_o)._fchildrenThreadsLock = (global::java.lang.Object) _r0_o;
    _r0_o = global::java.lang.Thread.currentThread();
    if (_r0_o == null) goto label49;
    if (_r3_o != null) goto label46;
    _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);
    label46:;
    ((global::java.lang.ThreadGroup) _r3_o).checkAccess();
    label49:;
    ((global::java.lang.ThreadGroup) _r2_o)._fname = (global::java.lang.String) _r4_o;
    ((global::java.lang.ThreadGroup) _r2_o).setParent((global::java.lang.ThreadGroup) _r3_o);
    if (_r3_o == null) goto label73;
    _r0.i = ((global::java.lang.ThreadGroup) _r3_o).getMaxPriority();
    ((global::java.lang.ThreadGroup) _r2_o).setMaxPriority((int) _r0.i);
    _r0.i = ((global::java.lang.ThreadGroup) _r3_o).isDaemon() ? 1 : 0;
    if (_r0.i == 0) goto label73;
    _r0.i = 1;
    ((global::java.lang.ThreadGroup) _r2_o).setDaemon(0!=_r0.i);
    label73:;
    return;
//XMLVM_END_WRAPPER[java.lang.ThreadGroup: void <init>(java.lang.ThreadGroup, java.lang.String)]
}