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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
ldc 65535
if_icmpgt 10
1: iload 1
invokestatic sun.nio.cs.Surrogate.is:(I)Z
ifeq 4
2: 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;
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.CharBuffer.remaining:()I
iconst_1
if_icmpge 7
5: aload 0
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
aload 3
iload 1
i2c
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
8: aload 0
aconst_null
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iload 1
ldc 65536
if_icmpge 13
11: 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;
12: iconst_m1
ireturn
13: StackMap locals:
StackMap stack:
iload 1
ldc 1114111
if_icmpgt 21
14: aload 3
invokevirtual java.nio.CharBuffer.remaining:()I
iconst_2
if_icmpge 17
15: aload 0
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
16: iconst_m1
ireturn
17: StackMap locals:
StackMap stack:
aload 3
iload 1
invokestatic sun.nio.cs.Surrogate.high:(I)C
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
18: aload 3
iload 1
invokestatic sun.nio.cs.Surrogate.low:(I)C
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
19: aload 0
aconst_null
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
20: iconst_2
ireturn
21: 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;
22: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/nio/cs/Surrogate$Generator;
0 23 1 uc I
0 23 2 len I
0 23 3 dst Ljava/nio/CharBuffer;
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=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 1
ldc 65535
if_icmpgt 10
1: iload 1
invokestatic sun.nio.cs.Surrogate.is:(I)Z
ifeq 4
2: 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;
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
iload 5
iload 4
isub
iconst_1
if_icmpge 7
5: aload 0
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
aload 3
iload 4
iload 1
i2c
castore
8: aload 0
aconst_null
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iload 1
ldc 65536
if_icmpge 13
11: 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;
12: iconst_m1
ireturn
13: StackMap locals:
StackMap stack:
iload 1
ldc 1114111
if_icmpgt 21
14: iload 5
iload 4
isub
iconst_2
if_icmpge 17
15: aload 0
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
16: iconst_m1
ireturn
17: StackMap locals:
StackMap stack:
aload 3
iload 4
iload 1
invokestatic sun.nio.cs.Surrogate.high:(I)C
castore
18: aload 3
iload 4
iconst_1
iadd
iload 1
invokestatic sun.nio.cs.Surrogate.low:(I)C
castore
19: aload 0
aconst_null
putfield sun.nio.cs.Surrogate$Generator.error:Ljava/nio/charset/CoderResult;
20: iconst_2
ireturn
21: 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;
22: 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 23 0 this Lsun/nio/cs/Surrogate$Generator;
0 23 1 uc I
0 23 2 len I
0 23 3 da [C
0 23 4 dp I
0 23 5 dl I
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