コード例 #1
0
public override void addRequestProperty(global::java.lang.String n1, global::java.lang.String n2){
//XMLVM_BEGIN_WRAPPER[org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl: void addRequestProperty(java.lang.String, 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;
    _r0.i = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r2_o)._fconnected ? 1 : 0;
    if (_r0.i == 0) goto label16;
    _r0_o = new global::java.lang.IllegalAccessError();
    // Value=luni.2C
    _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) 50)), unchecked((char) unchecked((uint) 67))}));
    _r1_o = global::[email protected]((global::java.lang.String) _r1_o);
    ((global::java.lang.IllegalAccessError) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalAccessError) _r0_o);
    label16:;
    if (_r3_o != null) goto label24;
    _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);
    label24:;
    _r0_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r2_o)._freqHeader;
    ((global::[email protected]) _r0_o).add((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    return;
//XMLVM_END_WRAPPER[org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl: void addRequestProperty(java.lang.String, java.lang.String)]
}
コード例 #2
0
public virtual void setDefaultUseCaches(bool n1){
//XMLVM_BEGIN_WRAPPER[java.net.URLConnection: void setDefaultUseCaches(boolean)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    _r2_o = this;
    _r3.i = n1 ? 1 : 0;
    _r0.i = ((global::java.net.URLConnection) _r2_o)._fconnected ? 1 : 0;
    if (_r0.i == 0) goto label16;
    _r0_o = new global::java.lang.IllegalAccessError();
    // Value=luni.5E
    _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) 53)), unchecked((char) unchecked((uint) 69))}));
    _r1_o = global::[email protected]((global::java.lang.String) _r1_o);
    ((global::java.lang.IllegalAccessError) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalAccessError) _r0_o);
    label16:;
    global::java.net.URLConnection._fdefaultUseCaches = 0!=_r3.i;
    return;
//XMLVM_END_WRAPPER[java.net.URLConnection: void setDefaultUseCaches(boolean)]
}