public class org.apache.commons.lang3.text.translate.UnicodeUnescaper extends org.apache.commons.lang3.text.translate.CharSequenceTranslator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.lang3.text.translate.UnicodeUnescaper
super_class: org.apache.commons.lang3.text.translate.CharSequenceTranslator
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.lang3.text.translate.CharSequenceTranslator.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/lang3/text/translate/UnicodeUnescaper;
public int translate(java.lang.CharSequence, int, java.io.Writer);
descriptor: (Ljava/lang/CharSequence;ILjava/io/Writer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 92
if_icmpne 18
iload 2
iconst_1
iadd
aload 1
invokeinterface java.lang.CharSequence.length:()I
if_icmpge 18
aload 1
iload 2
iconst_1
iadd
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 117
if_icmpne 18
1: iconst_2
istore 4
start local 4 2: goto 4
3: StackMap locals: int
StackMap stack:
iinc 4 1
4: StackMap locals:
StackMap stack:
iload 2
iload 4
iadd
aload 1
invokeinterface java.lang.CharSequence.length:()I
if_icmpge 5
aload 1
iload 2
iload 4
iadd
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 117
if_icmpeq 3
5: StackMap locals:
StackMap stack:
iload 2
iload 4
iadd
aload 1
invokeinterface java.lang.CharSequence.length:()I
if_icmpge 7
aload 1
iload 2
iload 4
iadd
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 43
if_icmpne 7
6: iinc 4 1
7: StackMap locals:
StackMap stack:
iload 2
iload 4
iadd
iconst_4
iadd
aload 1
invokeinterface java.lang.CharSequence.length:()I
if_icmpgt 15
8: aload 1
iload 2
iload 4
iadd
iload 2
iload 4
iadd
iconst_4
iadd
invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
astore 5
start local 5 9: aload 5
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 6
start local 6 10: aload 3
iload 6
i2c
invokevirtual java.io.Writer.write:(I)V
end local 6 11: goto 14
StackMap locals: org.apache.commons.lang3.text.translate.UnicodeUnescaper java.lang.CharSequence int java.io.Writer int java.lang.CharSequence
StackMap stack: java.lang.NumberFormatException
12: astore 6
start local 6 13: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unable to parse unicode value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 14: StackMap locals:
StackMap stack:
iload 4
iconst_4
iadd
ireturn
end local 5 15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Less than 4 hex digits in unicode value: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 2
aload 1
invokeinterface java.lang.CharSequence.length:()I
invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
16: ldc "' due to end of CharSequence"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 18: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/commons/lang3/text/translate/UnicodeUnescaper;
0 19 1 input Ljava/lang/CharSequence;
0 19 2 index I
0 19 3 out Ljava/io/Writer;
2 18 4 i I
9 15 5 unicode Ljava/lang/CharSequence;
10 11 6 value I
13 14 6 nfe Ljava/lang/NumberFormatException;
Exception table:
from to target type
9 11 12 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input final
index final
out final
}
SourceFile: "UnicodeUnescaper.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()