public abstract class java.nio.charset.CharsetDecoder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.nio.charset.CharsetDecoder
super_class: java.lang.Object
{
private final java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float averageCharsPerByte;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float maxCharsPerByte;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String replacement;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.nio.charset.CodingErrorAction malformedInputAction;
descriptor: Ljava/nio/charset/CodingErrorAction;
flags: (0x0002) ACC_PRIVATE
private java.nio.charset.CodingErrorAction unmappableCharacterAction;
descriptor: Ljava/nio/charset/CodingErrorAction;
flags: (0x0002) ACC_PRIVATE
private static final int ST_RESET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int ST_CODING;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int ST_END;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int ST_FLUSHED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static java.lang.String[] stateNames;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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=4, locals=0, args_size=0
0: ldc Ljava/nio/charset/CharsetDecoder;
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 java.nio.charset.CharsetDecoder.$assertionsDisabled:Z
3: iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "RESET"
aastore
dup
iconst_1
ldc "CODING"
aastore
dup
iconst_2
ldc "CODING_END"
aastore
dup
iconst_3
ldc "FLUSHED"
aastore
4: putstatic java.nio.charset.CharsetDecoder.stateNames:[Ljava/lang/String;
5: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.nio.charset.Charset, float, float, java.lang.String);
descriptor: (Ljava/nio/charset/Charset;FFLjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
putfield java.nio.charset.CharsetDecoder.malformedInputAction:Ljava/nio/charset/CodingErrorAction;
3: aload 0
4: getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
putfield java.nio.charset.CharsetDecoder.unmappableCharacterAction:Ljava/nio/charset/CodingErrorAction;
5: aload 0
iconst_0
putfield java.nio.charset.CharsetDecoder.state:I
6: aload 0
aload 1
putfield java.nio.charset.CharsetDecoder.charset:Ljava/nio/charset/Charset;
7: fload 2
fconst_0
fcmpl
ifgt 9
8: new java.lang.IllegalArgumentException
dup
ldc "Non-positive averageCharsPerByte"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.nio.charset.CharsetDecoder java.nio.charset.Charset float float java.lang.String
StackMap stack:
fload 3
fconst_0
fcmpl
ifgt 11
10: new java.lang.IllegalArgumentException
dup
ldc "Non-positive maxCharsPerByte"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
fload 2
fload 3
fcmpl
ifle 13
12: new java.lang.IllegalArgumentException
dup
ldc "averageCharsPerByte exceeds maxCharsPerByte"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield java.nio.charset.CharsetDecoder.replacement:Ljava/lang/String;
14: aload 0
fload 2
putfield java.nio.charset.CharsetDecoder.averageCharsPerByte:F
15: aload 0
fload 3
putfield java.nio.charset.CharsetDecoder.maxCharsPerByte:F
16: aload 0
aload 4
invokevirtual java.nio.charset.CharsetDecoder.replaceWith:(Ljava/lang/String;)Ljava/nio/charset/CharsetDecoder;
pop
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 Ljava/nio/charset/CharsetDecoder;
0 18 1 cs Ljava/nio/charset/Charset;
0 18 2 averageCharsPerByte F
0 18 3 maxCharsPerByte F
0 18 4 replacement Ljava/lang/String;
MethodParameters:
Name Flags
cs
averageCharsPerByte
maxCharsPerByte
replacement
protected void <init>(java.nio.charset.Charset, float, float);
descriptor: (Ljava/nio/charset/Charset;FF)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
1: fload 2
fload 3
2: ldc "\uFFFD"
invokespecial java.nio.charset.CharsetDecoder.<init>:(Ljava/nio/charset/Charset;FFLjava/lang/String;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/nio/charset/CharsetDecoder;
0 4 1 cs Ljava/nio/charset/Charset;
0 4 2 averageCharsPerByte F
0 4 3 maxCharsPerByte F
MethodParameters:
Name Flags
cs
averageCharsPerByte
maxCharsPerByte
public final java.nio.charset.Charset charset();
descriptor: ()Ljava/nio/charset/Charset;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.charset.CharsetDecoder.charset:Ljava/nio/charset/Charset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
public final java.lang.String replacement();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.charset.CharsetDecoder.replacement:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
public final java.nio.charset.CharsetDecoder replaceWith(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/charset/CharsetDecoder;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null replacement"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 3: iload 2
ifne 5
4: new java.lang.IllegalArgumentException
dup
ldc "Empty replacement"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iload 2
i2f
aload 0
getfield java.nio.charset.CharsetDecoder.maxCharsPerByte:F
fcmpl
ifle 7
6: new java.lang.IllegalArgumentException
dup
ldc "Replacement too long"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.nio.charset.CharsetDecoder.replacement:Ljava/lang/String;
8: aload 0
aload 0
getfield java.nio.charset.CharsetDecoder.replacement:Ljava/lang/String;
invokevirtual java.nio.charset.CharsetDecoder.implReplaceWith:(Ljava/lang/String;)V
9: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/nio/charset/CharsetDecoder;
0 10 1 newReplacement Ljava/lang/String;
3 10 2 len I
MethodParameters:
Name Flags
newReplacement
protected void implReplaceWith(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
0 1 1 newReplacement Ljava/lang/String;
MethodParameters:
Name Flags
newReplacement
public java.nio.charset.CodingErrorAction malformedInputAction();
descriptor: ()Ljava/nio/charset/CodingErrorAction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.charset.CharsetDecoder.malformedInputAction:Ljava/nio/charset/CodingErrorAction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
public final java.nio.charset.CharsetDecoder onMalformedInput(java.nio.charset.CodingErrorAction);
descriptor: (Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null action"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.nio.charset.CharsetDecoder.malformedInputAction:Ljava/nio/charset/CodingErrorAction;
3: aload 0
aload 1
invokevirtual java.nio.charset.CharsetDecoder.implOnMalformedInput:(Ljava/nio/charset/CodingErrorAction;)V
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/nio/charset/CharsetDecoder;
0 5 1 newAction Ljava/nio/charset/CodingErrorAction;
MethodParameters:
Name Flags
newAction
protected void implOnMalformedInput(java.nio.charset.CodingErrorAction);
descriptor: (Ljava/nio/charset/CodingErrorAction;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
0 1 1 newAction Ljava/nio/charset/CodingErrorAction;
MethodParameters:
Name Flags
newAction
public java.nio.charset.CodingErrorAction unmappableCharacterAction();
descriptor: ()Ljava/nio/charset/CodingErrorAction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.charset.CharsetDecoder.unmappableCharacterAction:Ljava/nio/charset/CodingErrorAction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
public final java.nio.charset.CharsetDecoder onUnmappableCharacter(java.nio.charset.CodingErrorAction);
descriptor: (Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null action"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.nio.charset.CharsetDecoder.unmappableCharacterAction:Ljava/nio/charset/CodingErrorAction;
3: aload 0
aload 1
invokevirtual java.nio.charset.CharsetDecoder.implOnUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)V
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/nio/charset/CharsetDecoder;
0 5 1 newAction Ljava/nio/charset/CodingErrorAction;
MethodParameters:
Name Flags
newAction
protected void implOnUnmappableCharacter(java.nio.charset.CodingErrorAction);
descriptor: (Ljava/nio/charset/CodingErrorAction;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
0 1 1 newAction Ljava/nio/charset/CodingErrorAction;
MethodParameters:
Name Flags
newAction
public final float averageCharsPerByte();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.charset.CharsetDecoder.averageCharsPerByte:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
public final float maxCharsPerByte();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.charset.CharsetDecoder.maxCharsPerByte:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
public final java.nio.charset.CoderResult decode(java.nio.ByteBuffer, java.nio.CharBuffer, boolean);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 1
iconst_2
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 0
getfield java.nio.charset.CharsetDecoder.state:I
ifeq 6
aload 0
getfield java.nio.charset.CharsetDecoder.state:I
iconst_1
if_icmpeq 6
4: iload 3
ifeq 5
aload 0
getfield java.nio.charset.CharsetDecoder.state:I
iconst_2
if_icmpeq 6
5: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield java.nio.charset.CharsetDecoder.state:I
iload 4
invokevirtual java.nio.charset.CharsetDecoder.throwIllegalStateException:(II)V
6: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield java.nio.charset.CharsetDecoder.state:I
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual java.nio.charset.CharsetDecoder.decodeLoop:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
astore 5
start local 5 8: goto 13
end local 5 StackMap locals:
StackMap stack: java.nio.BufferUnderflowException
9: astore 6
start local 6 10: new java.nio.charset.CoderMalfunctionError
dup
aload 6
invokespecial java.nio.charset.CoderMalfunctionError.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 11: StackMap locals:
StackMap stack: java.nio.BufferOverflowException
astore 6
start local 6 12: new java.nio.charset.CoderMalfunctionError
dup
aload 6
invokespecial java.nio.charset.CoderMalfunctionError.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 start local 5 13: StackMap locals: java.nio.charset.CoderResult
StackMap stack:
aload 5
invokevirtual java.nio.charset.CoderResult.isOverflow:()Z
ifeq 15
14: aload 5
areturn
15: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 20
16: iload 3
ifeq 19
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 19
17: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.charset.CoderResult.malformedForLength:(I)Ljava/nio/charset/CoderResult;
astore 5
18: goto 20
19: StackMap locals:
StackMap stack:
aload 5
areturn
20: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 21: aload 5
invokevirtual java.nio.charset.CoderResult.isMalformed:()Z
ifeq 23
22: aload 0
getfield java.nio.charset.CharsetDecoder.malformedInputAction:Ljava/nio/charset/CodingErrorAction;
astore 6
goto 26
23: StackMap locals: java.nio.charset.CodingErrorAction
StackMap stack:
aload 5
invokevirtual java.nio.charset.CoderResult.isUnmappable:()Z
ifeq 25
24: aload 0
getfield java.nio.charset.CharsetDecoder.unmappableCharacterAction:Ljava/nio/charset/CodingErrorAction;
astore 6
goto 26
25: StackMap locals:
StackMap stack:
getstatic java.nio.charset.CharsetDecoder.$assertionsDisabled:Z
ifne 26
new java.lang.AssertionError
dup
aload 5
invokevirtual java.nio.charset.CoderResult.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
26: StackMap locals:
StackMap stack:
aload 6
getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
if_acmpne 28
27: aload 5
areturn
28: StackMap locals:
StackMap stack:
aload 6
getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
if_acmpne 32
29: aload 2
invokevirtual java.nio.CharBuffer.remaining:()I
aload 0
getfield java.nio.charset.CharsetDecoder.replacement:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmpge 31
30: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
areturn
31: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield java.nio.charset.CharsetDecoder.replacement:Ljava/lang/String;
invokevirtual java.nio.CharBuffer.put:(Ljava/lang/String;)Ljava/nio/CharBuffer;
pop
32: StackMap locals:
StackMap stack:
aload 6
getstatic java.nio.charset.CodingErrorAction.IGNORE:Ljava/nio/charset/CodingErrorAction;
if_acmpeq 34
33: aload 6
getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
if_acmpne 36
34: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
aload 5
invokevirtual java.nio.charset.CoderResult.length:()I
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
35: goto 7
36: StackMap locals:
StackMap stack:
getstatic java.nio.charset.CharsetDecoder.$assertionsDisabled:Z
ifne 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
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 37 0 this Ljava/nio/charset/CharsetDecoder;
0 37 1 in Ljava/nio/ByteBuffer;
0 37 2 out Ljava/nio/CharBuffer;
0 37 3 endOfInput Z
3 37 4 newState I
8 9 5 cr Ljava/nio/charset/CoderResult;
13 37 5 cr Ljava/nio/charset/CoderResult;
10 11 6 x Ljava/nio/BufferUnderflowException;
12 13 6 x Ljava/nio/BufferOverflowException;
21 37 6 action Ljava/nio/charset/CodingErrorAction;
Exception table:
from to target type
7 8 9 Class java.nio.BufferUnderflowException
7 8 11 Class java.nio.BufferOverflowException
MethodParameters:
Name Flags
in
out
endOfInput
public final java.nio.charset.CoderResult flush(java.nio.CharBuffer);
descriptor: (Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.nio.charset.CharsetDecoder.state:I
iconst_2
if_icmpne 5
1: aload 0
aload 1
invokevirtual java.nio.charset.CharsetDecoder.implFlush:(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
astore 2
start local 2 2: aload 2
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 4
3: aload 0
iconst_3
putfield java.nio.charset.CharsetDecoder.state:I
4: StackMap locals: java.nio.charset.CoderResult
StackMap stack:
aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.charset.CharsetDecoder.state:I
iconst_3
if_icmpeq 7
6: aload 0
aload 0
getfield java.nio.charset.CharsetDecoder.state:I
iconst_3
invokevirtual java.nio.charset.CharsetDecoder.throwIllegalStateException:(II)V
7: StackMap locals:
StackMap stack:
getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/charset/CharsetDecoder;
0 8 1 out Ljava/nio/CharBuffer;
2 5 2 cr Ljava/nio/charset/CoderResult;
MethodParameters:
Name Flags
out
protected java.nio.charset.CoderResult implFlush(java.nio.CharBuffer);
descriptor: (Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
0 1 1 out Ljava/nio/CharBuffer;
MethodParameters:
Name Flags
out
public final java.nio.charset.CharsetDecoder reset();
descriptor: ()Ljava/nio/charset/CharsetDecoder;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.charset.CharsetDecoder.implReset:()V
1: aload 0
iconst_0
putfield java.nio.charset.CharsetDecoder.state:I
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/charset/CharsetDecoder;
protected void implReset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
protected abstract java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer, java.nio.CharBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
in
out
public final java.nio.CharBuffer decode(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
i2f
aload 0
invokevirtual java.nio.charset.CharsetDecoder.averageCharsPerByte:()F
fmul
f2i
istore 2
start local 2 1: iload 2
invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
astore 3
start local 3 2: iload 2
ifne 4
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 4
3: aload 3
areturn
4: StackMap locals: int java.nio.CharBuffer
StackMap stack:
aload 0
invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
pop
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 7
6: aload 0
aload 1
aload 3
iconst_1
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
goto 8
StackMap locals:
StackMap stack:
7: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
8: StackMap locals:
StackMap stack: java.nio.charset.CoderResult
astore 4
start local 4 9: aload 4
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 11
10: aload 0
aload 3
invokevirtual java.nio.charset.CharsetDecoder.flush:(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
astore 4
11: StackMap locals: java.nio.charset.CoderResult
StackMap stack:
aload 4
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 13
12: goto 22
13: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.charset.CoderResult.isOverflow:()Z
ifeq 20
14: iconst_2
iload 2
imul
iconst_1
iadd
istore 2
15: iload 2
invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
astore 5
start local 5 16: aload 3
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/CharBuffer;
pop
17: aload 5
aload 3
invokevirtual java.nio.CharBuffer.put:(Ljava/nio/CharBuffer;)Ljava/nio/CharBuffer;
pop
18: aload 5
astore 3
19: goto 5
end local 5 20: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.charset.CoderResult.throwException:()V
end local 4 21: goto 5
22: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/CharBuffer;
pop
23: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljava/nio/charset/CharsetDecoder;
0 24 1 in Ljava/nio/ByteBuffer;
1 24 2 n I
2 24 3 out Ljava/nio/CharBuffer;
9 21 4 cr Ljava/nio/charset/CoderResult;
16 20 5 o Ljava/nio/CharBuffer;
Exceptions:
throws java.nio.charset.CharacterCodingException
MethodParameters:
Name Flags
in
public boolean isAutoDetecting();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
public boolean isCharsetDetected();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
public java.nio.charset.Charset detectedCharset();
descriptor: ()Ljava/nio/charset/Charset;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/charset/CharsetDecoder;
private void throwIllegalStateException(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Current state = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.nio.charset.CharsetDecoder.stateNames:[Ljava/lang/String;
iload 1
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc ", new state = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.nio.charset.CharsetDecoder.stateNames:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/charset/CharsetDecoder;
0 3 1 from I
0 3 2 to I
MethodParameters:
Name Flags
from
to
}
SourceFile: "CharsetDecoder.java"