// Automatically generated by xmlvm2csharp (do not edit).

using org.xmlvm;
namespace java.util.regex {
public class MatchResultImpl: global::java.lang.Object,global::java.util.regex.MatchResult {
private global::org.xmlvm._nArrayAdapter<int> _fgroupBounds;

private global::org.xmlvm._nArrayAdapter<int> _fconsumers;

private global::org.xmlvm._nArrayAdapter<int> _fcompQuantCounters;

private global::java.lang.CharSequence _fstring;

private int _fgroupCount;

private bool _fvalid;

private int _fleftBound;

private int _frightBound;

public int _fstartIndex;

private bool _ftransparentBounds;

private bool _fanchoringBounds;

public bool _fhitEnd;

public bool _frequireEnd;

public int _fpreviousMatch;

private int _fmode;

public void @this(global::java.lang.CharSequence n1, int n2, int n3, int n4, int n5, int n6){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void <init>(java.lang.CharSequence, int, int, int, int, int)]
    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;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    global::org.xmlvm._nElement _r7;
    global::org.xmlvm._nElement _r8;
    global::org.xmlvm._nElement _r9;
    _r3_o = this;
    _r4_o = n1;
    _r5.i = n2;
    _r6.i = n3;
    _r7.i = n4;
    _r8.i = n5;
    _r9.i = n6;
    _r2.i = -1;
    _r1_o = null;
    _r0.i = 0;
    ((global::java.lang.Object) _r3_o).@this();
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fgroupBounds = (global::org.xmlvm._nArrayAdapter<int>) _r1_o;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fconsumers = (global::org.xmlvm._nArrayAdapter<int>) _r1_o;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fcompQuantCounters = (global::org.xmlvm._nArrayAdapter<int>) _r1_o;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fstring = (global::java.lang.CharSequence) _r1_o;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fgroupCount = _r0.i;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fvalid = 0!=_r0.i;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._ftransparentBounds = 0!=_r0.i;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fanchoringBounds = 0!=_r0.i;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fhitEnd = 0!=_r0.i;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._frequireEnd = 0!=_r0.i;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fpreviousMatch = _r2.i;
    _r0.i = _r7.i + 1;
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fgroupCount = _r0.i;
    _r0.i = _r0.i * 2;
    _r0_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r0.i]);
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fgroupBounds = (global::org.xmlvm._nArrayAdapter<int>) _r0_o;
    _r0_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r9.i]);
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fconsumers = (global::org.xmlvm._nArrayAdapter<int>) _r0_o;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r3_o)._fconsumers;
    global::java.util.Arrays.fill((global::org.xmlvm._nArrayAdapter<int>) _r0_o, (int) _r2.i);
    if (_r8.i <= 0) goto label53;
    _r0_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r8.i]);
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fcompQuantCounters = (global::org.xmlvm._nArrayAdapter<int>) _r0_o;
    label53:;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r3_o)._fgroupBounds;
    global::java.util.Arrays.fill((global::org.xmlvm._nArrayAdapter<int>) _r0_o, (int) _r2.i);
    ((global::java.util.regex.MatchResultImpl) _r3_o).reset((global::java.lang.CharSequence) _r4_o, (int) _r5.i, (int) _r6.i);
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void <init>(java.lang.CharSequence, int, int, int, int, int)]
}

public virtual global::System.Object cloneImpl(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: java.util.regex.MatchResult cloneImpl()]
    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._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r7_o = null;
    _r7_o = this;
    _r5.i = 0;
    _r0_o = new global::java.util.regex.MatchResultImpl();
    _r1_o = ((global::java.util.regex.MatchResultImpl) _r7_o)._fstring;
    _r2.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._fleftBound;
    _r3.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._frightBound;
    _r4.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._fgroupCount;
    _r6.i = 1;
    _r4.i = _r4.i - _r6.i;
    _r6.i = _r5.i;
    ((global::java.util.regex.MatchResultImpl) _r0_o).@this((global::java.lang.CharSequence) _r1_o, (int) _r2.i, (int) _r3.i, (int) _r4.i, (int) _r5.i, (int) _r6.i);
    _r1.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._fvalid ? 1 : 0;
    ((global::java.util.regex.MatchResultImpl) _r0_o)._fvalid = 0!=_r1.i;
    _r1.i = ((global::java.util.regex.MatchResultImpl) _r7_o)._fvalid ? 1 : 0;
    if (_r1.i == 0) goto label35;
    _r1_o = ((global::java.util.regex.MatchResultImpl) _r7_o)._fgroupBounds;
    _r2_o = ((global::java.util.regex.MatchResultImpl) _r0_o)._fgroupBounds;
    _r3_o = ((global::java.util.regex.MatchResultImpl) _r7_o)._fgroupBounds;
    _r3.i = ((global::org.xmlvm._nIArray) _r3_o).Length;
    global::java.lang.System.arraycopy((global::java.lang.Object) _r1_o, (int) _r5.i, (global::java.lang.Object) _r2_o, (int) _r5.i, (int) _r3.i);
    label35:;
    return (global::java.util.regex.MatchResult) _r0_o;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: java.util.regex.MatchResult cloneImpl()]
}

public virtual void setConsumed(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void setConsumed(int, int)]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    _r1_o = this;
    _r2.i = n1;
    _r3.i = n2;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r1_o)._fconsumers;
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r2.i] = _r3.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void setConsumed(int, int)]
}

public virtual int getConsumed(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int getConsumed(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    _r1_o = this;
    _r2.i = n1;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r1_o)._fconsumers;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r2.i];
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int getConsumed(int)]
}

public virtual int end(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int end()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = 0;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o).end((int) _r0.i);
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int end()]
}

public virtual int end(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int end(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    _r2_o = this;
    _r3.i = n1;
    ((global::java.util.regex.MatchResultImpl) _r2_o).checkGroup((int) _r3.i);
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupBounds;
    _r1.i = _r3.i * 2;
    _r1.i = _r1.i + 1;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i];
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int end(int)]
}

public virtual void setStart(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void setStart(int, int)]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::org.xmlvm._nElement _r4;
    _r2_o = this;
    _r3.i = n1;
    _r4.i = n2;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupBounds;
    _r1.i = _r3.i * 2;
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i] = _r4.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void setStart(int, int)]
}

public virtual void setEnd(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void setEnd(int, int)]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::org.xmlvm._nElement _r4;
    _r2_o = this;
    _r3.i = n1;
    _r4.i = n2;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupBounds;
    _r1.i = _r3.i * 2;
    _r1.i = _r1.i + 1;
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i] = _r4.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void setEnd(int, int)]
}

public virtual int getStart(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int getStart(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    _r2_o = this;
    _r3.i = n1;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupBounds;
    _r1.i = _r3.i * 2;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i];
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int getStart(int)]
}

public virtual int getEnd(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int getEnd(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    _r2_o = this;
    _r3.i = n1;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupBounds;
    _r1.i = _r3.i * 2;
    _r1.i = _r1.i + 1;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i];
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int getEnd(int)]
}

public virtual global::System.Object group(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: java.lang.String group()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = 0;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r1_o).group((int) _r0.i);
    return (global::java.lang.String) _r0_o;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: java.lang.String group()]
}

public virtual global::System.Object group(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: java.lang.String group(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    _r3_o = this;
    _r4.i = n1;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r3_o).start((int) _r4.i);
    if (_r0.i >= 0) goto label8;
    _r0_o = null;
    label7:;
    return (global::java.lang.String) _r0_o;
    label8:;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r3_o)._fstring;
    _r1.i = ((global::java.util.regex.MatchResultImpl) _r3_o).start((int) _r4.i);
    _r2.i = ((global::java.util.regex.MatchResultImpl) _r3_o).end((int) _r4.i);
    _r0_o = ((global::java.lang.CharSequence) _r0_o).subSequence((int) _r1.i, (int) _r2.i);
    _r0_o = ((global::java.lang.CharSequence) _r0_o).toString();
    goto label7;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: java.lang.String group(int)]
}

public virtual global::System.Object getGroupNoCheck(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: java.lang.String getGroupNoCheck(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    _r4_o = this;
    _r5.i = n1;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r4_o).getStart((int) _r5.i);
    _r1.i = ((global::java.util.regex.MatchResultImpl) _r4_o).getEnd((int) _r5.i);
    _r2.i = _r1.i | _r0.i;
    _r3.i = _r1.i - _r0.i;
    _r2.i = _r2.i | _r3.i;
    if (_r2.i < 0) goto label23;
    _r2_o = ((global::java.util.regex.MatchResultImpl) _r4_o)._fstring;
    _r2.i = ((global::java.lang.CharSequence) _r2_o).length();
    if (_r1.i <= _r2.i) goto label25;
    label23:;
    _r0_o = null;
    label24:;
    return (global::java.lang.String) _r0_o;
    label25:;
    _r2_o = ((global::java.util.regex.MatchResultImpl) _r4_o)._fstring;
    _r0_o = ((global::java.lang.CharSequence) _r2_o).subSequence((int) _r0.i, (int) _r1.i);
    _r0_o = ((global::java.lang.CharSequence) _r0_o).toString();
    goto label24;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: java.lang.String getGroupNoCheck(int)]
}

public virtual int groupCount(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int groupCount()]
    global::org.xmlvm._nElement _r0;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    _r2_o = this;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupCount;
    _r1.i = 1;
    _r0.i = _r0.i - _r1.i;
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int groupCount()]
}

public virtual int start(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int start()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = 0;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o).start((int) _r0.i);
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int start()]
}

public virtual int start(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int start(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    _r2_o = this;
    _r3.i = n1;
    ((global::java.util.regex.MatchResultImpl) _r2_o).checkGroup((int) _r3.i);
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupBounds;
    _r1.i = _r3.i * 2;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i];
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int start(int)]
}

public virtual void finalizeMatch(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void finalizeMatch()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r3_o = null;
    _r3_o = this;
    _r2.i = 0;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r3_o)._fgroupBounds;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r2.i];
    _r1.i = -1;
    if (_r0.i != _r1.i) goto label21;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r3_o)._fgroupBounds;
    _r1.i = ((global::java.util.regex.MatchResultImpl) _r3_o)._fstartIndex;
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r2.i] = _r1.i;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r3_o)._fgroupBounds;
    _r1.i = 1;
    _r2.i = ((global::java.util.regex.MatchResultImpl) _r3_o)._fstartIndex;
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i] = _r2.i;
    label21:;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r3_o).end();
    ((global::java.util.regex.MatchResultImpl) _r3_o)._fpreviousMatch = _r0.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void finalizeMatch()]
}

public virtual int getEnterCounter(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int getEnterCounter(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    _r1_o = this;
    _r2.i = n1;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r1_o)._fcompQuantCounters;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r2.i];
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int getEnterCounter(int)]
}

public virtual void setEnterCounter(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void setEnterCounter(int, int)]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    _r1_o = this;
    _r2.i = n1;
    _r3.i = n2;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r1_o)._fcompQuantCounters;
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r2.i] = _r3.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void setEnterCounter(int, int)]
}

private void checkGroup(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void checkGroup(int)]
    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;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r2_o)._fvalid ? 1 : 0;
    if (_r0.i != 0) goto label16;
    _r0_o = new global::java.lang.IllegalStateException();
    // Value=regex.05
    _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) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 48)), unchecked((char) unchecked((uint) 53))}));
    _r1_o = global::org.apache.harmony.regex.@internal.nls.Messages.getString((global::java.lang.String) _r1_o);
    ((global::java.lang.IllegalStateException) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalStateException) _r0_o);
    label16:;
    if (_r3.i < 0) goto label22;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupCount;
    if (_r3.i <= _r0.i) goto label34;
    label22:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    // Value=regex.06
    _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) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 48)), unchecked((char) unchecked((uint) 54))}));
    _r1_o = global::org.apache.harmony.regex.@internal.nls.Messages.getString((global::java.lang.String) _r1_o, (int) _r3.i);
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label34:;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void checkGroup(int)]
}

public virtual void updateGroup(int n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void updateGroup(int, int, int)]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    _r2_o = this;
    _r3.i = n1;
    _r4.i = n2;
    _r5.i = n3;
    ((global::java.util.regex.MatchResultImpl) _r2_o).checkGroup((int) _r3.i);
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupBounds;
    _r1.i = _r3.i * 2;
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i] = _r4.i;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupBounds;
    _r1.i = _r3.i * 2;
    _r1.i = _r1.i + 1;
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i] = _r5.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void updateGroup(int, int, int)]
}

public virtual void setValid(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void setValid()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = 1;
    ((global::java.util.regex.MatchResultImpl) _r1_o)._fvalid = 0!=_r0.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void setValid()]
}

public virtual bool isValid(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: boolean isValid()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o)._fvalid ? 1 : 0;
    return _r0.i!=0;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: boolean isValid()]
}

public virtual void reset(global::java.lang.CharSequence n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void reset(java.lang.CharSequence, int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    _r2_o = this;
    _r3_o = n1;
    _r4.i = n2;
    _r5.i = n3;
    _r1.i = -1;
    _r0.i = 0;
    ((global::java.util.regex.MatchResultImpl) _r2_o)._fvalid = 0!=_r0.i;
    _r0.i = global::java.util.regex.Matcher._fMODE_1MATCH;
    ((global::java.util.regex.MatchResultImpl) _r2_o)._fmode = _r0.i;
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fgroupBounds;
    global::java.util.Arrays.fill((global::org.xmlvm._nArrayAdapter<int>) _r0_o, (int) _r1.i);
    _r0_o = ((global::java.util.regex.MatchResultImpl) _r2_o)._fconsumers;
    global::java.util.Arrays.fill((global::org.xmlvm._nArrayAdapter<int>) _r0_o, (int) _r1.i);
    if (_r3_o == null) goto label22;
    ((global::java.util.regex.MatchResultImpl) _r2_o)._fstring = (global::java.lang.CharSequence) _r3_o;
    label22:;
    if (_r4.i < 0) goto label27;
    ((global::java.util.regex.MatchResultImpl) _r2_o).setBounds((int) _r4.i, (int) _r5.i);
    label27:;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r2_o)._fleftBound;
    ((global::java.util.regex.MatchResultImpl) _r2_o)._fstartIndex = _r0.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void reset(java.lang.CharSequence, int, int)]
}

public virtual void reset(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void reset()]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    _r2_o = this;
    _r1.i = -1;
    _r0_o = null;
    ((global::java.util.regex.MatchResultImpl) _r2_o).reset((global::java.lang.CharSequence) _r0_o, (int) _r1.i, (int) _r1.i);
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void reset()]
}

private void setBounds(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void setBounds(int, int)]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r2;
    _r0_o = this;
    _r1.i = n1;
    _r2.i = n2;
    ((global::java.util.regex.MatchResultImpl) _r0_o)._fleftBound = _r1.i;
    ((global::java.util.regex.MatchResultImpl) _r0_o)._frightBound = _r2.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void setBounds(int, int)]
}

public virtual void setStartIndex(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void setStartIndex(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    _r1_o = this;
    _r2.i = n1;
    ((global::java.util.regex.MatchResultImpl) _r1_o)._fstartIndex = _r2.i;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o)._fpreviousMatch;
    if (_r0.i < 0) goto label11;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o)._fpreviousMatch;
    label8:;
    ((global::java.util.regex.MatchResultImpl) _r1_o)._fpreviousMatch = _r0.i;
    return;
    label11:;
    _r0.i = _r2.i;
    goto label8;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void setStartIndex(int)]
}

public virtual int getLeftBound(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int getLeftBound()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o)._fleftBound;
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int getLeftBound()]
}

public virtual int getRightBound(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int getRightBound()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o)._frightBound;
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int getRightBound()]
}

public virtual void setMode(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void setMode(int)]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    _r0_o = this;
    _r1.i = n1;
    ((global::java.util.regex.MatchResultImpl) _r0_o)._fmode = _r1.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void setMode(int)]
}

public virtual int mode(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int mode()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o)._fmode;
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int mode()]
}

public virtual void useAnchoringBounds(bool n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void useAnchoringBounds(boolean)]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    _r0_o = this;
    _r1.i = n1 ? 1 : 0;
    ((global::java.util.regex.MatchResultImpl) _r0_o)._fanchoringBounds = 0!=_r1.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void useAnchoringBounds(boolean)]
}

public virtual bool hasAnchoringBounds(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: boolean hasAnchoringBounds()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o)._fanchoringBounds ? 1 : 0;
    return _r0.i!=0;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: boolean hasAnchoringBounds()]
}

public virtual void useTransparentBounds(bool n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: void useTransparentBounds(boolean)]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    _r0_o = this;
    _r1.i = n1 ? 1 : 0;
    ((global::java.util.regex.MatchResultImpl) _r0_o)._ftransparentBounds = 0!=_r1.i;
    return;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: void useTransparentBounds(boolean)]
}

public virtual bool hasTransparentBounds(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: boolean hasTransparentBounds()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o)._ftransparentBounds ? 1 : 0;
    return _r0.i!=0;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: boolean hasTransparentBounds()]
}

public virtual int getPreviousMatchEnd(){
//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl: int getPreviousMatchEnd()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r1_o)._fpreviousMatch;
    return _r0.i;
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl: int getPreviousMatchEnd()]
}

//XMLVM_BEGIN_WRAPPER[java.util.regex.MatchResultImpl]
//XMLVM_END_WRAPPER[java.util.regex.MatchResultImpl]

} // end of class: MatchResultImpl

} // end of namespace: java.util.regex
