public final class com.ctc.wstx.util.TextBuffer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.util.TextBuffer
super_class: java.lang.Object
{
static final int DEF_INITIAL_BUFFER_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 500
static final int MAX_SEGMENT_LENGTH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 262144
static final int INT_SPACE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
private final com.ctc.wstx.api.ReaderConfig mConfig;
descriptor: Lcom/ctc/wstx/api/ReaderConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private char[] mInputBuffer;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private int mInputStart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int mInputLen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean mHasSegments;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.ArrayList<char[]> mSegments;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<[C>;
private int mSegmentSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private char[] mCurrentSegment;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private int mCurrentSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String mResultString;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private char[] mResultArray;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
public static final int MAX_INDENT_SPACES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
public static final int MAX_INDENT_TABS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final java.lang.String sIndSpaces;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\n "
private static final char[] sIndSpacesArray;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] sIndSpacesStrings;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String sIndTabs;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\n\t\t\t\t\t\t\t\t\t"
private static final char[] sIndTabsArray;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] sIndTabsStrings;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "\n "
invokevirtual java.lang.String.toCharArray:()[C
putstatic com.ctc.wstx.util.TextBuffer.sIndSpacesArray:[C
1: getstatic com.ctc.wstx.util.TextBuffer.sIndSpacesArray:[C
arraylength
anewarray java.lang.String
putstatic com.ctc.wstx.util.TextBuffer.sIndSpacesStrings:[Ljava/lang/String;
2: ldc "\n\t\t\t\t\t\t\t\t\t"
invokevirtual java.lang.String.toCharArray:()[C
putstatic com.ctc.wstx.util.TextBuffer.sIndTabsArray:[C
3: getstatic com.ctc.wstx.util.TextBuffer.sIndTabsArray:[C
arraylength
anewarray java.lang.String
putstatic com.ctc.wstx.util.TextBuffer.sIndTabsStrings:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(com.ctc.wstx.api.ReaderConfig);
descriptor: (Lcom/ctc/wstx/api/ReaderConfig;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mHasSegments:Z
2: aload 0
aload 1
putfield com.ctc.wstx.util.TextBuffer.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/util/TextBuffer;
0 4 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
MethodParameters:
Name Flags
cfg
public static com.ctc.wstx.util.TextBuffer createRecyclableBuffer(com.ctc.wstx.api.ReaderConfig);
descriptor: (Lcom/ctc/wstx/api/ReaderConfig;)Lcom/ctc/wstx/util/TextBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.ctc.wstx.util.TextBuffer
dup
aload 0
invokespecial com.ctc.wstx.util.TextBuffer.<init>:(Lcom/ctc/wstx/api/ReaderConfig;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cfg Lcom/ctc/wstx/api/ReaderConfig;
MethodParameters:
Name Flags
cfg
public static com.ctc.wstx.util.TextBuffer createTemporaryBuffer();
descriptor: ()Lcom/ctc/wstx/util/TextBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.ctc.wstx.util.TextBuffer
dup
aconst_null
invokespecial com.ctc.wstx.util.TextBuffer.<init>:(Lcom/ctc/wstx/api/ReaderConfig;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public void recycle(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
ifnull 12
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
ifnull 12
1: iload 1
ifeq 4
2: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.resetWithEmpty:()V
3: goto 9
4: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
ifge 6
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iadd
ifle 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 9
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifle 9
7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
8: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
9: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 2
start local 2 10: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
11: aload 0
getfield com.ctc.wstx.util.TextBuffer.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
aload 2
invokevirtual com.ctc.wstx.api.ReaderConfig.freeMediumCBuffer:([C)V
end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/ctc/wstx/util/TextBuffer;
0 13 1 force Z
10 12 2 buf [C
MethodParameters:
Name Flags
force
public void resetWithEmpty();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
1: aload 0
iconst_m1
putfield com.ctc.wstx.util.TextBuffer.mInputStart:I
2: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
3: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
4: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
5: aload 0
getfield com.ctc.wstx.util.TextBuffer.mHasSegments:Z
ifeq 7
6: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.clearSegments:()V
7: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/ctc/wstx/util/TextBuffer;
public void resetWithEmptyString();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
1: aload 0
iconst_m1
putfield com.ctc.wstx.util.TextBuffer.mInputStart:I
2: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
3: aload 0
ldc ""
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
4: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
5: aload 0
getfield com.ctc.wstx.util.TextBuffer.mHasSegments:Z
ifeq 7
6: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.clearSegments:()V
7: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/ctc/wstx/util/TextBuffer;
public void resetWithShared(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
aload 1
putfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
1: aload 0
iload 2
putfield com.ctc.wstx.util.TextBuffer.mInputStart:I
2: aload 0
iload 3
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
3: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
4: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
5: aload 0
getfield com.ctc.wstx.util.TextBuffer.mHasSegments:Z
ifeq 7
6: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.clearSegments:()V
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/ctc/wstx/util/TextBuffer;
0 8 1 buf [C
0 8 2 start I
0 8 3 len I
MethodParameters:
Name Flags
buf
start
len
public void resetWithCopy(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
1: aload 0
iconst_m1
putfield com.ctc.wstx.util.TextBuffer.mInputStart:I
2: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
3: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
4: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
5: aload 0
getfield com.ctc.wstx.util.TextBuffer.mHasSegments:Z
ifeq 7
6: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.clearSegments:()V
7: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
ifnonnull 9
8: aload 0
aload 0
iload 3
invokevirtual com.ctc.wstx.util.TextBuffer.allocBuffer:(I)[C
putfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
9: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_0
dup_x1
putfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
10: aload 0
aload 1
iload 2
iload 3
invokevirtual com.ctc.wstx.util.TextBuffer.append:([CII)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/ctc/wstx/util/TextBuffer;
0 12 1 buf [C
0 12 2 start I
0 12 3 len I
MethodParameters:
Name Flags
buf
start
len
public void resetInitialized();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.resetWithEmpty:()V
1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
ifnonnull 3
2: aload 0
aload 0
iconst_0
invokevirtual com.ctc.wstx.util.TextBuffer.allocBuffer:(I)[C
putfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/util/TextBuffer;
private final char[] allocBuffer(int);
descriptor: (I)[C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iload 1
sipush 500
invokestatic java.lang.Math.max:(II)I
istore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 0
getfield com.ctc.wstx.util.TextBuffer.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
ifnull 6
3: aload 0
getfield com.ctc.wstx.util.TextBuffer.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
iload 2
invokevirtual com.ctc.wstx.api.ReaderConfig.allocMediumCBuffer:(I)[C
astore 3
4: aload 3
ifnull 6
5: aload 3
areturn
6: StackMap locals: int char[]
StackMap stack:
iload 2
newarray 5
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/ctc/wstx/util/TextBuffer;
0 7 1 needed I
1 7 2 size I
2 7 3 buf [C
MethodParameters:
Name Flags
needed
private final void clearSegments();
descriptor: ()V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mHasSegments:Z
1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
2: aload 0
aload 0
iconst_0
dup_x1
putfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/util/TextBuffer;
public void resetWithIndentation(int, char);
descriptor: (IC)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mInputStart:I
1: aload 0
iload 1
iconst_1
iadd
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
2: iload 2
bipush 9
if_icmpne 8
3: aload 0
getstatic com.ctc.wstx.util.TextBuffer.sIndTabsArray:[C
putfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
4: getstatic com.ctc.wstx.util.TextBuffer.sIndTabsStrings:[Ljava/lang/String;
iload 1
aaload
astore 3
start local 3 5: aload 3
ifnonnull 12
6: getstatic com.ctc.wstx.util.TextBuffer.sIndTabsStrings:[Ljava/lang/String;
iload 1
ldc "\n\t\t\t\t\t\t\t\t\t"
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
dup
astore 3
aastore
7: goto 12
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getstatic com.ctc.wstx.util.TextBuffer.sIndSpacesArray:[C
putfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
9: getstatic com.ctc.wstx.util.TextBuffer.sIndSpacesStrings:[Ljava/lang/String;
iload 1
aaload
astore 3
start local 3 10: aload 3
ifnonnull 12
11: getstatic com.ctc.wstx.util.TextBuffer.sIndSpacesStrings:[Ljava/lang/String;
iload 1
ldc "\n "
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
dup
astore 3
aastore
12: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 3
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
13: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
14: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 17
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifle 17
15: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
16: aload 0
aload 0
iconst_0
dup_x1
putfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/ctc/wstx/util/TextBuffer;
0 18 1 indCharCount I
0 18 2 indChar C
5 8 3 text Ljava/lang/String;
10 18 3 text Ljava/lang/String;
MethodParameters:
Name Flags
indCharCount
indChar
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 2
1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/util/TextBuffer;
public int getTextStart();
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.TextBuffer.mInputStart:I
iflt 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/util/TextBuffer;
public char[] getTextBuffer();
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.TextBuffer.mInputStart:I
iflt 2
1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 3
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.contentsAsArray:()[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/util/TextBuffer;
public void decode(org.codehaus.stax2.typed.TypedValueDecoder);
descriptor: (Lorg/codehaus/stax2/typed/TypedValueDecoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 5
1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
astore 2
start local 2 2: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
istore 3
start local 3 3: iload 3
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iadd
istore 4
start local 4 4: goto 8
end local 4 end local 3 end local 2 5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.getTextBuffer:()[C
astore 2
start local 2 6: iconst_0
istore 3
start local 3 7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iadd
istore 4
start local 4 8: StackMap locals: char[] int int
StackMap stack:
iload 3
iload 4
if_icmplt 11
9: aload 1
invokevirtual org.codehaus.stax2.typed.TypedValueDecoder.handleEmptyValue:()V
10: return
11: StackMap locals:
StackMap stack:
aload 2
iload 3
caload
invokestatic com.ctc.wstx.util.StringUtil.isSpace:(C)Z
ifne 13
12: goto 15
13: StackMap locals:
StackMap stack:
iinc 3 1
14: goto 8
15: StackMap locals:
StackMap stack:
iinc 4 -1
iload 4
iload 3
if_icmple 16
aload 2
iload 4
caload
invokestatic com.ctc.wstx.util.StringUtil.isSpace:(C)Z
ifne 15
16: StackMap locals:
StackMap stack:
aload 1
aload 2
iload 3
iload 4
iconst_1
iadd
invokevirtual org.codehaus.stax2.typed.TypedValueDecoder.decode:([CII)V
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/ctc/wstx/util/TextBuffer;
0 18 1 tvd Lorg/codehaus/stax2/typed/TypedValueDecoder;
2 5 2 buf [C
6 18 2 buf [C
3 5 3 start I
7 18 3 start I
4 5 4 end I
8 18 4 end I
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
tvd
public int decodeElements(org.codehaus.stax2.typed.TypedArrayDecoder, com.ctc.wstx.sr.InputProblemReporter);
descriptor: (Lorg/codehaus/stax2/typed/TypedArrayDecoder;Lcom/ctc/wstx/sr/InputProblemReporter;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
ifge 10
2: aload 0
getfield com.ctc.wstx.util.TextBuffer.mHasSegments:Z
ifeq 7
3: aload 0
aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.buildResultArray:()[C
putfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
4: aload 0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
arraylength
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
5: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.clearSegments:()V
6: goto 9
7: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
putfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
8: aload 0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mInputStart:I
10: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
istore 4
start local 4 11: iload 4
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iadd
istore 5
start local 5 12: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
astore 6
start local 6 13: iload 4
istore 7
start local 7 14: goto 28
15: StackMap locals: com.ctc.wstx.util.TextBuffer org.codehaus.stax2.typed.TypedArrayDecoder com.ctc.wstx.sr.InputProblemReporter int int int char[] int
StackMap stack:
iinc 4 1
iload 4
iload 5
if_icmplt 17
16: goto 38
17: StackMap locals:
StackMap stack:
aload 6
iload 4
caload
bipush 32
if_icmple 15
18: iload 4
istore 7
19: iinc 4 1
20: goto 22
21: StackMap locals:
StackMap stack:
iinc 4 1
22: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmpge 23
aload 6
iload 4
caload
bipush 32
if_icmpgt 21
23: StackMap locals:
StackMap stack:
iinc 3 1
24: iload 4
istore 8
start local 8 25: iinc 4 1
26: aload 1
aload 6
iload 7
iload 8
invokevirtual org.codehaus.stax2.typed.TypedArrayDecoder.decodeValue:([CII)Z
ifeq 28
27: goto 38
end local 8 28: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 17
29: goto 38
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
30: astore 8
start local 8 31: aload 2
invokeinterface com.ctc.wstx.sr.InputProblemReporter.getLocation:()Ljavax/xml/stream/Location;
astore 9
start local 9 32: new java.lang.String
dup
aload 6
iload 7
iload 4
iload 7
isub
iconst_1
isub
invokespecial java.lang.String.<init>:([CII)V
astore 10
start local 10 33: new org.codehaus.stax2.typed.TypedXMLStreamException
dup
aload 10
aload 8
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
aload 9
aload 8
invokespecial org.codehaus.stax2.typed.TypedXMLStreamException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/stream/Location;Ljava/lang/IllegalArgumentException;)V
athrow
end local 10 end local 9 end local 8 34: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
35: aload 0
iload 4
putfield com.ctc.wstx.util.TextBuffer.mInputStart:I
36: aload 0
iload 5
iload 4
isub
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
37: aload 11
athrow
38: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield com.ctc.wstx.util.TextBuffer.mInputStart:I
39: aload 0
iload 5
iload 4
isub
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
40: iload 3
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lcom/ctc/wstx/util/TextBuffer;
0 41 1 tad Lorg/codehaus/stax2/typed/TypedArrayDecoder;
0 41 2 rep Lcom/ctc/wstx/sr/InputProblemReporter;
1 41 3 count I
11 41 4 ptr I
12 41 5 end I
13 41 6 buf [C
14 41 7 start I
25 28 8 tokenEnd I
31 34 8 iae Ljava/lang/IllegalArgumentException;
32 34 9 loc Ljavax/xml/stream/Location;
33 34 10 lexical Ljava/lang/String;
Exception table:
from to target type
14 29 30 Class java.lang.IllegalArgumentException
14 34 34 any
Exceptions:
throws org.codehaus.stax2.typed.TypedXMLStreamException
MethodParameters:
Name Flags
tad
rep
public void initBinaryChunks(org.codehaus.stax2.typed.Base64Variant, org.codehaus.stax2.ri.typed.CharArrayBase64Decoder, boolean);
descriptor: (Lorg/codehaus/stax2/typed/Base64Variant;Lorg/codehaus/stax2/ri/typed/CharArrayBase64Decoder;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
ifge 3
1: aload 2
aload 1
iload 3
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual org.codehaus.stax2.ri.typed.CharArrayBase64Decoder.init:(Lorg/codehaus/stax2/typed/Base64Variant;Z[CIILjava/util/List;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 2
aload 1
iload 3
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
aconst_null
invokevirtual org.codehaus.stax2.ri.typed.CharArrayBase64Decoder.init:(Lorg/codehaus/stax2/typed/Base64Variant;Z[CIILjava/util/List;)V
4: StackMap locals:
StackMap stack:
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/TextBuffer;
0 5 1 v Lorg/codehaus/stax2/typed/Base64Variant;
0 5 2 dec Lorg/codehaus/stax2/ri/typed/CharArrayBase64Decoder;
0 5 3 firstChunk Z
MethodParameters:
Name Flags
v
dec
firstChunk
public java.lang.String contentsAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
ifnonnull 27
1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
ifnull 4
2: aload 0
new java.lang.String
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
invokespecial java.lang.String.<init>:([C)V
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
3: goto 27
4: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 9
5: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iconst_1
if_icmpge 7
6: aload 0
ldc ""
dup_x1
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
aload 0
new java.lang.String
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokespecial java.lang.String.<init>:([CII)V
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
8: goto 27
9: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
istore 1
start local 1 10: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
istore 2
start local 2 11: iload 1
ifne 16
12: aload 0
iload 2
ifne 13
ldc ""
goto 14
StackMap locals: com.ctc.wstx.util.TextBuffer int int
StackMap stack: com.ctc.wstx.util.TextBuffer
13: new java.lang.String
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
iload 2
invokespecial java.lang.String.<init>:([CII)V
StackMap locals: com.ctc.wstx.util.TextBuffer int int
StackMap stack: com.ctc.wstx.util.TextBuffer java.lang.String
14: putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
15: goto 27
16: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
iload 1
iload 2
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 17: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 25
18: iconst_0
istore 4
start local 4 19: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 5
start local 5 20: goto 24
21: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 6
start local 6 22: aload 3
aload 6
iconst_0
aload 6
arraylength
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
end local 6 23: iinc 4 1
StackMap locals:
StackMap stack:
24: iload 4
iload 5
if_icmplt 21
end local 5 end local 4 25: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
26: aload 0
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
end local 3 end local 2 end local 1 27: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/ctc/wstx/util/TextBuffer;
10 27 1 segLen I
11 27 2 currLen I
17 27 3 sb Ljava/lang/StringBuilder;
19 25 4 i I
20 25 5 len I
22 23 6 curr [C
public java.lang.StringBuilder contentsAsStringBuilder(int);
descriptor: (I)Ljava/lang/StringBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
ifnull 2
1: new java.lang.StringBuilder
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
ifnull 6
3: new java.lang.StringBuilder
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
arraylength
iload 1
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 4: aload 2
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
arraylength
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
5: aload 2
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 12
7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iconst_1
if_icmpge 9
8: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
areturn
9: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iload 1
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 10: aload 2
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
11: aload 2
areturn
end local 2 12: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
istore 2
start local 2 13: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
istore 3
start local 3 14: new java.lang.StringBuilder
dup
iload 2
iload 3
iadd
iload 1
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 15: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 23
16: iconst_0
istore 5
start local 5 17: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 6
start local 6 18: goto 22
19: StackMap locals: com.ctc.wstx.util.TextBuffer int int int java.lang.StringBuilder int int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 5
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 7
start local 7 20: aload 4
aload 7
iconst_0
aload 7
arraylength
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
end local 7 21: iinc 5 1
StackMap locals:
StackMap stack:
22: iload 5
iload 6
if_icmplt 19
end local 6 end local 5 23: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
iload 3
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
24: 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 25 0 this Lcom/ctc/wstx/util/TextBuffer;
0 25 1 extraSpace I
4 6 2 sb Ljava/lang/StringBuilder;
10 12 2 sb Ljava/lang/StringBuilder;
13 25 2 segLen I
14 25 3 currLen I
15 25 4 sb Ljava/lang/StringBuilder;
17 23 5 i I
18 23 6 len I
20 21 7 curr [C
MethodParameters:
Name Flags
extraSpace
public void contentsToStringBuilder(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
ifnull 3
1: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: goto 19
StackMap locals:
StackMap stack:
3: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
ifnull 6
4: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
invokevirtual java.lang.StringBuilder.append:([C)Ljava/lang/StringBuilder;
pop
5: goto 19
StackMap locals:
StackMap stack:
6: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 10
7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
ifle 19
8: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
9: goto 19
10: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 18
11: iconst_0
istore 2
start local 2 12: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 3
start local 3 13: goto 17
14: StackMap locals: int int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 4
start local 4 15: aload 1
aload 4
iconst_0
aload 4
arraylength
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
end local 4 16: iinc 2 1
StackMap locals:
StackMap stack:
17: iload 2
iload 3
if_icmplt 14
end local 3 end local 2 18: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/ctc/wstx/util/TextBuffer;
0 20 1 sb Ljava/lang/StringBuilder;
12 18 2 i I
13 18 3 len I
15 16 4 curr [C
MethodParameters:
Name Flags
sb
public char[] contentsAsArray();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.buildResultArray:()[C
dup
astore 1
putfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
3: StackMap locals: char[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/util/TextBuffer;
1 4 1 result [C
public int contentsToArray(int, char[], int, int);
descriptor: (I[CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 12
1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iload 1
isub
istore 5
start local 5 2: iload 5
iload 4
if_icmple 5
3: iload 4
istore 5
4: goto 7
StackMap locals: int
StackMap stack:
5: iload 5
ifge 7
6: iconst_0
istore 5
7: StackMap locals:
StackMap stack:
iload 5
ifle 11
8: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iload 1
iadd
9: aload 2
iload 3
iload 5
10: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 5 12: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 13: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 33
14: iconst_0
istore 6
start local 6 15: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 7
start local 7 16: goto 32
17: StackMap locals: int int int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 6
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 8
start local 8 18: aload 8
arraylength
istore 9
start local 9 19: iload 9
iload 1
isub
istore 10
start local 10 20: iload 10
iconst_1
if_icmpge 23
21: iload 1
iload 9
isub
istore 1
22: goto 31
23: StackMap locals: char[] int int
StackMap stack:
iload 10
iload 4
if_icmplt 26
24: aload 8
iload 1
aload 2
iload 3
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
25: iload 5
iload 4
iadd
ireturn
26: StackMap locals:
StackMap stack:
aload 8
iload 1
aload 2
iload 3
iload 10
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
27: iload 5
iload 10
iadd
istore 5
28: iload 3
iload 10
iadd
istore 3
29: iload 4
iload 10
isub
istore 4
30: iconst_0
istore 1
end local 10 end local 9 end local 8 31: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
32: iload 6
iload 7
if_icmplt 17
end local 7 end local 6 33: StackMap locals:
StackMap stack:
iload 4
ifle 40
34: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iload 1
isub
istore 6
start local 6 35: iload 4
iload 6
if_icmple 37
36: iload 6
istore 4
37: StackMap locals: int
StackMap stack:
iload 4
ifle 40
38: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iload 1
aload 2
iload 3
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
39: iload 5
iload 4
iadd
istore 5
end local 6 40: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lcom/ctc/wstx/util/TextBuffer;
0 41 1 srcStart I
0 41 2 dst [C
0 41 3 dstStart I
0 41 4 len I
2 12 5 amount I
13 41 5 totalAmount I
15 33 6 i I
16 33 7 segc I
18 31 8 segment [C
19 31 9 segLen I
20 31 10 amount I
35 40 6 maxAmount I
MethodParameters:
Name Flags
srcStart
dst
dstStart
len
public int rawContentsTo(java.io.Writer);
descriptor: (Ljava/io/Writer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
ifnull 3
1: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
invokevirtual java.io.Writer.write:([C)V
2: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
arraylength
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
ifnull 6
4: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 10
7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
ifle 9
8: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokevirtual java.io.Writer.write:([CII)V
9: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 11: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 20
12: iconst_0
istore 3
start local 3 13: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 4
start local 4 14: goto 19
15: StackMap locals: int int int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 5
start local 5 16: aload 1
aload 5
invokevirtual java.io.Writer.write:([C)V
17: iload 2
aload 5
arraylength
iadd
istore 2
end local 5 18: iinc 3 1
StackMap locals:
StackMap stack:
19: iload 3
iload 4
if_icmplt 15
end local 4 end local 3 20: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
ifle 23
21: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokevirtual java.io.Writer.write:([CII)V
22: iload 2
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iadd
istore 2
23: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/ctc/wstx/util/TextBuffer;
0 24 1 w Ljava/io/Writer;
11 24 2 rlen I
13 20 3 i I
14 20 4 len I
16 18 5 ch [C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
w
public java.io.Reader rawContentsViaReader();
descriptor: ()Ljava/io/Reader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
ifnull 2
1: new java.io.CharArrayReader
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
invokespecial java.io.CharArrayReader.<init>:([C)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
ifnull 4
3: new java.io.StringReader
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 8
5: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
ifle 7
6: new java.io.CharArrayReader
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokespecial java.io.CharArrayReader.<init>:([CII)V
areturn
7: StackMap locals:
StackMap stack:
new java.io.StringReader
dup
ldc ""
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 9
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifne 10
9: StackMap locals:
StackMap stack:
new java.io.CharArrayReader
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokespecial java.io.CharArrayReader.<init>:([CII)V
areturn
10: StackMap locals:
StackMap stack:
new com.ctc.wstx.util.TextBuffer$BufferReader
dup
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokespecial com.ctc.wstx.util.TextBuffer$BufferReader.<init>:(Ljava/util/ArrayList;[CI)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/ctc/wstx/util/TextBuffer;
Exceptions:
throws java.io.IOException
public boolean isAllWhitespace();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 10
1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
astore 1
start local 1 2: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
istore 2
start local 2 3: iload 2
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iadd
istore 3
start local 3 4: goto 8
5: StackMap locals: char[] int int
StackMap stack:
aload 1
iload 2
caload
bipush 32
if_icmple 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 5
9: iconst_1
ireturn
end local 3 end local 2 end local 1 10: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 24
11: iconst_0
istore 1
start local 1 12: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 2
start local 2 13: goto 23
14: StackMap locals: int int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 3
start local 3 15: iconst_0
istore 4
start local 4 16: aload 3
arraylength
istore 5
start local 5 17: goto 21
18: StackMap locals: char[] int int
StackMap stack:
aload 3
iload 4
caload
bipush 32
if_icmple 20
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
21: iload 4
iload 5
if_icmplt 18
end local 5 end local 4 end local 3 22: iinc 1 1
StackMap locals:
StackMap stack:
23: iload 1
iload 2
if_icmplt 14
end local 2 end local 1 24: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 1
start local 1 25: iconst_0
istore 2
start local 2 26: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
istore 3
start local 3 27: goto 31
28: StackMap locals: char[] int int
StackMap stack:
aload 1
iload 2
caload
bipush 32
if_icmple 30
29: iconst_0
ireturn
30: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
31: iload 2
iload 3
if_icmplt 28
end local 3 end local 2 32: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lcom/ctc/wstx/util/TextBuffer;
2 10 1 buf [C
3 10 2 i I
4 10 3 last I
12 24 1 i I
13 24 2 len I
15 22 3 buf [C
16 22 4 j I
17 22 5 len2 I
25 33 1 buf [C
26 32 2 i I
27 32 3 len I
public boolean endsWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 2
1: aload 0
bipush 16
invokevirtual com.ctc.wstx.util.TextBuffer.unshare:(I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnonnull 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
StackMap locals:
StackMap stack: int
4: istore 2
start local 2 5: aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 3
start local 3 6: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 4
start local 4 7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iconst_1
isub
istore 5
start local 5 8: goto 18
9: StackMap locals: com.ctc.wstx.util.TextBuffer java.lang.String int int char[] int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
aload 4
iload 5
caload
if_icmpeq 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iinc 3 -1
iload 3
ifne 13
12: goto 19
13: StackMap locals:
StackMap stack:
iinc 5 -1
iload 5
ifge 18
14: iinc 2 -1
iload 2
ifge 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 4
17: aload 4
arraylength
iconst_1
isub
istore 5
18: StackMap locals:
StackMap stack:
iload 3
ifge 9
19: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/ctc/wstx/util/TextBuffer;
0 20 1 str Ljava/lang/String;
5 20 2 segIndex I
6 20 3 inIndex I
7 20 4 buf [C
8 20 5 bufIndex I
MethodParameters:
Name Flags
str
public boolean equalsString(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 11
2: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iload 2
if_icmpeq 4
3: iconst_0
ireturn
4: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 5: goto 9
6: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iload 3
iadd
caload
if_icmpeq 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 6
end local 3 10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
iload 2
aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.size:()I
if_icmpeq 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 14
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifne 16
14: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 3
start local 3 15: goto 17
end local 3 16: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.contentsAsArray:()[C
astore 3
start local 3 17: StackMap locals: char[]
StackMap stack:
iconst_0
istore 4
start local 4 18: goto 22
19: StackMap locals: int
StackMap stack:
aload 3
iload 4
caload
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 21
20: iconst_0
ireturn
21: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
22: iload 4
iload 2
if_icmplt 19
end local 4 23: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/ctc/wstx/util/TextBuffer;
0 24 1 str Ljava/lang/String;
1 24 2 expLen I
5 10 3 i I
15 16 3 seg [C
17 24 3 seg [C
18 23 4 i I
MethodParameters:
Name Flags
str
public void fireSaxCharacterEvents(org.xml.sax.ContentHandler);
descriptor: (Lorg/xml/sax/ContentHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
ifnull 3
1: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
arraylength
invokeinterface org.xml.sax.ContentHandler.characters:([CII)V
2: goto 16
StackMap locals:
StackMap stack:
3: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 6
4: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokeinterface org.xml.sax.ContentHandler.characters:([CII)V
5: goto 16
6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 14
7: iconst_0
istore 2
start local 2 8: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 3
start local 3 9: goto 13
10: StackMap locals: int int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 4
start local 4 11: aload 1
aload 4
iconst_0
aload 4
arraylength
invokeinterface org.xml.sax.ContentHandler.characters:([CII)V
end local 4 12: iinc 2 1
StackMap locals:
StackMap stack:
13: iload 2
iload 3
if_icmplt 10
end local 3 end local 2 14: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
ifle 16
15: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokeinterface org.xml.sax.ContentHandler.characters:([CII)V
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/ctc/wstx/util/TextBuffer;
0 17 1 h Lorg/xml/sax/ContentHandler;
8 14 2 i I
9 14 3 len I
11 12 4 ch [C
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
h
public void fireSaxSpaceEvents(org.xml.sax.ContentHandler);
descriptor: (Lorg/xml/sax/ContentHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
ifnull 3
1: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
arraylength
invokeinterface org.xml.sax.ContentHandler.ignorableWhitespace:([CII)V
2: goto 16
StackMap locals:
StackMap stack:
3: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 6
4: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokeinterface org.xml.sax.ContentHandler.ignorableWhitespace:([CII)V
5: goto 16
6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 14
7: iconst_0
istore 2
start local 2 8: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 3
start local 3 9: goto 13
10: StackMap locals: int int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 4
start local 4 11: aload 1
aload 4
iconst_0
aload 4
arraylength
invokeinterface org.xml.sax.ContentHandler.ignorableWhitespace:([CII)V
end local 4 12: iinc 2 1
StackMap locals:
StackMap stack:
13: iload 2
iload 3
if_icmplt 10
end local 3 end local 2 14: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
ifle 16
15: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokeinterface org.xml.sax.ContentHandler.ignorableWhitespace:([CII)V
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/ctc/wstx/util/TextBuffer;
0 17 1 h Lorg/xml/sax/ContentHandler;
8 14 2 i I
9 14 3 len I
11 12 4 ch [C
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
h
public void fireSaxCommentEvent(org.xml.sax.ext.LexicalHandler);
descriptor: (Lorg/xml/sax/ext/LexicalHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
ifnull 3
1: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
arraylength
invokeinterface org.xml.sax.ext.LexicalHandler.comment:([CII)V
2: goto 11
StackMap locals:
StackMap stack:
3: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 6
4: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokeinterface org.xml.sax.ext.LexicalHandler.comment:([CII)V
5: goto 11
StackMap locals:
StackMap stack:
6: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 10
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifle 10
7: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.contentsAsArray:()[C
astore 2
start local 2 8: aload 1
aload 2
iconst_0
aload 2
arraylength
invokeinterface org.xml.sax.ext.LexicalHandler.comment:([CII)V
end local 2 9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokeinterface org.xml.sax.ext.LexicalHandler.comment:([CII)V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/ctc/wstx/util/TextBuffer;
0 12 1 h Lorg/xml/sax/ext/LexicalHandler;
8 9 2 ch [C
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
h
public void (com.ctc.wstx.dtd.DTDEventListener);
descriptor: (Lcom/ctc/wstx/dtd/DTDEventListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
ifnull 3
1: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
arraylength
invokeinterface com.ctc.wstx.dtd.DTDEventListener.dtdComment:([CII)V
2: goto 11
StackMap locals:
StackMap stack:
3: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 6
4: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
invokeinterface com.ctc.wstx.dtd.DTDEventListener.dtdComment:([CII)V
5: goto 11
StackMap locals:
StackMap stack:
6: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 10
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifle 10
7: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.contentsAsArray:()[C
astore 2
start local 2 8: aload 1
aload 2
iconst_0
aload 2
arraylength
invokeinterface com.ctc.wstx.dtd.DTDEventListener.dtdComment:([CII)V
end local 2 9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokeinterface com.ctc.wstx.dtd.DTDEventListener.dtdComment:([CII)V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/ctc/wstx/util/TextBuffer;
0 12 1 l Lcom/ctc/wstx/dtd/DTDEventListener;
8 9 2 ch [C
MethodParameters:
Name Flags
l
public void validateText(org.codehaus.stax2.validation.XMLValidator, boolean);
descriptor: (Lorg/codehaus/stax2/validation/XMLValidator;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 3
1: aload 1
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iadd
iload 2
invokevirtual org.codehaus.stax2.validation.XMLValidator.validateText:([CIIZ)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.contentsAsString:()Ljava/lang/String;
iload 2
invokevirtual org.codehaus.stax2.validation.XMLValidator.validateText:(Ljava/lang/String;Z)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/util/TextBuffer;
0 5 1 vld Lorg/codehaus/stax2/validation/XMLValidator;
0 5 2 lastSegment Z
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
vld
lastSegment
public void ensureNotShared();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 2
1: aload 0
bipush 16
invokevirtual com.ctc.wstx.util.TextBuffer.unshare:(I)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/util/TextBuffer;
public void append(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 2
1: aload 0
bipush 16
invokevirtual com.ctc.wstx.util.TextBuffer.unshare:(I)V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
3: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
4: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 2
start local 2 5: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
aload 2
arraylength
if_icmplt 8
6: aload 0
iconst_1
invokevirtual com.ctc.wstx.util.TextBuffer.expand:(I)V
7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 2
8: StackMap locals: char[]
StackMap stack:
aload 2
aload 0
dup
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
dup_x1
iconst_1
iadd
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iload 1
castore
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/ctc/wstx/util/TextBuffer;
0 10 1 c C
5 10 2 curr [C
MethodParameters:
Name Flags
c
public void append(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 2
1: aload 0
iload 3
invokevirtual com.ctc.wstx.util.TextBuffer.unshare:(I)V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
3: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
4: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 4
start local 4 5: aload 4
arraylength
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
isub
istore 5
start local 5 6: iload 5
iload 3
if_icmplt 10
7: aload 1
iload 2
aload 4
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 0
dup
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iload 3
iadd
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
9: goto 17
10: StackMap locals: char[] int
StackMap stack:
iload 5
ifle 14
11: aload 1
iload 2
aload 4
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: iload 2
iload 5
iadd
istore 2
13: iload 3
iload 5
isub
istore 3
14: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual com.ctc.wstx.util.TextBuffer.expand:(I)V
15: aload 1
iload 2
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: aload 0
iload 3
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
17: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/ctc/wstx/util/TextBuffer;
0 18 1 c [C
0 18 2 start I
0 18 3 len I
5 18 4 curr [C
6 18 5 max I
MethodParameters:
Name Flags
c
start
len
public void append(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 3
2: aload 0
iload 2
invokevirtual com.ctc.wstx.util.TextBuffer.unshare:(I)V
3: StackMap locals: int
StackMap stack:
aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
4: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mResultArray:[C
5: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 3
start local 3 6: aload 3
arraylength
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
isub
istore 4
start local 4 7: iload 4
iload 2
if_icmplt 11
8: aload 1
iconst_0
iload 2
aload 3
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokevirtual java.lang.String.getChars:(II[CI)V
9: aload 0
dup
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
iload 2
iadd
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
10: goto 17
11: StackMap locals: char[] int
StackMap stack:
iload 4
ifle 14
12: aload 1
iconst_0
iload 4
aload 3
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokevirtual java.lang.String.getChars:(II[CI)V
13: iload 2
iload 4
isub
istore 2
14: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual com.ctc.wstx.util.TextBuffer.expand:(I)V
15: aload 1
iload 4
iload 4
iload 2
iadd
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
invokevirtual java.lang.String.getChars:(II[CI)V
16: aload 0
iload 2
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
17: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/ctc/wstx/util/TextBuffer;
0 18 1 str Ljava/lang/String;
1 18 2 len I
6 18 3 curr [C
7 18 4 max I
MethodParameters:
Name Flags
str
public char[] getCurrentSegment();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 3
1: aload 0
iconst_1
invokevirtual com.ctc.wstx.util.TextBuffer.unshare:(I)V
2: goto 9
3: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 1
start local 1 4: aload 1
ifnonnull 7
5: aload 0
aload 0
iconst_0
invokevirtual com.ctc.wstx.util.TextBuffer.allocBuffer:(I)[C
putfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
6: goto 9
StackMap locals: char[]
StackMap stack:
7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
aload 1
arraylength
if_icmplt 9
8: aload 0
iconst_1
invokevirtual com.ctc.wstx.util.TextBuffer.expand:(I)V
end local 1 9: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/ctc/wstx/util/TextBuffer;
4 9 1 curr [C
public int getCurrentSegmentSize();
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.TextBuffer.mCurrentSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/TextBuffer;
public void setCurrentLength(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.TextBuffer.mCurrentSize:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/util/TextBuffer;
0 2 1 len I
MethodParameters:
Name Flags
len
public char[] finishCurrentSegment();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.ctc.wstx.util.TextBuffer.mHasSegments:Z
3: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
4: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
arraylength
istore 1
start local 1 5: aload 0
dup
getfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
iload 1
iadd
putfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
6: aload 0
iload 1
invokevirtual com.ctc.wstx.util.TextBuffer.calcNewSize:(I)I
newarray 5
astore 2
start local 2 7: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
8: aload 0
aload 2
putfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/ctc/wstx/util/TextBuffer;
5 10 1 oldLen I
7 10 2 curr [C
private int calcNewSize(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iload 1
sipush 8000
if_icmpge 1
iload 1
goto 2
StackMap locals:
StackMap stack:
1: iload 1
iconst_1
ishr
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: iload 1
iload 2
iadd
istore 3
start local 3 4: iload 3
ldc 262144
invokestatic java.lang.Math.min:(II)I
ireturn
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/TextBuffer;
0 5 1 latestSize I
3 5 2 incr I
4 5 3 size I
MethodParameters:
Name Flags
latestSize
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.contentsAsString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/TextBuffer;
public void unshare(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
istore 2
start local 2 1: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mInputLen:I
2: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
astore 3
start local 3 3: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
4: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
istore 4
start local 4 5: aload 0
iconst_m1
putfield com.ctc.wstx.util.TextBuffer.mInputStart:I
6: iload 2
iload 1
iadd
istore 5
start local 5 7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
ifnull 8
iload 5
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
arraylength
if_icmple 9
8: StackMap locals: com.ctc.wstx.util.TextBuffer int int char[] int int
StackMap stack:
aload 0
aload 0
iload 5
invokevirtual com.ctc.wstx.util.TextBuffer.allocBuffer:(I)[C
putfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
9: StackMap locals:
StackMap stack:
iload 2
ifle 11
10: aload 3
iload 4
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
12: aload 0
iload 2
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
13: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/ctc/wstx/util/TextBuffer;
0 14 1 needExtra I
1 14 2 len I
3 14 3 inputBuf [C
5 14 4 start I
7 14 5 needed I
MethodParameters:
Name Flags
needExtra
private void expand(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
astore 2
start local 2 3: aload 0
iconst_1
putfield com.ctc.wstx.util.TextBuffer.mHasSegments:Z
4: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
5: aload 2
arraylength
istore 3
start local 3 6: aload 0
dup
getfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
iload 3
iadd
putfield com.ctc.wstx.util.TextBuffer.mSegmentSize:I
7: iload 1
aload 0
iload 3
invokevirtual com.ctc.wstx.util.TextBuffer.calcNewSize:(I)I
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 8: iload 4
newarray 5
astore 2
9: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
10: aload 0
aload 2
putfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/ctc/wstx/util/TextBuffer;
0 12 1 roomNeeded I
3 12 2 curr [C
6 12 3 oldLen I
8 12 4 newSize I
MethodParameters:
Name Flags
roomNeeded
private char[] buildResultArray();
descriptor: ()[C
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
ifnull 2
1: aload 0
getfield com.ctc.wstx.util.TextBuffer.mResultString:Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
iflt 10
3: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
iconst_1
if_icmpge 5
4: invokestatic com.ctc.wstx.util.DataUtil.getEmptyCharArray:()[C
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
newarray 5
astore 1
start local 1 6: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputBuffer:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputStart:I
aload 1
iconst_0
7: aload 0
getfield com.ctc.wstx.util.TextBuffer.mInputLen:I
8: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: goto 26
end local 1 10: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.util.TextBuffer.size:()I
istore 2
start local 2 11: iload 2
iconst_1
if_icmpge 13
12: invokestatic com.ctc.wstx.util.DataUtil.getEmptyCharArray:()[C
areturn
13: StackMap locals: com.ctc.wstx.util.TextBuffer top int
StackMap stack:
iconst_0
istore 3
start local 3 14: iload 2
newarray 5
astore 1
start local 1 15: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
ifnull 25
16: iconst_0
istore 4
start local 4 17: aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 5
start local 5 18: goto 24
19: StackMap locals: com.ctc.wstx.util.TextBuffer char[] int int int int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mSegments:Ljava/util/ArrayList;
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 6
start local 6 20: aload 6
arraylength
istore 7
start local 7 21: aload 6
iconst_0
aload 1
iload 3
iload 7
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
22: iload 3
iload 7
iadd
istore 3
end local 7 end local 6 23: iinc 4 1
StackMap locals:
StackMap stack:
24: iload 4
iload 5
if_icmplt 19
end local 5 end local 4 25: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSegment:[C
iconst_0
aload 1
iload 3
aload 0
getfield com.ctc.wstx.util.TextBuffer.mCurrentSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 3 end local 2 26: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/ctc/wstx/util/TextBuffer;
6 10 1 result [C
15 27 1 result [C
11 26 2 size I
14 26 3 offset I
17 25 4 i I
18 25 5 len I
20 23 6 curr [C
21 23 7 currLen I
}
SourceFile: "TextBuffer.java"
NestMembers:
com.ctc.wstx.util.TextBuffer$BufferReader
InnerClasses:
private final BufferReader = com.ctc.wstx.util.TextBuffer$BufferReader of com.ctc.wstx.util.TextBuffer