public class org.apache.tomcat.util.buf.CharsetUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.buf.CharsetUtil
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/CharsetUtil;
public static boolean isAsciiSuperset(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
astore 1
start local 1 1: iconst_1
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 2
start local 2 2: iconst_0
istore 4
start local 4 3: goto 16
4: StackMap locals: java.nio.charset.Charset java.nio.charset.CharsetDecoder java.nio.ByteBuffer top int
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
5: aload 2
iload 4
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
6: aload 2
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
7: aload 1
aload 2
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
astore 3
start local 3 8: goto 11
end local 3 StackMap locals:
StackMap stack: java.nio.charset.CharacterCodingException
9: pop
10: iconst_0
ireturn
start local 3 11: StackMap locals: java.nio.charset.Charset java.nio.charset.CharsetDecoder java.nio.ByteBuffer java.nio.CharBuffer int
StackMap stack:
aload 3
invokevirtual java.nio.CharBuffer.get:()C
iload 4
if_icmpeq 15
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack: java.nio.BufferUnderflowException
pop
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
iinc 4 1
end local 3 StackMap locals: java.nio.charset.Charset java.nio.charset.CharsetDecoder java.nio.ByteBuffer top int
StackMap stack:
16: iload 4
sipush 128
if_icmplt 4
end local 4 17: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 charset Ljava/nio/charset/Charset;
1 18 1 decoder Ljava/nio/charset/CharsetDecoder;
2 18 2 inBytes Ljava/nio/ByteBuffer;
8 9 3 outChars Ljava/nio/CharBuffer;
11 16 3 outChars Ljava/nio/CharBuffer;
3 17 4 i I
Exception table:
from to target type
7 8 9 Class java.nio.charset.CharacterCodingException
11 12 13 Class java.nio.BufferUnderflowException
MethodParameters:
Name Flags
charset
}
SourceFile: "CharsetUtil.java"