public final class com.ctc.wstx.util.TextBuilder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.util.TextBuilder
super_class: java.lang.Object
{
private static final int MIN_LEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60
private static final int MAX_LEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 120
private char[] mBuffer;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private int mBufferLen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String mResultString;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
iconst_4
ishl
istore 2
start local 2 2: iload 2
bipush 60
if_icmpge 5
3: bipush 60
istore 2
4: goto 7
StackMap locals: com.ctc.wstx.util.TextBuilder int int
StackMap stack:
5: iload 2
bipush 120
if_icmple 7
6: bipush 120
istore 2
7: StackMap locals:
StackMap stack:
aload 0
iload 2
newarray 5
putfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/ctc/wstx/util/TextBuilder;
0 9 1 initialSize I
2 9 2 charSize I
MethodParameters:
Name Flags
initialSize
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 com.ctc.wstx.util.TextBuilder.mBufferLen:I
1: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuilder.mResultString:Ljava/lang/String;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/util/TextBuilder;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/util/TextBuilder;
public java.lang.String getAllValues();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuilder.mResultString:Ljava/lang/String;
ifnonnull 2
1: aload 0
new java.lang.String
dup
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
invokespecial java.lang.String.<init>:([CII)V
putfield com.ctc.wstx.util.TextBuilder.mResultString:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuilder.mResultString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/util/TextBuilder;
public char[] getCharBuffer();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/TextBuilder;
public int getCharSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/TextBuilder;
public void append(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
arraylength
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
if_icmpne 2
1: aload 0
iconst_1
invokevirtual com.ctc.wstx.util.TextBuilder.resize:(I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
aload 0
dup
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
dup_x1
iconst_1
iadd
putfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
iload 1
castore
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/util/TextBuilder;
0 4 1 c C
MethodParameters:
Name Flags
c
public void append(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
arraylength
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
isub
if_icmple 2
1: aload 0
iload 3
invokevirtual com.ctc.wstx.util.TextBuilder.resize:(I)V
2: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
dup
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
iload 3
iadd
putfield com.ctc.wstx.util.TextBuilder.mBufferLen: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 Lcom/ctc/wstx/util/TextBuilder;
0 5 1 src [C
0 5 2 start I
0 5 3 len I
MethodParameters:
Name Flags
src
start
len
public void setBufferSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/util/TextBuilder;
0 2 1 newSize I
MethodParameters:
Name Flags
newSize
public char[] bufferFull(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
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
arraylength
putfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
1: aload 0
iload 1
invokevirtual com.ctc.wstx.util.TextBuilder.resize:(I)V
2: aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/util/TextBuilder;
0 3 1 needSpaceFor I
MethodParameters:
Name Flags
needSpaceFor
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 com.ctc.wstx.util.TextBuilder.mBuffer:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/TextBuilder;
private void resize(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: iload 3
iconst_1
ishr
istore 4
start local 4 3: iload 1
iload 3
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
isub
isub
istore 1
4: iload 4
iload 1
if_icmpge 6
5: iload 1
istore 4
6: StackMap locals: char[] int int
StackMap stack:
aload 0
iload 3
iload 4
iadd
newarray 5
putfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
7: aload 2
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBuffer:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuilder.mBufferLen:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/ctc/wstx/util/TextBuilder;
0 9 1 needSpaceFor I
1 9 2 old [C
2 9 3 oldLen I
3 9 4 addition I
MethodParameters:
Name Flags
needSpaceFor
}
SourceFile: "TextBuilder.java"