public class org.apache.commons.lang3.text.translate.NumericEntityUnescaper 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.NumericEntityUnescaper
super_class: org.apache.commons.lang3.text.translate.CharSequenceTranslator
{
private final java.util.EnumSet<org.apache.commons.lang3.text.translate.NumericEntityUnescaper$OPTION> options;
descriptor: Ljava/util/EnumSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/EnumSet<Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;>;
public void <init>(org.apache.commons.lang3.text.translate.NumericEntityUnescaper$OPTION[]);
descriptor: ([Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.commons.lang3.text.translate.CharSequenceTranslator.<init>:()V
1: aload 1
arraylength
ifle 4
2: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
putfield org.apache.commons.lang3.text.translate.NumericEntityUnescaper.options:Ljava/util/EnumSet;
3: goto 5
4: StackMap locals: org.apache.commons.lang3.text.translate.NumericEntityUnescaper org.apache.commons.lang3.text.translate.NumericEntityUnescaper$OPTION[]
StackMap stack:
aload 0
getstatic org.apache.commons.lang3.text.translate.NumericEntityUnescaper$OPTION.semiColonRequired:Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
putfield org.apache.commons.lang3.text.translate.NumericEntityUnescaper.options:Ljava/util/EnumSet;
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper;
0 6 1 options [Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;
MethodParameters:
Name Flags
options final
public boolean isSet(org.apache.commons.lang3.text.translate.NumericEntityUnescaper$OPTION);
descriptor: (Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.lang3.text.translate.NumericEntityUnescaper.options:Ljava/util/EnumSet;
ifnull 1
aload 0
getfield org.apache.commons.lang3.text.translate.NumericEntityUnescaper.options:Ljava/util/EnumSet;
aload 1
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper;
0 2 1 option Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;
MethodParameters:
Name Flags
option final
public int translate(java.lang.CharSequence, int, java.io.Writer);
descriptor: (Ljava/lang/CharSequence;ILjava/io/Writer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.lang.CharSequence.length:()I
istore 4
start local 4 1: aload 1
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 38
if_icmpne 43
iload 2
iload 4
iconst_2
isub
if_icmpge 43
aload 1
iload 2
iconst_1
iadd
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 35
if_icmpne 43
2: iload 2
iconst_2
iadd
istore 5
start local 5 3: iconst_0
istore 6
start local 6 4: aload 1
iload 5
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 7
start local 7 5: iload 7
bipush 120
if_icmpeq 6
iload 7
bipush 88
if_icmpne 10
6: StackMap locals: org.apache.commons.lang3.text.translate.NumericEntityUnescaper java.lang.CharSequence int java.io.Writer int int int int
StackMap stack:
iinc 5 1
7: iconst_1
istore 6
8: iload 5
iload 4
if_icmpne 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 5
istore 8
start local 8 11: goto 13
12: StackMap locals: int
StackMap stack:
iinc 8 1
13: StackMap locals:
StackMap stack:
iload 8
iload 4
if_icmpge 17
aload 1
iload 8
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 48
if_icmplt 14
aload 1
iload 8
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 57
if_icmple 12
14: StackMap locals:
StackMap stack:
aload 1
iload 8
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 97
if_icmplt 15
aload 1
iload 8
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 102
if_icmple 12
15: StackMap locals:
StackMap stack:
aload 1
iload 8
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 65
if_icmplt 17
aload 1
iload 8
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 70
16: if_icmple 12
17: StackMap locals:
StackMap stack:
iload 8
iload 4
if_icmpeq 18
aload 1
iload 8
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 59
if_icmpne 18
iconst_1
goto 19
StackMap locals:
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: istore 9
start local 9 20: iload 9
ifne 25
21: aload 0
getstatic org.apache.commons.lang3.text.translate.NumericEntityUnescaper$OPTION.semiColonRequired:Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;
invokevirtual org.apache.commons.lang3.text.translate.NumericEntityUnescaper.isSet:(Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;)Z
ifeq 23
22: iconst_0
ireturn
23: StackMap locals: int
StackMap stack:
aload 0
getstatic org.apache.commons.lang3.text.translate.NumericEntityUnescaper$OPTION.errorIfNoSemiColon:Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;
invokevirtual org.apache.commons.lang3.text.translate.NumericEntityUnescaper.isSet:(Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper$OPTION;)Z
ifeq 25
24: new java.lang.IllegalArgumentException
dup
ldc "Semi-colon required at end of numeric entity"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
iload 6
ifeq 28
26: aload 1
iload 5
iload 8
invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 10
start local 10 27: goto 32
end local 10 28: StackMap locals:
StackMap stack:
aload 1
iload 5
iload 8
invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
bipush 10
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 10
start local 10 29: goto 32
end local 10 StackMap locals:
StackMap stack: java.lang.NumberFormatException
30: pop
31: iconst_0
ireturn
start local 10 32: StackMap locals: int
StackMap stack:
iload 10
ldc 65535
if_icmple 37
33: iload 10
invokestatic java.lang.Character.toChars:(I)[C
astore 11
start local 11 34: aload 3
aload 11
iconst_0
caload
invokevirtual java.io.Writer.write:(I)V
35: aload 3
aload 11
iconst_1
caload
invokevirtual java.io.Writer.write:(I)V
end local 11 36: goto 38
37: StackMap locals:
StackMap stack:
aload 3
iload 10
invokevirtual java.io.Writer.write:(I)V
38: StackMap locals:
StackMap stack:
iconst_2
iload 8
iadd
iload 5
isub
iload 6
ifeq 39
iconst_1
goto 40
StackMap locals:
StackMap stack: int
39: iconst_0
StackMap locals: org.apache.commons.lang3.text.translate.NumericEntityUnescaper java.lang.CharSequence int java.io.Writer int int int int int int int
StackMap stack: int int
40: iadd
iload 9
ifeq 41
iconst_1
goto 42
StackMap locals:
StackMap stack: int
41: iconst_0
StackMap locals: org.apache.commons.lang3.text.translate.NumericEntityUnescaper java.lang.CharSequence int java.io.Writer int int int int int int int
StackMap stack: int int
42: iadd
ireturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 43: StackMap locals: org.apache.commons.lang3.text.translate.NumericEntityUnescaper java.lang.CharSequence int java.io.Writer int
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lorg/apache/commons/lang3/text/translate/NumericEntityUnescaper;
0 44 1 input Ljava/lang/CharSequence;
0 44 2 index I
0 44 3 out Ljava/io/Writer;
1 44 4 seqEnd I
3 43 5 start I
4 43 6 isHex Z
5 43 7 firstChar C
11 43 8 end I
20 43 9 semiNext Z
27 28 10 entityValue I
29 30 10 entityValue I
32 43 10 entityValue I
34 36 11 chars [C
Exception table:
from to target type
25 29 30 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input final
index final
out final
}
SourceFile: "NumericEntityUnescaper.java"
NestMembers:
org.apache.commons.lang3.text.translate.NumericEntityUnescaper$OPTION
InnerClasses:
public final OPTION = org.apache.commons.lang3.text.translate.NumericEntityUnescaper$OPTION of org.apache.commons.lang3.text.translate.NumericEntityUnescaper
RuntimeVisibleAnnotations:
java.lang.Deprecated()