public final class com.fasterxml.jackson.core.io.JsonStringEncoder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.fasterxml.jackson.core.io.JsonStringEncoder
super_class: java.lang.Object
{
private static final char[] HC;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] HB;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int SURR1_FIRST;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 55296
private static final int SURR1_LAST;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 56319
private static final int SURR2_FIRST;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 56320
private static final int SURR2_LAST;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 57343
private static final int INITIAL_CHAR_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 120
private static final int INITIAL_BYTE_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 200
private static final com.fasterxml.jackson.core.io.JsonStringEncoder instance;
descriptor: Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: .line 24
invokestatic com.fasterxml.jackson.core.io.CharTypes.copyHexChars:()[C
putstatic com.fasterxml.jackson.core.io.JsonStringEncoder.HC:[C
1: .line 26
invokestatic com.fasterxml.jackson.core.io.CharTypes.copyHexBytes:()[B
putstatic com.fasterxml.jackson.core.io.JsonStringEncoder.HB:[B
2: .line 43
new com.fasterxml.jackson.core.io.JsonStringEncoder
dup
invokespecial com.fasterxml.jackson.core.io.JsonStringEncoder.<init>:()V
putstatic com.fasterxml.jackson.core.io.JsonStringEncoder.instance:Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
0: .line 45
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
public static com.fasterxml.jackson.core.io.JsonStringEncoder getInstance();
descriptor: ()Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: .line 52
getstatic com.fasterxml.jackson.core.io.JsonStringEncoder.instance:Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public char[] quoteAsString(java.lang.String);
descriptor: (Ljava/lang/String;)[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=2
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
start local 1 // java.lang.String input
0: .line 67
bipush 120
newarray 5
astore 2 /* outputBuffer */
start local 2 // char[] outputBuffer
1: .line 68
invokestatic com.fasterxml.jackson.core.io.CharTypes.get7BitOutputEscapes:()[I
astore 3 /* escCodes */
start local 3 // int[] escCodes
2: .line 69
aload 3 /* escCodes */
arraylength
istore 4 /* escCodeCount */
start local 4 // int escCodeCount
3: .line 70
iconst_0
istore 5 /* inPtr */
start local 5 // int inPtr
4: .line 71
aload 1 /* input */
invokevirtual java.lang.String.length:()I
istore 6 /* inputLen */
start local 6 // int inputLen
5: .line 72
aconst_null
astore 7 /* textBuffer */
start local 7 // com.fasterxml.jackson.core.util.TextBuffer textBuffer
6: .line 73
iconst_0
istore 8 /* outPtr */
start local 8 // int outPtr
7: .line 74
aconst_null
astore 9 /* qbuf */
start local 9 // char[] qbuf
8: .line 77
goto 41
9: .line 80
StackMap locals: com.fasterxml.jackson.core.io.JsonStringEncoder java.lang.String char[] int[] int int int com.fasterxml.jackson.core.util.TextBuffer int char[]
StackMap stack:
aload 1 /* input */
iload 5 /* inPtr */
invokevirtual java.lang.String.charAt:(I)C
istore 10 /* c */
start local 10 // char c
10: .line 81
iload 10 /* c */
iload 4 /* escCodeCount */
if_icmpge 12
aload 3 /* escCodes */
iload 10 /* c */
iaload
ifeq 12
11: .line 82
goto 20
12: .line 84
StackMap locals: int
StackMap stack:
iload 8 /* outPtr */
aload 2 /* outputBuffer */
arraylength
if_icmplt 17
13: .line 85
aload 7 /* textBuffer */
ifnonnull 15
14: .line 86
aload 2 /* outputBuffer */
invokestatic com.fasterxml.jackson.core.util.TextBuffer.fromInitial:([C)Lcom/fasterxml/jackson/core/util/TextBuffer;
astore 7 /* textBuffer */
15: .line 88
StackMap locals:
StackMap stack:
aload 7 /* textBuffer */
invokevirtual com.fasterxml.jackson.core.util.TextBuffer.finishCurrentSegment:()[C
astore 2 /* outputBuffer */
16: .line 89
iconst_0
istore 8 /* outPtr */
17: .line 91
StackMap locals:
StackMap stack:
aload 2 /* outputBuffer */
iload 8 /* outPtr */
iinc 8 /* outPtr */ 1
iload 10 /* c */
castore
18: .line 92
iinc 5 /* inPtr */ 1
iload 5 /* inPtr */
iload 6 /* inputLen */
if_icmplt 9
19: .line 93
goto 42
end local 10 // char c
20: .line 97
StackMap locals:
StackMap stack:
aload 9 /* qbuf */
ifnonnull 22
21: .line 98
aload 0 /* this */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._qbuf:()[C
astore 9 /* qbuf */
22: .line 100
StackMap locals:
StackMap stack:
aload 1 /* input */
iload 5 /* inPtr */
iinc 5 /* inPtr */ 1
invokevirtual java.lang.String.charAt:(I)C
istore 10 /* d */
start local 10 // char d
23: .line 101
aload 3 /* escCodes */
iload 10 /* d */
iaload
istore 11 /* escCode */
start local 11 // int escCode
24: .line 102
iload 11 /* escCode */
ifge 26
25: .line 103
aload 0 /* this */
iload 10 /* d */
aload 9 /* qbuf */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._appendNumeric:(I[C)I
goto 27
26: .line 104
StackMap locals: int int
StackMap stack:
aload 0 /* this */
iload 11 /* escCode */
aload 9 /* qbuf */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._appendNamed:(I[C)I
27: .line 102
StackMap locals:
StackMap stack: int
istore 12 /* length */
start local 12 // int length
28: .line 106
iload 8 /* outPtr */
iload 12 /* length */
iadd
aload 2 /* outputBuffer */
arraylength
if_icmple 39
29: .line 107
aload 2 /* outputBuffer */
arraylength
iload 8 /* outPtr */
isub
istore 13 /* first */
start local 13 // int first
30: .line 108
iload 13 /* first */
ifle 32
31: .line 109
aload 9 /* qbuf */
iconst_0
aload 2 /* outputBuffer */
iload 8 /* outPtr */
iload 13 /* first */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
32: .line 111
StackMap locals: int int
StackMap stack:
aload 7 /* textBuffer */
ifnonnull 34
33: .line 112
aload 2 /* outputBuffer */
invokestatic com.fasterxml.jackson.core.util.TextBuffer.fromInitial:([C)Lcom/fasterxml/jackson/core/util/TextBuffer;
astore 7 /* textBuffer */
34: .line 114
StackMap locals:
StackMap stack:
aload 7 /* textBuffer */
invokevirtual com.fasterxml.jackson.core.util.TextBuffer.finishCurrentSegment:()[C
astore 2 /* outputBuffer */
35: .line 115
iload 12 /* length */
iload 13 /* first */
isub
istore 14 /* second */
start local 14 // int second
36: .line 116
aload 9 /* qbuf */
iload 13 /* first */
aload 2 /* outputBuffer */
iconst_0
iload 14 /* second */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
37: .line 117
iload 14 /* second */
istore 8 /* outPtr */
end local 14 // int second
end local 13 // int first
38: .line 118
goto 41
39: .line 119
StackMap locals:
StackMap stack:
aload 9 /* qbuf */
iconst_0
aload 2 /* outputBuffer */
iload 8 /* outPtr */
iload 12 /* length */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
40: .line 120
iload 8 /* outPtr */
iload 12 /* length */
iadd
istore 8 /* outPtr */
end local 12 // int length
end local 11 // int escCode
end local 10 // char d
41: .line 77
StackMap locals:
StackMap stack:
iload 5 /* inPtr */
iload 6 /* inputLen */
if_icmplt 9
42: .line 124
StackMap locals:
StackMap stack:
aload 7 /* textBuffer */
ifnonnull 44
43: .line 125
aload 2 /* outputBuffer */
iconst_0
iload 8 /* outPtr */
invokestatic java.util.Arrays.copyOfRange:([CII)[C
areturn
44: .line 127
StackMap locals:
StackMap stack:
aload 7 /* textBuffer */
iload 8 /* outPtr */
invokevirtual com.fasterxml.jackson.core.util.TextBuffer.setCurrentLength:(I)V
45: .line 128
aload 7 /* textBuffer */
invokevirtual com.fasterxml.jackson.core.util.TextBuffer.contentsAsArray:()[C
areturn
end local 9 // char[] qbuf
end local 8 // int outPtr
end local 7 // com.fasterxml.jackson.core.util.TextBuffer textBuffer
end local 6 // int inputLen
end local 5 // int inPtr
end local 4 // int escCodeCount
end local 3 // int[] escCodes
end local 2 // char[] outputBuffer
end local 1 // java.lang.String input
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
0 46 1 input Ljava/lang/String;
1 46 2 outputBuffer [C
2 46 3 escCodes [I
3 46 4 escCodeCount I
4 46 5 inPtr I
5 46 6 inputLen I
6 46 7 textBuffer Lcom/fasterxml/jackson/core/util/TextBuffer;
7 46 8 outPtr I
8 46 9 qbuf [C
10 20 10 c C
23 41 10 d C
24 41 11 escCode I
28 41 12 length I
30 38 13 first I
36 38 14 second I
MethodParameters:
Name Flags
input
public char[] quoteAsString(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=2
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
start local 1 // java.lang.CharSequence input
0: .line 139
aload 1 /* input */
instanceof java.lang.String
ifeq 2
1: .line 140
aload 0 /* this */
aload 1 /* input */
checkcast java.lang.String
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder.quoteAsString:(Ljava/lang/String;)[C
areturn
2: .line 143
StackMap locals:
StackMap stack:
aconst_null
astore 2 /* textBuffer */
start local 2 // com.fasterxml.jackson.core.util.TextBuffer textBuffer
3: .line 145
bipush 120
newarray 5
astore 3 /* outputBuffer */
start local 3 // char[] outputBuffer
4: .line 146
invokestatic com.fasterxml.jackson.core.io.CharTypes.get7BitOutputEscapes:()[I
astore 4 /* escCodes */
start local 4 // int[] escCodes
5: .line 147
aload 4 /* escCodes */
arraylength
istore 5 /* escCodeCount */
start local 5 // int escCodeCount
6: .line 148
iconst_0
istore 6 /* inPtr */
start local 6 // int inPtr
7: .line 149
aload 1 /* input */
invokeinterface java.lang.CharSequence.length:()I
istore 7 /* inputLen */
start local 7 // int inputLen
8: .line 150
iconst_0
istore 8 /* outPtr */
start local 8 // int outPtr
9: .line 151
aconst_null
astore 9 /* qbuf */
start local 9 // char[] qbuf
10: .line 154
goto 43
11: .line 157
StackMap locals: com.fasterxml.jackson.core.io.JsonStringEncoder java.lang.CharSequence com.fasterxml.jackson.core.util.TextBuffer char[] int[] int int int int char[]
StackMap stack:
aload 1 /* input */
iload 6 /* inPtr */
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 10 /* c */
start local 10 // char c
12: .line 158
iload 10 /* c */
iload 5 /* escCodeCount */
if_icmpge 14
aload 4 /* escCodes */
iload 10 /* c */
iaload
ifeq 14
13: .line 159
goto 22
14: .line 161
StackMap locals: int
StackMap stack:
iload 8 /* outPtr */
aload 3 /* outputBuffer */
arraylength
if_icmplt 19
15: .line 162
aload 2 /* textBuffer */
ifnonnull 17
16: .line 163
aload 3 /* outputBuffer */
invokestatic com.fasterxml.jackson.core.util.TextBuffer.fromInitial:([C)Lcom/fasterxml/jackson/core/util/TextBuffer;
astore 2 /* textBuffer */
17: .line 165
StackMap locals:
StackMap stack:
aload 2 /* textBuffer */
invokevirtual com.fasterxml.jackson.core.util.TextBuffer.finishCurrentSegment:()[C
astore 3 /* outputBuffer */
18: .line 166
iconst_0
istore 8 /* outPtr */
19: .line 168
StackMap locals:
StackMap stack:
aload 3 /* outputBuffer */
iload 8 /* outPtr */
iinc 8 /* outPtr */ 1
iload 10 /* c */
castore
20: .line 169
iinc 6 /* inPtr */ 1
iload 6 /* inPtr */
iload 7 /* inputLen */
if_icmplt 11
21: .line 170
goto 44
end local 10 // char c
22: .line 174
StackMap locals:
StackMap stack:
aload 9 /* qbuf */
ifnonnull 24
23: .line 175
aload 0 /* this */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._qbuf:()[C
astore 9 /* qbuf */
24: .line 177
StackMap locals:
StackMap stack:
aload 1 /* input */
iload 6 /* inPtr */
iinc 6 /* inPtr */ 1
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 10 /* d */
start local 10 // char d
25: .line 178
aload 4 /* escCodes */
iload 10 /* d */
iaload
istore 11 /* escCode */
start local 11 // int escCode
26: .line 179
iload 11 /* escCode */
ifge 28
27: .line 180
aload 0 /* this */
iload 10 /* d */
aload 9 /* qbuf */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._appendNumeric:(I[C)I
goto 29
28: .line 181
StackMap locals: int int
StackMap stack:
aload 0 /* this */
iload 11 /* escCode */
aload 9 /* qbuf */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._appendNamed:(I[C)I
29: .line 179
StackMap locals:
StackMap stack: int
istore 12 /* length */
start local 12 // int length
30: .line 183
iload 8 /* outPtr */
iload 12 /* length */
iadd
aload 3 /* outputBuffer */
arraylength
if_icmple 41
31: .line 184
aload 3 /* outputBuffer */
arraylength
iload 8 /* outPtr */
isub
istore 13 /* first */
start local 13 // int first
32: .line 185
iload 13 /* first */
ifle 34
33: .line 186
aload 9 /* qbuf */
iconst_0
aload 3 /* outputBuffer */
iload 8 /* outPtr */
iload 13 /* first */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
34: .line 188
StackMap locals: int int
StackMap stack:
aload 2 /* textBuffer */
ifnonnull 36
35: .line 189
aload 3 /* outputBuffer */
invokestatic com.fasterxml.jackson.core.util.TextBuffer.fromInitial:([C)Lcom/fasterxml/jackson/core/util/TextBuffer;
astore 2 /* textBuffer */
36: .line 191
StackMap locals:
StackMap stack:
aload 2 /* textBuffer */
invokevirtual com.fasterxml.jackson.core.util.TextBuffer.finishCurrentSegment:()[C
astore 3 /* outputBuffer */
37: .line 192
iload 12 /* length */
iload 13 /* first */
isub
istore 14 /* second */
start local 14 // int second
38: .line 193
aload 9 /* qbuf */
iload 13 /* first */
aload 3 /* outputBuffer */
iconst_0
iload 14 /* second */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
39: .line 194
iload 14 /* second */
istore 8 /* outPtr */
end local 14 // int second
end local 13 // int first
40: .line 195
goto 43
41: .line 196
StackMap locals:
StackMap stack:
aload 9 /* qbuf */
iconst_0
aload 3 /* outputBuffer */
iload 8 /* outPtr */
iload 12 /* length */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
42: .line 197
iload 8 /* outPtr */
iload 12 /* length */
iadd
istore 8 /* outPtr */
end local 12 // int length
end local 11 // int escCode
end local 10 // char d
43: .line 154
StackMap locals:
StackMap stack:
iload 6 /* inPtr */
iload 7 /* inputLen */
if_icmplt 11
44: .line 201
StackMap locals:
StackMap stack:
aload 2 /* textBuffer */
ifnonnull 46
45: .line 202
aload 3 /* outputBuffer */
iconst_0
iload 8 /* outPtr */
invokestatic java.util.Arrays.copyOfRange:([CII)[C
areturn
46: .line 204
StackMap locals:
StackMap stack:
aload 2 /* textBuffer */
iload 8 /* outPtr */
invokevirtual com.fasterxml.jackson.core.util.TextBuffer.setCurrentLength:(I)V
47: .line 205
aload 2 /* textBuffer */
invokevirtual com.fasterxml.jackson.core.util.TextBuffer.contentsAsArray:()[C
areturn
end local 9 // char[] qbuf
end local 8 // int outPtr
end local 7 // int inputLen
end local 6 // int inPtr
end local 5 // int escCodeCount
end local 4 // int[] escCodes
end local 3 // char[] outputBuffer
end local 2 // com.fasterxml.jackson.core.util.TextBuffer textBuffer
end local 1 // java.lang.CharSequence input
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
0 48 1 input Ljava/lang/CharSequence;
3 48 2 textBuffer Lcom/fasterxml/jackson/core/util/TextBuffer;
4 48 3 outputBuffer [C
5 48 4 escCodes [I
6 48 5 escCodeCount I
7 48 6 inPtr I
8 48 7 inputLen I
9 48 8 outPtr I
10 48 9 qbuf [C
12 22 10 c C
25 43 10 d C
26 43 11 escCode I
30 43 12 length I
32 40 13 first I
38 40 14 second I
MethodParameters:
Name Flags
input
public void quoteAsString(java.lang.CharSequence, java.lang.StringBuilder);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/StringBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=3
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
start local 1 // java.lang.CharSequence input
start local 2 // java.lang.StringBuilder output
0: .line 217
invokestatic com.fasterxml.jackson.core.io.CharTypes.get7BitOutputEscapes:()[I
astore 3 /* escCodes */
start local 3 // int[] escCodes
1: .line 218
aload 3 /* escCodes */
arraylength
istore 4 /* escCodeCount */
start local 4 // int escCodeCount
2: .line 219
iconst_0
istore 5 /* inPtr */
start local 5 // int inPtr
3: .line 220
aload 1 /* input */
invokeinterface java.lang.CharSequence.length:()I
istore 6 /* inputLen */
start local 6 // int inputLen
4: .line 221
aconst_null
astore 7 /* qbuf */
start local 7 // char[] qbuf
5: .line 224
goto 21
6: .line 227
StackMap locals: com.fasterxml.jackson.core.io.JsonStringEncoder java.lang.CharSequence java.lang.StringBuilder int[] int int int char[]
StackMap stack:
aload 1 /* input */
iload 5 /* inPtr */
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 8 /* c */
start local 8 // char c
7: .line 228
iload 8 /* c */
iload 4 /* escCodeCount */
if_icmpge 9
aload 3 /* escCodes */
iload 8 /* c */
iaload
ifeq 9
8: .line 229
goto 12
9: .line 231
StackMap locals: int
StackMap stack:
aload 2 /* output */
iload 8 /* c */
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: .line 232
iinc 5 /* inPtr */ 1
iload 5 /* inPtr */
iload 6 /* inputLen */
if_icmplt 6
11: .line 233
goto 22
end local 8 // char c
12: .line 237
StackMap locals:
StackMap stack:
aload 7 /* qbuf */
ifnonnull 14
13: .line 238
aload 0 /* this */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._qbuf:()[C
astore 7 /* qbuf */
14: .line 240
StackMap locals:
StackMap stack:
aload 1 /* input */
iload 5 /* inPtr */
iinc 5 /* inPtr */ 1
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 8 /* d */
start local 8 // char d
15: .line 241
aload 3 /* escCodes */
iload 8 /* d */
iaload
istore 9 /* escCode */
start local 9 // int escCode
16: .line 242
iload 9 /* escCode */
ifge 18
17: .line 243
aload 0 /* this */
iload 8 /* d */
aload 7 /* qbuf */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._appendNumeric:(I[C)I
goto 19
18: .line 244
StackMap locals: int int
StackMap stack:
aload 0 /* this */
iload 9 /* escCode */
aload 7 /* qbuf */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._appendNamed:(I[C)I
19: .line 242
StackMap locals:
StackMap stack: int
istore 10 /* length */
start local 10 // int length
20: .line 245
aload 2 /* output */
aload 7 /* qbuf */
iconst_0
iload 10 /* length */
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
end local 10 // int length
end local 9 // int escCode
end local 8 // char d
21: .line 224
StackMap locals:
StackMap stack:
iload 5 /* inPtr */
iload 6 /* inputLen */
if_icmplt 6
22: .line 247
StackMap locals:
StackMap stack:
return
end local 7 // char[] qbuf
end local 6 // int inputLen
end local 5 // int inPtr
end local 4 // int escCodeCount
end local 3 // int[] escCodes
end local 2 // java.lang.StringBuilder output
end local 1 // java.lang.CharSequence input
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
0 23 1 input Ljava/lang/CharSequence;
0 23 2 output Ljava/lang/StringBuilder;
1 23 3 escCodes [I
2 23 4 escCodeCount I
3 23 5 inPtr I
4 23 6 inputLen I
5 23 7 qbuf [C
7 12 8 c C
15 21 8 d C
16 21 9 escCode I
20 21 10 length I
MethodParameters:
Name Flags
input
output
public byte[] quoteAsUTF8(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=2
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
start local 1 // java.lang.String text
0: .line 256
iconst_0
istore 2 /* inputPtr */
start local 2 // int inputPtr
1: .line 257
aload 1 /* text */
invokevirtual java.lang.String.length:()I
istore 3 /* inputEnd */
start local 3 // int inputEnd
2: .line 258
iconst_0
istore 4 /* outputPtr */
start local 4 // int outputPtr
3: .line 259
sipush 200
newarray 8
astore 5 /* outputBuffer */
start local 5 // byte[] outputBuffer
4: .line 260
aconst_null
astore 6 /* bb */
start local 6 // com.fasterxml.jackson.core.util.ByteArrayBuilder bb
5: .line 263
goto 62
6: .line 264
StackMap locals: com.fasterxml.jackson.core.io.JsonStringEncoder java.lang.String int int int byte[] com.fasterxml.jackson.core.util.ByteArrayBuilder
StackMap stack:
invokestatic com.fasterxml.jackson.core.io.CharTypes.get7BitOutputEscapes:()[I
astore 7 /* escCodes */
start local 7 // int[] escCodes
7: .line 268
StackMap locals: int[]
StackMap stack:
aload 1 /* text */
iload 2 /* inputPtr */
invokevirtual java.lang.String.charAt:(I)C
istore 8 /* ch */
start local 8 // int ch
8: .line 269
iload 8 /* ch */
bipush 127
if_icmpgt 18
aload 7 /* escCodes */
iload 8 /* ch */
iaload
ifeq 10
9: .line 270
goto 18
10: .line 272
StackMap locals: int
StackMap stack:
iload 4 /* outputPtr */
aload 5 /* outputBuffer */
arraylength
if_icmplt 15
11: .line 273
aload 6 /* bb */
ifnonnull 13
12: .line 274
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
invokestatic com.fasterxml.jackson.core.util.ByteArrayBuilder.fromInitial:([BI)Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
astore 6 /* bb */
13: .line 276
StackMap locals:
StackMap stack:
aload 6 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
14: .line 277
iconst_0
istore 4 /* outputPtr */
15: .line 279
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
iload 8 /* ch */
i2b
bastore
16: .line 280
iinc 2 /* inputPtr */ 1
iload 2 /* inputPtr */
iload 3 /* inputEnd */
if_icmplt 7
17: .line 281
goto 63
end local 8 // int ch
18: .line 284
StackMap locals:
StackMap stack:
aload 6 /* bb */
ifnonnull 20
19: .line 285
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
invokestatic com.fasterxml.jackson.core.util.ByteArrayBuilder.fromInitial:([BI)Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
astore 6 /* bb */
20: .line 287
StackMap locals:
StackMap stack:
iload 4 /* outputPtr */
aload 5 /* outputBuffer */
arraylength
if_icmplt 23
21: .line 288
aload 6 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
22: .line 289
iconst_0
istore 4 /* outputPtr */
23: .line 292
StackMap locals:
StackMap stack:
aload 1 /* text */
iload 2 /* inputPtr */
iinc 2 /* inputPtr */ 1
invokevirtual java.lang.String.charAt:(I)C
istore 8 /* ch */
start local 8 // int ch
24: .line 293
iload 8 /* ch */
bipush 127
if_icmpgt 29
25: .line 294
aload 7 /* escCodes */
iload 8 /* ch */
iaload
istore 9 /* escape */
start local 9 // int escape
26: .line 296
aload 0 /* this */
iload 8 /* ch */
iload 9 /* escape */
aload 6 /* bb */
iload 4 /* outputPtr */
invokevirtual com.fasterxml.jackson.core.io.JsonStringEncoder._appendByte:(IILcom/fasterxml/jackson/core/util/ByteArrayBuilder;I)I
istore 4 /* outputPtr */
27: .line 297
aload 6 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.getCurrentSegment:()[B
astore 5 /* outputBuffer */
28: .line 298
goto 62
end local 9 // int escape
29: .line 300
StackMap locals: int
StackMap stack:
iload 8 /* ch */
sipush 2047
if_icmpgt 33
30: .line 301
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 192
iload 8 /* ch */
bipush 6
ishr
ior
i2b
bastore
31: .line 302
sipush 128
iload 8 /* ch */
bipush 63
iand
ior
istore 8 /* ch */
32: .line 303
goto 58
33: .line 305
StackMap locals:
StackMap stack:
iload 8 /* ch */
ldc 55296
if_icmplt 34
iload 8 /* ch */
ldc 57343
if_icmple 41
34: .line 306
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 224
iload 8 /* ch */
bipush 12
ishr
ior
i2b
bastore
35: .line 307
iload 4 /* outputPtr */
aload 5 /* outputBuffer */
arraylength
if_icmplt 38
36: .line 308
aload 6 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
37: .line 309
iconst_0
istore 4 /* outputPtr */
38: .line 311
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* ch */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
39: .line 312
sipush 128
iload 8 /* ch */
bipush 63
iand
ior
istore 8 /* ch */
40: .line 313
goto 58
41: .line 314
StackMap locals:
StackMap stack:
iload 8 /* ch */
ldc 56319
if_icmple 43
42: .line 315
iload 8 /* ch */
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._illegal:(I)V
43: .line 318
StackMap locals:
StackMap stack:
iload 2 /* inputPtr */
iload 3 /* inputEnd */
if_icmplt 45
44: .line 319
iload 8 /* ch */
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._illegal:(I)V
45: .line 321
StackMap locals:
StackMap stack:
iload 8 /* ch */
aload 1 /* text */
iload 2 /* inputPtr */
iinc 2 /* inputPtr */ 1
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._convert:(II)I
istore 8 /* ch */
46: .line 322
iload 8 /* ch */
ldc 1114111
if_icmple 48
47: .line 323
iload 8 /* ch */
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._illegal:(I)V
48: .line 325
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 240
iload 8 /* ch */
bipush 18
ishr
ior
i2b
bastore
49: .line 326
iload 4 /* outputPtr */
aload 5 /* outputBuffer */
arraylength
if_icmplt 52
50: .line 327
aload 6 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
51: .line 328
iconst_0
istore 4 /* outputPtr */
52: .line 330
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* ch */
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
53: .line 331
iload 4 /* outputPtr */
aload 5 /* outputBuffer */
arraylength
if_icmplt 56
54: .line 332
aload 6 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
55: .line 333
iconst_0
istore 4 /* outputPtr */
56: .line 335
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* ch */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
57: .line 336
sipush 128
iload 8 /* ch */
bipush 63
iand
ior
istore 8 /* ch */
58: .line 339
StackMap locals:
StackMap stack:
iload 4 /* outputPtr */
aload 5 /* outputBuffer */
arraylength
if_icmplt 61
59: .line 340
aload 6 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
60: .line 341
iconst_0
istore 4 /* outputPtr */
61: .line 343
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
iload 8 /* ch */
i2b
bastore
end local 8 // int ch
end local 7 // int[] escCodes
62: .line 263
StackMap locals:
StackMap stack:
iload 2 /* inputPtr */
iload 3 /* inputEnd */
if_icmplt 6
63: .line 345
StackMap locals:
StackMap stack:
aload 6 /* bb */
ifnonnull 65
64: .line 346
aload 5 /* outputBuffer */
iconst_0
iload 4 /* outputPtr */
invokestatic java.util.Arrays.copyOfRange:([BII)[B
areturn
65: .line 348
StackMap locals:
StackMap stack:
aload 6 /* bb */
iload 4 /* outputPtr */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.completeAndCoalesce:(I)[B
areturn
end local 6 // com.fasterxml.jackson.core.util.ByteArrayBuilder bb
end local 5 // byte[] outputBuffer
end local 4 // int outputPtr
end local 3 // int inputEnd
end local 2 // int inputPtr
end local 1 // java.lang.String text
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 66 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
0 66 1 text Ljava/lang/String;
1 66 2 inputPtr I
2 66 3 inputEnd I
3 66 4 outputPtr I
4 66 5 outputBuffer [B
5 66 6 bb Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
7 62 7 escCodes [I
8 18 8 ch I
24 62 8 ch I
26 29 9 escape I
MethodParameters:
Name Flags
text
public byte[] encodeAsUTF8(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
start local 1 // java.lang.String text
0: .line 358
iconst_0
istore 2 /* inputPtr */
start local 2 // int inputPtr
1: .line 359
aload 1 /* text */
invokevirtual java.lang.String.length:()I
istore 3 /* inputEnd */
start local 3 // int inputEnd
2: .line 360
iconst_0
istore 4 /* outputPtr */
start local 4 // int outputPtr
3: .line 361
sipush 200
newarray 8
astore 5 /* outputBuffer */
start local 5 // byte[] outputBuffer
4: .line 362
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
start local 6 // int outputEnd
5: .line 363
aconst_null
astore 7 /* bb */
start local 7 // com.fasterxml.jackson.core.util.ByteArrayBuilder bb
6: .line 366
goto 60
7: .line 367
StackMap locals: com.fasterxml.jackson.core.io.JsonStringEncoder java.lang.String int int int byte[] int com.fasterxml.jackson.core.util.ByteArrayBuilder
StackMap stack:
aload 1 /* text */
iload 2 /* inputPtr */
iinc 2 /* inputPtr */ 1
invokevirtual java.lang.String.charAt:(I)C
istore 8 /* c */
start local 8 // int c
8: .line 370
goto 19
9: .line 371
StackMap locals: int
StackMap stack:
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 15
10: .line 372
aload 7 /* bb */
ifnonnull 12
11: .line 373
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
invokestatic com.fasterxml.jackson.core.util.ByteArrayBuilder.fromInitial:([BI)Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
astore 7 /* bb */
12: .line 375
StackMap locals:
StackMap stack:
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
13: .line 376
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
14: .line 377
iconst_0
istore 4 /* outputPtr */
15: .line 379
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
iload 8 /* c */
i2b
bastore
16: .line 380
iload 2 /* inputPtr */
iload 3 /* inputEnd */
if_icmplt 18
17: .line 381
goto 61
18: .line 383
StackMap locals:
StackMap stack:
aload 1 /* text */
iload 2 /* inputPtr */
iinc 2 /* inputPtr */ 1
invokevirtual java.lang.String.charAt:(I)C
istore 8 /* c */
19: .line 370
StackMap locals:
StackMap stack:
iload 8 /* c */
bipush 127
if_icmple 9
20: .line 387
aload 7 /* bb */
ifnonnull 22
21: .line 388
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
invokestatic com.fasterxml.jackson.core.util.ByteArrayBuilder.fromInitial:([BI)Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
astore 7 /* bb */
22: .line 390
StackMap locals:
StackMap stack:
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 26
23: .line 391
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
24: .line 392
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
25: .line 393
iconst_0
istore 4 /* outputPtr */
26: .line 395
StackMap locals:
StackMap stack:
iload 8 /* c */
sipush 2048
if_icmpge 29
27: .line 396
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 192
iload 8 /* c */
bipush 6
ishr
ior
i2b
bastore
28: .line 397
goto 55
29: .line 399
StackMap locals:
StackMap stack:
iload 8 /* c */
ldc 55296
if_icmplt 30
iload 8 /* c */
ldc 57343
if_icmple 37
30: .line 400
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 224
iload 8 /* c */
bipush 12
ishr
ior
i2b
bastore
31: .line 401
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 35
32: .line 402
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
33: .line 403
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
34: .line 404
iconst_0
istore 4 /* outputPtr */
35: .line 406
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* c */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
36: .line 407
goto 55
37: .line 408
StackMap locals:
StackMap stack:
iload 8 /* c */
ldc 56319
if_icmple 39
38: .line 409
iload 8 /* c */
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._illegal:(I)V
39: .line 412
StackMap locals:
StackMap stack:
iload 2 /* inputPtr */
iload 3 /* inputEnd */
if_icmplt 41
40: .line 413
iload 8 /* c */
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._illegal:(I)V
41: .line 415
StackMap locals:
StackMap stack:
iload 8 /* c */
aload 1 /* text */
iload 2 /* inputPtr */
iinc 2 /* inputPtr */ 1
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._convert:(II)I
istore 8 /* c */
42: .line 416
iload 8 /* c */
ldc 1114111
if_icmple 44
43: .line 417
iload 8 /* c */
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._illegal:(I)V
44: .line 419
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 240
iload 8 /* c */
bipush 18
ishr
ior
i2b
bastore
45: .line 420
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 49
46: .line 421
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
47: .line 422
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
48: .line 423
iconst_0
istore 4 /* outputPtr */
49: .line 425
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* c */
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
50: .line 426
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 54
51: .line 427
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
52: .line 428
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
53: .line 429
iconst_0
istore 4 /* outputPtr */
54: .line 431
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* c */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
55: .line 434
StackMap locals:
StackMap stack:
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 59
56: .line 435
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
57: .line 436
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
58: .line 437
iconst_0
istore 4 /* outputPtr */
59: .line 439
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* c */
bipush 63
iand
ior
i2b
bastore
end local 8 // int c
60: .line 366
StackMap locals:
StackMap stack:
iload 2 /* inputPtr */
iload 3 /* inputEnd */
if_icmplt 7
61: .line 441
StackMap locals:
StackMap stack:
aload 7 /* bb */
ifnonnull 63
62: .line 442
aload 5 /* outputBuffer */
iconst_0
iload 4 /* outputPtr */
invokestatic java.util.Arrays.copyOfRange:([BII)[B
areturn
63: .line 444
StackMap locals:
StackMap stack:
aload 7 /* bb */
iload 4 /* outputPtr */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.completeAndCoalesce:(I)[B
areturn
end local 7 // com.fasterxml.jackson.core.util.ByteArrayBuilder bb
end local 6 // int outputEnd
end local 5 // byte[] outputBuffer
end local 4 // int outputPtr
end local 3 // int inputEnd
end local 2 // int inputPtr
end local 1 // java.lang.String text
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 64 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
0 64 1 text Ljava/lang/String;
1 64 2 inputPtr I
2 64 3 inputEnd I
3 64 4 outputPtr I
4 64 5 outputBuffer [B
5 64 6 outputEnd I
6 64 7 bb Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
8 60 8 c I
MethodParameters:
Name Flags
text
public byte[] encodeAsUTF8(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
start local 1 // java.lang.CharSequence text
0: .line 455
iconst_0
istore 2 /* inputPtr */
start local 2 // int inputPtr
1: .line 456
aload 1 /* text */
invokeinterface java.lang.CharSequence.length:()I
istore 3 /* inputEnd */
start local 3 // int inputEnd
2: .line 457
iconst_0
istore 4 /* outputPtr */
start local 4 // int outputPtr
3: .line 458
sipush 200
newarray 8
astore 5 /* outputBuffer */
start local 5 // byte[] outputBuffer
4: .line 459
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
start local 6 // int outputEnd
5: .line 460
aconst_null
astore 7 /* bb */
start local 7 // com.fasterxml.jackson.core.util.ByteArrayBuilder bb
6: .line 463
goto 60
7: .line 464
StackMap locals: com.fasterxml.jackson.core.io.JsonStringEncoder java.lang.CharSequence int int int byte[] int com.fasterxml.jackson.core.util.ByteArrayBuilder
StackMap stack:
aload 1 /* text */
iload 2 /* inputPtr */
iinc 2 /* inputPtr */ 1
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 8 /* c */
start local 8 // int c
8: .line 467
goto 19
9: .line 468
StackMap locals: int
StackMap stack:
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 15
10: .line 469
aload 7 /* bb */
ifnonnull 12
11: .line 470
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
invokestatic com.fasterxml.jackson.core.util.ByteArrayBuilder.fromInitial:([BI)Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
astore 7 /* bb */
12: .line 472
StackMap locals:
StackMap stack:
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
13: .line 473
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
14: .line 474
iconst_0
istore 4 /* outputPtr */
15: .line 476
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
iload 8 /* c */
i2b
bastore
16: .line 477
iload 2 /* inputPtr */
iload 3 /* inputEnd */
if_icmplt 18
17: .line 478
goto 61
18: .line 480
StackMap locals:
StackMap stack:
aload 1 /* text */
iload 2 /* inputPtr */
iinc 2 /* inputPtr */ 1
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 8 /* c */
19: .line 467
StackMap locals:
StackMap stack:
iload 8 /* c */
bipush 127
if_icmple 9
20: .line 484
aload 7 /* bb */
ifnonnull 22
21: .line 485
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
invokestatic com.fasterxml.jackson.core.util.ByteArrayBuilder.fromInitial:([BI)Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
astore 7 /* bb */
22: .line 487
StackMap locals:
StackMap stack:
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 26
23: .line 488
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
24: .line 489
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
25: .line 490
iconst_0
istore 4 /* outputPtr */
26: .line 492
StackMap locals:
StackMap stack:
iload 8 /* c */
sipush 2048
if_icmpge 29
27: .line 493
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 192
iload 8 /* c */
bipush 6
ishr
ior
i2b
bastore
28: .line 494
goto 55
29: .line 496
StackMap locals:
StackMap stack:
iload 8 /* c */
ldc 55296
if_icmplt 30
iload 8 /* c */
ldc 57343
if_icmple 37
30: .line 497
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 224
iload 8 /* c */
bipush 12
ishr
ior
i2b
bastore
31: .line 498
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 35
32: .line 499
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
33: .line 500
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
34: .line 501
iconst_0
istore 4 /* outputPtr */
35: .line 503
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* c */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
36: .line 504
goto 55
37: .line 505
StackMap locals:
StackMap stack:
iload 8 /* c */
ldc 56319
if_icmple 39
38: .line 506
iload 8 /* c */
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._illegal:(I)V
39: .line 509
StackMap locals:
StackMap stack:
iload 2 /* inputPtr */
iload 3 /* inputEnd */
if_icmplt 41
40: .line 510
iload 8 /* c */
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._illegal:(I)V
41: .line 512
StackMap locals:
StackMap stack:
iload 8 /* c */
aload 1 /* text */
iload 2 /* inputPtr */
iinc 2 /* inputPtr */ 1
invokeinterface java.lang.CharSequence.charAt:(I)C
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._convert:(II)I
istore 8 /* c */
42: .line 513
iload 8 /* c */
ldc 1114111
if_icmple 44
43: .line 514
iload 8 /* c */
invokestatic com.fasterxml.jackson.core.io.JsonStringEncoder._illegal:(I)V
44: .line 516
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 240
iload 8 /* c */
bipush 18
ishr
ior
i2b
bastore
45: .line 517
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 49
46: .line 518
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
47: .line 519
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
48: .line 520
iconst_0
istore 4 /* outputPtr */
49: .line 522
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* c */
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
50: .line 523
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 54
51: .line 524
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
52: .line 525
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
53: .line 526
iconst_0
istore 4 /* outputPtr */
54: .line 528
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* c */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
55: .line 531
StackMap locals:
StackMap stack:
iload 4 /* outputPtr */
iload 6 /* outputEnd */
if_icmplt 59
56: .line 532
aload 7 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.finishCurrentSegment:()[B
astore 5 /* outputBuffer */
57: .line 533
aload 5 /* outputBuffer */
arraylength
istore 6 /* outputEnd */
58: .line 534
iconst_0
istore 4 /* outputPtr */
59: .line 536
StackMap locals:
StackMap stack:
aload 5 /* outputBuffer */
iload 4 /* outputPtr */
iinc 4 /* outputPtr */ 1
sipush 128
iload 8 /* c */
bipush 63
iand
ior
i2b
bastore
end local 8 // int c
60: .line 463
StackMap locals:
StackMap stack:
iload 2 /* inputPtr */
iload 3 /* inputEnd */
if_icmplt 7
61: .line 538
StackMap locals:
StackMap stack:
aload 7 /* bb */
ifnonnull 63
62: .line 539
aload 5 /* outputBuffer */
iconst_0
iload 4 /* outputPtr */
invokestatic java.util.Arrays.copyOfRange:([BII)[B
areturn
63: .line 541
StackMap locals:
StackMap stack:
aload 7 /* bb */
iload 4 /* outputPtr */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.completeAndCoalesce:(I)[B
areturn
end local 7 // com.fasterxml.jackson.core.util.ByteArrayBuilder bb
end local 6 // int outputEnd
end local 5 // byte[] outputBuffer
end local 4 // int outputPtr
end local 3 // int inputEnd
end local 2 // int inputPtr
end local 1 // java.lang.CharSequence text
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 64 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
0 64 1 text Ljava/lang/CharSequence;
1 64 2 inputPtr I
2 64 3 inputEnd I
3 64 4 outputPtr I
4 64 5 outputBuffer [B
5 64 6 outputEnd I
6 64 7 bb Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
8 60 8 c I
MethodParameters:
Name Flags
text
private char[] _qbuf();
descriptor: ()[C
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
0: .line 551
bipush 6
newarray 5
astore 1 /* qbuf */
start local 1 // char[] qbuf
1: .line 552
aload 1 /* qbuf */
iconst_0
bipush 92
castore
2: .line 553
aload 1 /* qbuf */
iconst_2
bipush 48
castore
3: .line 554
aload 1 /* qbuf */
iconst_3
bipush 48
castore
4: .line 555
aload 1 /* qbuf */
areturn
end local 1 // char[] qbuf
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
1 5 1 qbuf [C
private int _appendNumeric(int, char[]);
descriptor: (I[C)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
start local 1 // int value
start local 2 // char[] qbuf
0: .line 559
aload 2 /* qbuf */
iconst_1
bipush 117
castore
1: .line 561
aload 2 /* qbuf */
iconst_4
getstatic com.fasterxml.jackson.core.io.JsonStringEncoder.HC:[C
iload 1 /* value */
iconst_4
ishr
caload
castore
2: .line 562
aload 2 /* qbuf */
iconst_5
getstatic com.fasterxml.jackson.core.io.JsonStringEncoder.HC:[C
iload 1 /* value */
bipush 15
iand
caload
castore
3: .line 563
bipush 6
ireturn
end local 2 // char[] qbuf
end local 1 // int value
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
0 4 1 value I
0 4 2 qbuf [C
MethodParameters:
Name Flags
value
qbuf
private int _appendNamed(int, char[]);
descriptor: (I[C)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
start local 1 // int esc
start local 2 // char[] qbuf
0: .line 567
aload 2 /* qbuf */
iconst_1
iload 1 /* esc */
i2c
castore
1: .line 568
iconst_2
ireturn
end local 2 // char[] qbuf
end local 1 // int esc
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
0 2 1 esc I
0 2 2 qbuf [C
MethodParameters:
Name Flags
esc
qbuf
private int _appendByte(int, int, com.fasterxml.jackson.core.util.ByteArrayBuilder, int);
descriptor: (IILcom/fasterxml/jackson/core/util/ByteArrayBuilder;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=5
start local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
start local 1 // int ch
start local 2 // int esc
start local 3 // com.fasterxml.jackson.core.util.ByteArrayBuilder bb
start local 4 // int ptr
0: .line 573
aload 3 /* bb */
iload 4 /* ptr */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.setCurrentSegmentLength:(I)V
1: .line 574
aload 3 /* bb */
bipush 92
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.append:(I)V
2: .line 575
iload 2 /* esc */
ifge 15
3: .line 576
aload 3 /* bb */
bipush 117
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.append:(I)V
4: .line 577
iload 1 /* ch */
sipush 255
if_icmple 10
5: .line 578
iload 1 /* ch */
bipush 8
ishr
istore 5 /* hi */
start local 5 // int hi
6: .line 579
aload 3 /* bb */
getstatic com.fasterxml.jackson.core.io.JsonStringEncoder.HB:[B
iload 5 /* hi */
iconst_4
ishr
baload
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.append:(I)V
7: .line 580
aload 3 /* bb */
getstatic com.fasterxml.jackson.core.io.JsonStringEncoder.HB:[B
iload 5 /* hi */
bipush 15
iand
baload
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.append:(I)V
8: .line 581
iload 1 /* ch */
sipush 255
iand
istore 1 /* ch */
end local 5 // int hi
9: .line 582
goto 12
10: .line 583
StackMap locals:
StackMap stack:
aload 3 /* bb */
bipush 48
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.append:(I)V
11: .line 584
aload 3 /* bb */
bipush 48
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.append:(I)V
12: .line 586
StackMap locals:
StackMap stack:
aload 3 /* bb */
getstatic com.fasterxml.jackson.core.io.JsonStringEncoder.HB:[B
iload 1 /* ch */
iconst_4
ishr
baload
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.append:(I)V
13: .line 587
aload 3 /* bb */
getstatic com.fasterxml.jackson.core.io.JsonStringEncoder.HB:[B
iload 1 /* ch */
bipush 15
iand
baload
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.append:(I)V
14: .line 588
goto 16
15: .line 589
StackMap locals:
StackMap stack:
aload 3 /* bb */
iload 2 /* esc */
i2b
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.append:(I)V
16: .line 591
StackMap locals:
StackMap stack:
aload 3 /* bb */
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.getCurrentSegmentLength:()I
ireturn
end local 4 // int ptr
end local 3 // com.fasterxml.jackson.core.util.ByteArrayBuilder bb
end local 2 // int esc
end local 1 // int ch
end local 0 // com.fasterxml.jackson.core.io.JsonStringEncoder this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/fasterxml/jackson/core/io/JsonStringEncoder;
0 17 1 ch I
0 17 2 esc I
0 17 3 bb Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
0 17 4 ptr I
6 9 5 hi I
MethodParameters:
Name Flags
ch
esc
bb
ptr
private static int _convert(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 // int p1
start local 1 // int p2
0: .line 596
iload 1 /* p2 */
ldc 56320
if_icmplt 1
iload 1 /* p2 */
ldc 57343
if_icmple 2
1: .line 597
StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Broken surrogate pair: first char 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0 /* p1 */
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", second 0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1 /* p2 */
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; illegal combination"
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
2: .line 599
StackMap locals:
StackMap stack:
ldc 65536
iload 0 /* p1 */
ldc 55296
isub
bipush 10
ishl
iadd
iload 1 /* p2 */
ldc 56320
isub
iadd
ireturn
end local 1 // int p2
end local 0 // int p1
LocalVariableTable:
Start End Slot Name Signature
0 3 0 p1 I
0 3 1 p2 I
MethodParameters:
Name Flags
p1
p2
private static void _illegal(int);
descriptor: (I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 // int c
0: .line 603
new java.lang.IllegalArgumentException
dup
iload 0 /* c */
invokestatic com.fasterxml.jackson.core.io.UTF8Writer.illegalSurrogateDesc:(I)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 // int c
LocalVariableTable:
Start End Slot Name Signature
0 1 0 c I
MethodParameters:
Name Flags
c
}
SourceFile: "JsonStringEncoder.java"