public final class io.netty.util.internal.AppendableCharSequence implements java.lang.CharSequence, java.lang.Appendable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.util.internal.AppendableCharSequence
super_class: java.lang.Object
{
private char[] chars;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
iconst_1
if_icmpge 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (length: >= 1)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.util.internal.AppendableCharSequence int
StackMap stack:
aload 0
iload 1
newarray 5
putfield io.netty.util.internal.AppendableCharSequence.chars:[C
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/util/internal/AppendableCharSequence;
0 5 1 length I
MethodParameters:
Name Flags
length
private void <init>(char[]);
descriptor: ([C)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
arraylength
iconst_1
if_icmpge 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (length: >= 1)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.util.internal.AppendableCharSequence char[]
StackMap stack:
aload 0
aload 1
putfield io.netty.util.internal.AppendableCharSequence.chars:[C
4: aload 0
aload 1
arraylength
putfield io.netty.util.internal.AppendableCharSequence.pos:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/util/internal/AppendableCharSequence;
0 6 1 chars [C
MethodParameters:
Name Flags
chars
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/AppendableCharSequence;
public char charAt(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
if_icmple 2
1: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
iload 1
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/util/internal/AppendableCharSequence;
0 3 1 index I
MethodParameters:
Name Flags
index
public char charAtUnsafe(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
iload 1
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/AppendableCharSequence;
0 1 1 index I
MethodParameters:
Name Flags
index
public io.netty.util.internal.AppendableCharSequence subSequence(int, int);
descriptor: (II)Lio/netty/util/internal/AppendableCharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.util.internal.AppendableCharSequence
dup
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
iload 1
iload 2
invokestatic java.util.Arrays.copyOfRange:([CII)[C
invokespecial io.netty.util.internal.AppendableCharSequence.<init>:([C)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/AppendableCharSequence;
0 1 1 start I
0 1 2 end I
MethodParameters:
Name Flags
start
end
public io.netty.util.internal.AppendableCharSequence append(char);
descriptor: (C)Lio/netty/util/internal/AppendableCharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
arraylength
if_icmpne 4
1: aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
astore 2
start local 2 2: aload 0
aload 2
arraylength
iconst_1
ishl
newarray 5
putfield io.netty.util.internal.AppendableCharSequence.chars:[C
3: aload 2
iconst_0
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 2 4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
aload 0
dup
getfield io.netty.util.internal.AppendableCharSequence.pos:I
dup_x1
iconst_1
iadd
putfield io.netty.util.internal.AppendableCharSequence.pos:I
iload 1
castore
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/util/internal/AppendableCharSequence;
0 6 1 c C
2 4 2 old [C
MethodParameters:
Name Flags
c
public io.netty.util.internal.AppendableCharSequence append(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Lio/netty/util/internal/AppendableCharSequence;
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
invokeinterface java.lang.CharSequence.length:()I
invokevirtual io.netty.util.internal.AppendableCharSequence.append:(Ljava/lang/CharSequence;II)Lio/netty/util/internal/AppendableCharSequence;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/AppendableCharSequence;
0 1 1 csq Ljava/lang/CharSequence;
MethodParameters:
Name Flags
csq
public io.netty.util.internal.AppendableCharSequence append(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)Lio/netty/util/internal/AppendableCharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.lang.CharSequence.length:()I
iload 3
if_icmpge 2
1: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 3
iload 2
isub
istore 4
start local 4 3: iload 4
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
arraylength
aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
isub
if_icmple 5
4: aload 0
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
iload 4
iadd
aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
invokestatic io.netty.util.internal.AppendableCharSequence.expand:([CII)[C
putfield io.netty.util.internal.AppendableCharSequence.chars:[C
5: StackMap locals: int
StackMap stack:
aload 1
instanceof io.netty.util.internal.AppendableCharSequence
ifeq 11
6: aload 1
checkcast io.netty.util.internal.AppendableCharSequence
astore 5
start local 5 7: aload 5
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
astore 6
start local 6 8: aload 6
iload 2
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 0
dup
getfield io.netty.util.internal.AppendableCharSequence.pos:I
iload 4
iadd
putfield io.netty.util.internal.AppendableCharSequence.pos:I
10: aload 0
areturn
end local 6 end local 5 11: StackMap locals:
StackMap stack:
iload 2
istore 5
start local 5 12: goto 15
13: StackMap locals: int
StackMap stack:
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
aload 0
dup
getfield io.netty.util.internal.AppendableCharSequence.pos:I
dup_x1
iconst_1
iadd
putfield io.netty.util.internal.AppendableCharSequence.pos:I
aload 1
iload 5
invokeinterface java.lang.CharSequence.charAt:(I)C
castore
14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 3
if_icmplt 13
end local 5 16: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/netty/util/internal/AppendableCharSequence;
0 17 1 csq Ljava/lang/CharSequence;
0 17 2 start I
0 17 3 end I
3 17 4 length I
7 11 5 seq Lio/netty/util/internal/AppendableCharSequence;
8 11 6 src [C
12 16 5 i I
MethodParameters:
Name Flags
csq
start
end
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield io.netty.util.internal.AppendableCharSequence.pos:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/util/internal/AppendableCharSequence;
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 io.netty.util.internal.AppendableCharSequence.chars:[C
iconst_0
aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/AppendableCharSequence;
public java.lang.String substring(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
istore 3
start local 3 1: iload 1
aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
if_icmpgt 2
iload 3
aload 0
getfield io.netty.util.internal.AppendableCharSequence.pos:I
if_icmple 3
2: StackMap locals: int
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
new java.lang.String
dup
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
iload 1
iload 3
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/util/internal/AppendableCharSequence;
0 4 1 start I
0 4 2 end I
1 4 3 length I
MethodParameters:
Name Flags
start
end
public java.lang.String subStringUnsafe(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.String
dup
aload 0
getfield io.netty.util.internal.AppendableCharSequence.chars:[C
iload 1
iload 2
iload 1
isub
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/AppendableCharSequence;
0 1 1 start I
0 1 2 end I
MethodParameters:
Name Flags
start
end
private static char[] expand(char[], int, int);
descriptor: ([CII)[C
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
istore 3
start local 3 1: StackMap locals: int
StackMap stack:
iload 3
iconst_1
ishl
istore 3
2: iload 3
ifge 4
3: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iload 1
iload 3
5: if_icmpgt 1
6: iload 3
newarray 5
astore 4
start local 4 7: aload 0
iconst_0
aload 4
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 array [C
0 9 1 neededSpace I
0 9 2 size I
1 9 3 newCapacity I
7 9 4 newArray [C
MethodParameters:
Name Flags
array
neededSpace
size
public java.lang.CharSequence subSequence(int, int);
descriptor: (II)Ljava/lang/CharSequence;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
iload 2
invokevirtual io.netty.util.internal.AppendableCharSequence.subSequence:(II)Lio/netty/util/internal/AppendableCharSequence;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Appendable append(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)Ljava/lang/Appendable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
iload 2
iload 3
invokevirtual io.netty.util.internal.AppendableCharSequence.append:(Ljava/lang/CharSequence;II)Lio/netty/util/internal/AppendableCharSequence;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.lang.Appendable append(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/Appendable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.netty.util.internal.AppendableCharSequence.append:(Ljava/lang/CharSequence;)Lio/netty/util/internal/AppendableCharSequence;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.lang.Appendable append(char);
descriptor: (C)Ljava/lang/Appendable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual io.netty.util.internal.AppendableCharSequence.append:(C)Lio/netty/util/internal/AppendableCharSequence;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "AppendableCharSequence.java"