public final class com.fasterxml.jackson.core.io.UTF8Writer extends java.io.Writer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.fasterxml.jackson.core.io.UTF8Writer
super_class: java.io.Writer
{
static final int SURR1_FIRST;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 55296
static final int SURR1_LAST;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 56319
static final int SURR2_FIRST;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 56320
static final int SURR2_LAST;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 57343
private final com.fasterxml.jackson.core.io.IOContext _context;
descriptor: Lcom/fasterxml/jackson/core/io/IOContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.io.OutputStream _out;
descriptor: Ljava/io/OutputStream;
flags: (0x0002) ACC_PRIVATE
private byte[] _outBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private final int _outBufferEnd;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int _outPtr;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int _surrogate;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(com.fasterxml.jackson.core.io.IOContext, java.io.OutputStream);
descriptor: (Lcom/fasterxml/jackson/core/io/IOContext;Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.Writer.<init>:()V
1: aload 0
aload 1
putfield com.fasterxml.jackson.core.io.UTF8Writer._context:Lcom/fasterxml/jackson/core/io/IOContext;
2: aload 0
aload 2
putfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
3: aload 0
aload 1
invokevirtual com.fasterxml.jackson.core.io.IOContext.allocWriteEncodingBuffer:()[B
putfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
4: aload 0
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
arraylength
iconst_4
isub
putfield com.fasterxml.jackson.core.io.UTF8Writer._outBufferEnd:I
5: aload 0
iconst_0
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
0 7 1 ctxt Lcom/fasterxml/jackson/core/io/IOContext;
0 7 2 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
ctxt
out
public java.io.Writer append(char);
descriptor: (C)Ljava/io/Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.write:(I)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
0 2 1 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
ifnull 15
1: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
ifle 4
2: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iconst_0
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
invokevirtual java.io.OutputStream.write:([BII)V
3: aload 0
iconst_0
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
4: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
astore 1
start local 1 5: aload 0
aconst_null
putfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
6: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
astore 2
start local 2 7: aload 2
ifnull 10
8: aload 0
aconst_null
putfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
9: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._context:Lcom/fasterxml/jackson/core/io/IOContext;
aload 2
invokevirtual com.fasterxml.jackson.core.io.IOContext.releaseWriteEncodingBuffer:([B)V
10: StackMap locals: java.io.OutputStream byte[]
StackMap stack:
aload 1
invokevirtual java.io.OutputStream.close:()V
11: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
istore 3
start local 3 12: aload 0
iconst_0
putfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
13: iload 3
ifle 15
14: iload 3
invokestatic com.fasterxml.jackson.core.io.UTF8Writer.illegalSurrogate:(I)V
end local 3 end local 2 end local 1 15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
5 15 1 out Ljava/io/OutputStream;
7 15 2 buf [B
12 15 3 code I
Exceptions:
throws java.io.IOException
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
ifnull 5
1: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
ifle 4
2: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iconst_0
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
invokevirtual java.io.OutputStream.write:([BII)V
3: aload 0
iconst_0
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
4: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
Exceptions:
throws java.io.IOException
public void write(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.write:([CII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
0 2 1 cbuf [C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
public void write(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iconst_2
if_icmpge 4
1: iload 3
iconst_1
if_icmpne 3
2: aload 0
aload 1
iload 2
caload
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.write:(I)V
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
ifle 8
5: aload 1
iload 2
iinc 2 1
caload
istore 4
start local 4 6: iinc 3 -1
7: aload 0
aload 0
iload 4
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.convertSurrogate:(I)I
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.write:(I)V
end local 4 8: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
istore 4
start local 4 9: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
astore 5
start local 5 10: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBufferEnd:I
istore 6
start local 6 11: iload 3
iload 2
iadd
istore 3
12: goto 54
13: StackMap locals: int byte[] int
StackMap stack:
iload 4
iload 6
if_icmplt 16
14: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
aload 5
iconst_0
iload 4
invokevirtual java.io.OutputStream.write:([BII)V
15: iconst_0
istore 4
16: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
caload
istore 7
start local 7 17: iload 7
sipush 128
if_icmpge 31
18: aload 5
iload 4
iinc 4 1
iload 7
i2b
bastore
19: iload 3
iload 2
isub
istore 8
start local 8 20: iload 6
iload 4
isub
istore 9
start local 9 21: iload 8
iload 9
if_icmple 23
22: iload 9
istore 8
23: StackMap locals: int int int
StackMap stack:
iload 8
iload 2
iadd
istore 8
24: StackMap locals:
StackMap stack:
iload 2
iload 8
if_icmplt 26
25: goto 54
26: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
caload
istore 7
27: iload 7
sipush 128
if_icmplt 29
28: goto 31
29: StackMap locals:
StackMap stack:
aload 5
iload 4
iinc 4 1
iload 7
i2b
bastore
30: goto 24
end local 9 end local 8 31: StackMap locals:
StackMap stack:
iload 7
sipush 2048
if_icmpge 35
32: aload 5
iload 4
iinc 4 1
sipush 192
iload 7
bipush 6
ishr
ior
i2b
bastore
33: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 63
iand
ior
i2b
bastore
34: goto 54
35: StackMap locals:
StackMap stack:
iload 7
ldc 55296
if_icmplt 36
iload 7
ldc 57343
if_icmple 40
36: StackMap locals:
StackMap stack:
aload 5
iload 4
iinc 4 1
sipush 224
iload 7
bipush 12
ishr
ior
i2b
bastore
37: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
38: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 63
iand
ior
i2b
bastore
39: goto 54
40: StackMap locals:
StackMap stack:
iload 7
ldc 56319
if_icmple 43
41: aload 0
iload 4
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
42: iload 7
invokestatic com.fasterxml.jackson.core.io.UTF8Writer.illegalSurrogate:(I)V
43: StackMap locals:
StackMap stack:
aload 0
iload 7
putfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
44: iload 2
iload 3
if_icmplt 46
45: goto 55
46: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iinc 2 1
caload
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.convertSurrogate:(I)I
istore 7
47: iload 7
ldc 1114111
if_icmple 50
48: aload 0
iload 4
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
49: iload 7
invokestatic com.fasterxml.jackson.core.io.UTF8Writer.illegalSurrogate:(I)V
50: StackMap locals:
StackMap stack:
aload 5
iload 4
iinc 4 1
sipush 240
iload 7
bipush 18
ishr
ior
i2b
bastore
51: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
52: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
53: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 63
iand
ior
i2b
bastore
end local 7 54: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmplt 13
55: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
56: return
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 57 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
0 57 1 cbuf [C
0 57 2 off I
0 57 3 len I
6 8 4 second C
9 57 4 outPtr I
10 57 5 outBuf [B
11 57 6 outBufLast I
17 54 7 c I
20 31 8 maxInCount I
21 31 9 maxOutCount I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
off
len
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
ifle 3
1: aload 0
iload 1
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.convertSurrogate:(I)I
istore 1
2: goto 8
StackMap locals:
StackMap stack:
3: iload 1
ldc 55296
if_icmplt 8
iload 1
ldc 57343
if_icmpgt 8
4: iload 1
ldc 56319
if_icmple 6
5: iload 1
invokestatic com.fasterxml.jackson.core.io.UTF8Writer.illegalSurrogate:(I)V
6: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
7: return
8: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBufferEnd:I
if_icmplt 11
9: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iconst_0
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
invokevirtual java.io.OutputStream.write:([BII)V
10: aload 0
iconst_0
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
11: StackMap locals:
StackMap stack:
iload 1
sipush 128
if_icmpge 14
12: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
aload 0
dup
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
dup_x1
iconst_1
iadd
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
iload 1
i2b
bastore
13: goto 31
14: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
istore 2
start local 2 15: iload 1
sipush 2048
if_icmpge 19
16: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iload 2
iinc 2 1
sipush 192
iload 1
bipush 6
ishr
ior
i2b
bastore
17: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iload 2
iinc 2 1
sipush 128
iload 1
bipush 63
iand
ior
i2b
bastore
18: goto 30
StackMap locals: int
StackMap stack:
19: iload 1
ldc 65535
if_icmpgt 24
20: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iload 2
iinc 2 1
sipush 224
iload 1
bipush 12
ishr
ior
i2b
bastore
21: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iload 2
iinc 2 1
sipush 128
iload 1
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
22: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iload 2
iinc 2 1
sipush 128
iload 1
bipush 63
iand
ior
i2b
bastore
23: goto 30
24: StackMap locals:
StackMap stack:
iload 1
ldc 1114111
if_icmple 26
25: iload 1
invokestatic com.fasterxml.jackson.core.io.UTF8Writer.illegalSurrogate:(I)V
26: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iload 2
iinc 2 1
sipush 240
iload 1
bipush 18
ishr
ior
i2b
bastore
27: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iload 2
iinc 2 1
sipush 128
iload 1
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
28: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iload 2
iinc 2 1
sipush 128
iload 1
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
29: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
iload 2
iinc 2 1
sipush 128
iload 1
bipush 63
iand
ior
i2b
bastore
30: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
end local 2 31: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
0 32 1 c I
15 31 2 ptr I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public void write(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.write:(Ljava/lang/String;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
0 2 1 str Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
public void write(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iconst_2
if_icmpge 4
1: iload 3
iconst_1
if_icmpne 3
2: aload 0
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.write:(I)V
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
ifle 8
5: aload 1
iload 2
iinc 2 1
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 6: iinc 3 -1
7: aload 0
aload 0
iload 4
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.convertSurrogate:(I)I
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.write:(I)V
end local 4 8: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
istore 4
start local 4 9: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBuffer:[B
astore 5
start local 5 10: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._outBufferEnd:I
istore 6
start local 6 11: iload 3
iload 2
iadd
istore 3
12: goto 54
13: StackMap locals: int byte[] int
StackMap stack:
iload 4
iload 6
if_icmplt 16
14: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._out:Ljava/io/OutputStream;
aload 5
iconst_0
iload 4
invokevirtual java.io.OutputStream.write:([BII)V
15: iconst_0
istore 4
16: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 17: iload 7
sipush 128
if_icmpge 31
18: aload 5
iload 4
iinc 4 1
iload 7
i2b
bastore
19: iload 3
iload 2
isub
istore 8
start local 8 20: iload 6
iload 4
isub
istore 9
start local 9 21: iload 8
iload 9
if_icmple 23
22: iload 9
istore 8
23: StackMap locals: int int int
StackMap stack:
iload 8
iload 2
iadd
istore 8
24: StackMap locals:
StackMap stack:
iload 2
iload 8
if_icmplt 26
25: goto 54
26: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
invokevirtual java.lang.String.charAt:(I)C
istore 7
27: iload 7
sipush 128
if_icmplt 29
28: goto 31
29: StackMap locals:
StackMap stack:
aload 5
iload 4
iinc 4 1
iload 7
i2b
bastore
30: goto 24
end local 9 end local 8 31: StackMap locals:
StackMap stack:
iload 7
sipush 2048
if_icmpge 35
32: aload 5
iload 4
iinc 4 1
sipush 192
iload 7
bipush 6
ishr
ior
i2b
bastore
33: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 63
iand
ior
i2b
bastore
34: goto 54
35: StackMap locals:
StackMap stack:
iload 7
ldc 55296
if_icmplt 36
iload 7
ldc 57343
if_icmple 40
36: StackMap locals:
StackMap stack:
aload 5
iload 4
iinc 4 1
sipush 224
iload 7
bipush 12
ishr
ior
i2b
bastore
37: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
38: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 63
iand
ior
i2b
bastore
39: goto 54
40: StackMap locals:
StackMap stack:
iload 7
ldc 56319
if_icmple 43
41: aload 0
iload 4
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
42: iload 7
invokestatic com.fasterxml.jackson.core.io.UTF8Writer.illegalSurrogate:(I)V
43: StackMap locals:
StackMap stack:
aload 0
iload 7
putfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
44: iload 2
iload 3
if_icmplt 46
45: goto 55
46: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iinc 2 1
invokevirtual java.lang.String.charAt:(I)C
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.convertSurrogate:(I)I
istore 7
47: iload 7
ldc 1114111
if_icmple 50
48: aload 0
iload 4
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
49: iload 7
invokestatic com.fasterxml.jackson.core.io.UTF8Writer.illegalSurrogate:(I)V
50: StackMap locals:
StackMap stack:
aload 5
iload 4
iinc 4 1
sipush 240
iload 7
bipush 18
ishr
ior
i2b
bastore
51: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
52: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
53: aload 5
iload 4
iinc 4 1
sipush 128
iload 7
bipush 63
iand
ior
i2b
bastore
end local 7 54: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmplt 13
55: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield com.fasterxml.jackson.core.io.UTF8Writer._outPtr:I
56: return
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 57 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
0 57 1 str Ljava/lang/String;
0 57 2 off I
0 57 3 len I
6 8 4 second C
9 57 4 outPtr I
10 57 5 outBuf [B
11 57 6 outBufLast I
17 54 7 c I
20 31 8 maxInCount I
21 31 9 maxOutCount I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
off
len
protected int convertSurrogate(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
istore 2
start local 2 1: aload 0
iconst_0
putfield com.fasterxml.jackson.core.io.UTF8Writer._surrogate:I
2: iload 1
ldc 56320
if_icmplt 3
iload 1
ldc 57343
if_icmple 4
3: StackMap locals: int
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Broken surrogate pair: first char 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
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
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.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
ldc 65536
iload 2
ldc 55296
isub
bipush 10
ishl
iadd
iload 1
ldc 56320
isub
iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/core/io/UTF8Writer;
0 5 1 secondPart I
1 5 2 firstPart I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
secondPart
protected static void illegalSurrogate(int);
descriptor: (I)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.IOException
dup
iload 0
invokestatic com.fasterxml.jackson.core.io.UTF8Writer.illegalSurrogateDesc:(I)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 code I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
code
protected static java.lang.String illegalSurrogateDesc(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
ldc 1114111
if_icmple 2
1: new java.lang.StringBuilder
dup
ldc "Illegal character point (0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") to output; max is 0x10FFFF as per RFC 4627"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
iload 0
ldc 55296
if_icmplt 6
3: iload 0
ldc 56319
if_icmpgt 5
4: new java.lang.StringBuilder
dup
ldc "Unmatched first part of surrogate pair (0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Unmatched second part of surrogate pair (0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Illegal character point (0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") to output"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 code I
MethodParameters:
Name Flags
code
public java.lang.Appendable append(char);
descriptor: (C)Ljava/lang/Appendable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.fasterxml.jackson.core.io.UTF8Writer.append:(C)Ljava/io/Writer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "UTF8Writer.java"