class org.springframework.web.util.HtmlCharacterEntityDecoder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.web.util.HtmlCharacterEntityDecoder
super_class: java.lang.Object
{
private static final int MAX_REFERENCE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private final org.springframework.web.util.HtmlCharacterEntityReferences characterEntityReferences;
descriptor: Lorg/springframework/web/util/HtmlCharacterEntityReferences;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String originalMessage;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.StringBuilder decodedMessage;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int currentPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int nextPotentialReferencePosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int nextSemicolonPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(org.springframework.web.util.HtmlCharacterEntityReferences, java.lang.String);
descriptor: (Lorg/springframework/web/util/HtmlCharacterEntityReferences;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
2: aload 0
iconst_m1
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
3: aload 0
bipush -2
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
4: aload 0
aload 1
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.characterEntityReferences:Lorg/springframework/web/util/HtmlCharacterEntityReferences;
5: aload 0
aload 2
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
6: aload 0
new java.lang.StringBuilder
dup
aload 2
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.decodedMessage:Ljava/lang/StringBuilder;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/web/util/HtmlCharacterEntityDecoder;
0 8 1 characterEntityReferences Lorg/springframework/web/util/HtmlCharacterEntityReferences;
0 8 2 original Ljava/lang/String;
MethodParameters:
Name Flags
characterEntityReferences
original
public java.lang.String decode();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
invokevirtual org.springframework.web.util.HtmlCharacterEntityDecoder.findNextPotentialReference:(I)V
2: aload 0
invokevirtual org.springframework.web.util.HtmlCharacterEntityDecoder.copyCharactersTillPotentialReference:()V
3: aload 0
invokevirtual org.springframework.web.util.HtmlCharacterEntityDecoder.processPossibleReference:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 1
5: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.decodedMessage:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/web/util/HtmlCharacterEntityDecoder;
private void findNextPotentialReference(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
bipush 10
isub
invokestatic java.lang.Math.max:(II)I
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
1: StackMap locals:
StackMap stack:
aload 0
2: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
bipush 38
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
invokevirtual java.lang.String.indexOf:(II)I
3: putfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
4: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
iconst_m1
if_icmpeq 7
5: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
if_icmpge 7
6: aload 0
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
bipush 59
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
7: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
iconst_m1
if_icmpeq 11
8: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
iconst_m1
if_icmpeq 11
9: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
isub
bipush 10
10: if_icmpge 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 2
start local 2 13: iload 2
ifeq 15
14: goto 22
15: StackMap locals: int
StackMap stack:
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
iconst_m1
if_icmpne 17
16: goto 22
17: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
iconst_m1
if_icmpne 20
18: aload 0
iconst_m1
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
19: goto 22
20: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
iconst_1
iadd
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
end local 2 21: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
iconst_m1
if_icmpne 1
22: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/springframework/web/util/HtmlCharacterEntityDecoder;
0 23 1 startPosition I
13 21 2 isPotentialReference Z
MethodParameters:
Name Flags
startPosition
private void copyCharactersTillPotentialReference();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
if_icmpeq 11
1: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
iconst_m1
if_icmpeq 3
2: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
4: StackMap locals:
StackMap stack: int
istore 1
start local 1 5: iload 1
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
isub
iconst_3
if_icmple 10
6: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.decodedMessage:Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 0
iload 1
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
8: goto 11
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.decodedMessage:Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
aload 0
dup
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
dup_x1
iconst_1
iadd
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
iload 1
if_icmplt 9
end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/web/util/HtmlCharacterEntityDecoder;
5 11 1 skipUntilIndex I
private void processPossibleReference();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
iconst_m1
if_icmpeq 13
1: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 1
start local 1 4: iload 1
ifeq 5
aload 0
invokevirtual org.springframework.web.util.HtmlCharacterEntityDecoder.processNumberedReference:()Z
goto 6
StackMap locals: int
StackMap stack:
5: aload 0
invokevirtual org.springframework.web.util.HtmlCharacterEntityDecoder.processNamedReference:()Z
StackMap locals:
StackMap stack: int
6: istore 2
start local 2 7: iload 2
ifeq 10
8: aload 0
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
iconst_1
iadd
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
9: goto 13
10: StackMap locals: int
StackMap stack:
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 11: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.decodedMessage:Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: aload 0
dup
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
iconst_1
iadd
putfield org.springframework.web.util.HtmlCharacterEntityDecoder.currentPosition:I
end local 3 end local 2 end local 1 13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/web/util/HtmlCharacterEntityDecoder;
4 13 1 isNumberedReference Z
7 13 2 wasProcessable Z
11 13 3 currentChar C
private boolean processNumberedReference();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
iconst_2
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 1
start local 1 1: iload 1
bipush 120
if_icmpeq 2
iload 1
bipush 88
if_icmpeq 2
iconst_0
goto 3
StackMap locals: int
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: iload 2
ifne 6
5: aload 0
iconst_2
invokevirtual org.springframework.web.util.HtmlCharacterEntityDecoder.getReferenceSubstring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
goto 7
6: StackMap locals: int
StackMap stack:
aload 0
iconst_3
invokevirtual org.springframework.web.util.HtmlCharacterEntityDecoder.getReferenceSubstring:(I)Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
7: StackMap locals:
StackMap stack: int
istore 3
start local 3 8: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.decodedMessage:Ljava/lang/StringBuilder;
iload 3
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: iconst_1
ireturn
end local 3 10: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/web/util/HtmlCharacterEntityDecoder;
1 12 1 referenceChar C
4 12 2 isHexNumberedReference Z
8 10 3 value I
Exception table:
from to target type
4 9 10 Class java.lang.NumberFormatException
private boolean processNamedReference();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.springframework.web.util.HtmlCharacterEntityDecoder.getReferenceSubstring:(I)Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.characterEntityReferences:Lorg/springframework/web/util/HtmlCharacterEntityReferences;
aload 1
invokevirtual org.springframework.web.util.HtmlCharacterEntityReferences.convertToCharacter:(Ljava/lang/String;)C
istore 2
start local 2 2: iload 2
ldc 65535
if_icmpeq 5
3: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.decodedMessage:Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: iconst_1
ireturn
5: StackMap locals: java.lang.String int
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/web/util/HtmlCharacterEntityDecoder;
1 6 1 referenceName Ljava/lang/String;
2 6 2 mappedCharacter C
private java.lang.String getReferenceSubstring(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.originalMessage:Ljava/lang/String;
1: aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextPotentialReferencePosition:I
iload 1
iadd
aload 0
getfield org.springframework.web.util.HtmlCharacterEntityDecoder.nextSemicolonPosition:I
2: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/util/HtmlCharacterEntityDecoder;
0 3 1 referenceOffset I
MethodParameters:
Name Flags
referenceOffset
}
SourceFile: "HtmlCharacterEntityDecoder.java"