public class org.jboss.resteasy.util.ArrayCharSequence implements java.lang.CharSequence
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.util.ArrayCharSequence
super_class: java.lang.Object
{
private final char[] buf;
descriptor: [C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int offset;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int count;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokespecial org.jboss.resteasy.util.ArrayCharSequence.<init>:([CII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/util/ArrayCharSequence;
0 2 1 buff [C
MethodParameters:
Name Flags
buff
public void <init>(char[], int);
descriptor: ([CI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
iload 2
invokespecial org.jboss.resteasy.util.ArrayCharSequence.<init>:([CII)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/util/ArrayCharSequence;
0 2 1 buff [C
0 2 2 count I
MethodParameters:
Name Flags
buff
count
public void <init>(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jboss.resteasy.util.ArrayCharSequence.buf:[C
2: aload 0
iload 2
putfield org.jboss.resteasy.util.ArrayCharSequence.offset:I
3: aload 0
iload 3
putfield org.jboss.resteasy.util.ArrayCharSequence.count:I
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/util/ArrayCharSequence;
0 5 1 buff [C
0 5 2 offset I
0 5 3 count I
MethodParameters:
Name Flags
buff
offset
count
public char charAt(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.count:I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.StringIndexOutOfBoundsException
dup
iload 1
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.buf:[C
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.offset:I
iload 1
iadd
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/util/ArrayCharSequence;
0 3 1 index I
MethodParameters:
Name Flags
index
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/util/ArrayCharSequence;
public java.lang.CharSequence subSequence(int, int);
descriptor: (II)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifge 2
1: new java.lang.StringIndexOutOfBoundsException
dup
iload 1
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.count:I
if_icmple 4
3: new java.lang.StringIndexOutOfBoundsException
dup
iload 2
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmple 6
5: new java.lang.StringIndexOutOfBoundsException
dup
iload 2
iload 1
isub
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
6: StackMap locals:
StackMap stack:
iload 1
ifne 8
iload 2
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.count:I
if_icmpne 8
7: aload 0
goto 9
8: StackMap locals:
StackMap stack:
new org.jboss.resteasy.util.ArrayCharSequence
dup
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.buf:[C
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.offset:I
iload 1
iadd
iload 2
iload 1
isub
invokespecial org.jboss.resteasy.util.ArrayCharSequence.<init>:([CII)V
9: StackMap locals:
StackMap stack: org.jboss.resteasy.util.ArrayCharSequence
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jboss/resteasy/util/ArrayCharSequence;
0 10 1 beginIndex I
0 10 2 endIndex I
MethodParameters:
Name Flags
beginIndex
endIndex
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.buf:[C
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.offset:I
aload 0
getfield org.jboss.resteasy.util.ArrayCharSequence.count:I
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/util/ArrayCharSequence;
}
SourceFile: "ArrayCharSequence.java"