public class sun.nio.cs.Surrogate$Generator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.cs.Surrogate$Generator
super_class: java.lang.Object
{
private java.nio.charset.CoderResult error;
descriptor: Ljava/nio/charset/CoderResult;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/nio/cs/Surrogate;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.nio.cs.Surrogate$Generator.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/cs/Surrogate$Generator;
public java.nio.charset.CoderResult error();
descriptor: ()Ljava/nio/charset/CoderResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.nio.cs.Surrogate$Generator.$assertionsDisabled:Z
ifne 1
aload 0
getfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/cs/Surrogate$Generator;
public int generate(int, int, java.nio.CharBuffer);
descriptor: (IILjava/nio/CharBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
invokestatic java.lang.Character.isBmpCodePoint:(I)Z
ifeq 11
1: iload 1
i2c
istore 4
start local 4 2: iload 4
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 5
3: aload 0
iload 2
invokestatic java.nio.charset.CoderResult.malformedForLength:(I)Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
4: iconst_m1
ireturn
5: StackMap locals: int
StackMap stack:
aload 3
invokevirtual java.nio.CharBuffer.remaining:()I
iconst_1
if_icmpge 8
6: aload 0
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
7: iconst_m1
ireturn
8: StackMap locals:
StackMap stack:
aload 3
iload 4
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
9: aload 0
aconst_null
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
10: iconst_1
ireturn
end local 4 11: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.Character.isValidCodePoint:(I)Z
ifeq 19
12: aload 3
invokevirtual java.nio.CharBuffer.remaining:()I
iconst_2
if_icmpge 15
13: aload 0
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
14: iconst_m1
ireturn
15: StackMap locals:
StackMap stack:
aload 3
iload 1
invokestatic java.lang.Character.highSurrogate:(I)C
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
16: aload 3
iload 1
invokestatic java.lang.Character.lowSurrogate:(I)C
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
17: aload 0
aconst_null
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
18: iconst_2
ireturn
19: StackMap locals:
StackMap stack:
aload 0
iload 2
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
20: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/nio/cs/Surrogate$Generator;
0 21 1 uc I
0 21 2 len I
0 21 3 dst Ljava/nio/CharBuffer;
2 11 4 c C
MethodParameters:
Name Flags
uc
len
dst
public int generate(int, int, char[], int, int);
descriptor: (II[CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 1
invokestatic java.lang.Character.isBmpCodePoint:(I)Z
ifeq 11
1: iload 1
i2c
istore 6
start local 6 2: iload 6
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 5
3: aload 0
iload 2
invokestatic java.nio.charset.CoderResult.malformedForLength:(I)Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
4: iconst_m1
ireturn
5: StackMap locals: int
StackMap stack:
iload 5
iload 4
isub
iconst_1
if_icmpge 8
6: aload 0
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
7: iconst_m1
ireturn
8: StackMap locals:
StackMap stack:
aload 3
iload 4
iload 6
castore
9: aload 0
aconst_null
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
10: iconst_1
ireturn
end local 6 11: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.Character.isValidCodePoint:(I)Z
ifeq 19
12: iload 5
iload 4
isub
iconst_2
if_icmpge 15
13: aload 0
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
14: iconst_m1
ireturn
15: StackMap locals:
StackMap stack:
aload 3
iload 4
iload 1
invokestatic java.lang.Character.highSurrogate:(I)C
castore
16: aload 3
iload 4
iconst_1
iadd
iload 1
invokestatic java.lang.Character.lowSurrogate:(I)C
castore
17: aload 0
aconst_null
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
18: iconst_2
ireturn
19: StackMap locals:
StackMap stack:
aload 0
iload 2
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
20: iconst_m1
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 21 0 this Lsun/nio/cs/Surrogate$Generator;
0 21 1 uc I
0 21 2 len I
0 21 3 da [C
0 21 4 dp I
0 21 5 dl I
2 11 6 c C
MethodParameters:
Name Flags
uc
len
da
dp
dl
}
SourceFile: "Surrogate.java"
NestHost: sun.nio.cs.Surrogate
InnerClasses:
public Generator = sun.nio.cs.Surrogate$Generator of sun.nio.cs.Surrogate