public override void add(global::java.security.Permission n1){ //XMLVM_BEGIN_WRAPPER[java.util.PropertyPermissionCollection: void add(java.security.Permission)] 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; _r3_o = this; _r4_o = n1; _r0.i = ((global::java.util.PropertyPermissionCollection) _r3_o).isReadOnly() ? 1 : 0; if (_r0.i != 0) goto label55; _r0_o = ((global::java.util.PropertyPermissionCollection) _r3_o)._fpermissions; _r1_o = ((global::java.security.Permission) _r4_o).getName(); _r0_o = ((global::java.util.Hashtable) _r0_o).put((global::java.lang.Object) _r1_o, (global::java.lang.Object) _r4_o); if (_r0_o == null) goto label54; _r0_o = ((global::java.security.Permission) _r0_o).getActions(); _r1_o = ((global::java.security.Permission) _r4_o).getActions(); _r0.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0; if (_r0.i != 0) goto label54; _r0_o = new global::java.util.PropertyPermission(); _r1_o = ((global::java.security.Permission) _r4_o).getName(); // Value=read,write _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 44)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101))})); ((global::java.util.PropertyPermission) _r0_o).@this((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o); _r1_o = ((global::java.util.PropertyPermissionCollection) _r3_o)._fpermissions; _r2_o = ((global::java.security.Permission) _r4_o).getName(); ((global::java.util.Hashtable) _r1_o).put((global::java.lang.Object) _r2_o, (global::java.lang.Object) _r0_o); label54:; return; label55:; _r0_o = new global::java.lang.IllegalStateException(); ((global::java.lang.IllegalStateException) _r0_o).@this(); throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalStateException) _r0_o); //XMLVM_END_WRAPPER[java.util.PropertyPermissionCollection: void add(java.security.Permission)] }
public static global::System.Object clearProperty(global::java.lang.String n1){ //XMLVM_BEGIN_WRAPPER[java.lang.System: java.lang.String clearProperty(java.lang.String)] global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::System.Object _r2_o = null; global::System.Object _r3_o = null; _r3_o = n1; if (_r3_o != null) goto label8; _r1_o = new global::java.lang.NullPointerException(); ((global::java.lang.NullPointerException) _r1_o).@this(); throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r1_o); label8:; _r1.i = ((global::java.lang.String) _r3_o).length(); if (_r1.i != 0) goto label20; _r1_o = new global::java.lang.IllegalArgumentException(); ((global::java.lang.IllegalArgumentException) _r1_o).@this(); throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r1_o); label20:; _r0_o = global::java.lang.System.getSecurityManager(); if (_r0_o == null) goto label36; _r1_o = new global::java.util.PropertyPermission(); // Value=write _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)119)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101))})); ((global::java.util.PropertyPermission) _r1_o).@this((global::java.lang.String) _r3_o, (global::java.lang.String) _r2_o); ((global::java.lang.SecurityManager) _r0_o).checkPermission((global::java.security.Permission) _r1_o); label36:; _r1_o = global::java.lang.System._fsystemProperties; _r3_o = ((global::java.util.Properties) _r1_o).remove((global::java.lang.Object) _r3_o); return (global::java.lang.String) _r3_o; //XMLVM_END_WRAPPER[java.lang.System: java.lang.String clearProperty(java.lang.String)] }
public virtual void checkPropertyAccess(global::java.lang.String n1){ //XMLVM_BEGIN_WRAPPER[java.lang.SecurityManager: void checkPropertyAccess(java.lang.String)] global::System.Object _r0_o = null; global::System.Object _r1_o = null; global::System.Object _r2_o = null; global::System.Object _r3_o = null; _r2_o = this; _r3_o = n1; _r0_o = new global::java.util.PropertyPermission(); // Value=read _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)114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100))})); ((global::java.util.PropertyPermission) _r0_o).@this((global::java.lang.String) _r3_o, (global::java.lang.String) _r1_o); ((global::java.lang.SecurityManager) _r2_o).checkPermission((global::java.security.Permission) _r0_o); return; //XMLVM_END_WRAPPER[java.lang.SecurityManager: void checkPropertyAccess(java.lang.String)] }
new public static void @static(){ //XMLVM_BEGIN_WRAPPER[java.lang.SecurityManager: void <clinit>()] global::System.Object _r0_o = null; global::System.Object _r1_o = null; global::System.Object _r2_o = null; _r0_o = new global::java.util.PropertyPermission(); // Value=* _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)42))})); // Value=read,write _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 44)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101))})); ((global::java.util.PropertyPermission) _r0_o).@this((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o); global::java.lang.SecurityManager._fREAD_1WRITE_1ALL_1PROPERTIES_1PERMISSION = (global::java.util.PropertyPermission) _r0_o; return; //XMLVM_END_WRAPPER[java.lang.SecurityManager: void <clinit>()] }
public override bool implies(global::java.security.Permission n1){ //XMLVM_BEGIN_WRAPPER[java.util.PropertyPermissionCollection: boolean implies(java.security.Permission)] 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; global::System.Object _r4_o = null; global::System.Object _r5_o = null; _r4_o = this; _r5_o = n1; _r3.i = 1; _r1_o = ((global::java.util.PropertyPermissionCollection) _r4_o).elements(); label5:; _r0.i = ((global::java.util.Enumeration) _r1_o).hasMoreElements() ? 1 : 0; if (_r0.i != 0) goto label59; _r0_o = ((global::java.security.Permission) _r5_o).getActions(); // Value=read,write _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)114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 44)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101))})); _r0.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0; if (_r0.i == 0) goto label73; _r0_o = new global::java.util.PropertyPermission(); _r1_o = ((global::java.security.Permission) _r5_o).getName(); // Value=read _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100))})); ((global::java.util.PropertyPermission) _r0_o).@this((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o); _r0.i = ((global::java.util.PropertyPermissionCollection) _r4_o).implies((global::java.security.Permission) _r0_o) ? 1 : 0; if (_r0.i == 0) goto label73; _r0_o = new global::java.util.PropertyPermission(); _r1_o = ((global::java.security.Permission) _r5_o).getName(); // Value=write _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)119)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101))})); ((global::java.util.PropertyPermission) _r0_o).@this((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o); _r0.i = ((global::java.util.PropertyPermissionCollection) _r4_o).implies((global::java.security.Permission) _r0_o) ? 1 : 0; if (_r0.i == 0) goto label73; _r0.i = _r3.i; label58:; return _r0.i!=0; label59:; _r0_o = ((global::java.util.Enumeration) _r1_o).nextElement(); _r0.i = ((global::java.security.Permission) _r0_o).implies((global::java.security.Permission) _r5_o) ? 1 : 0; if (_r0.i == 0) goto label5; _r0.i = _r3.i; goto label58; label73:; _r0.i = 0; goto label58; //XMLVM_END_WRAPPER[java.util.PropertyPermissionCollection: boolean implies(java.security.Permission)] }