public class org.apache.tomcat.util.security.Escape
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.security.Escape
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/security/Escape;
public static java.lang.String htmlElementContent(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 26
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 6: iload 3
bipush 60
if_icmpne 9
7: aload 1
ldc "<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 25
StackMap locals: int
StackMap stack:
9: iload 3
bipush 62
if_icmpne 12
10: aload 1
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: goto 25
StackMap locals:
StackMap stack:
12: iload 3
bipush 39
if_icmpne 15
13: aload 1
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: goto 25
StackMap locals:
StackMap stack:
15: iload 3
bipush 38
if_icmpne 18
16: aload 1
ldc "&"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: goto 25
StackMap locals:
StackMap stack:
18: iload 3
bipush 34
if_icmpne 21
19: aload 1
ldc """
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: goto 25
StackMap locals:
StackMap stack:
21: iload 3
bipush 47
if_icmpne 24
22: aload 1
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: goto 25
24: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 25: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
26: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 5
end local 2 27: aload 1
invokevirtual java.lang.StringBuilder.length:()I
aload 0
invokevirtual java.lang.String.length:()I
if_icmple 28
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 29
StackMap locals:
StackMap stack:
28: aload 0
StackMap locals:
StackMap stack: java.lang.String
29: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 content Ljava/lang/String;
3 30 1 sb Ljava/lang/StringBuilder;
4 27 2 i I
6 25 3 c C
MethodParameters:
Name Flags
content
public static java.lang.String htmlElementContent(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "?"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.Exception
pop
5: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 obj Ljava/lang/Object;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
MethodParameters:
Name Flags
obj
public static java.lang.String xml(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aconst_null
aload 0
invokestatic org.apache.tomcat.util.security.Escape.xml:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 content Ljava/lang/String;
MethodParameters:
Name Flags
content
public static java.lang.String xml(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 1
invokestatic org.apache.tomcat.util.security.Escape.xml:(Ljava/lang/String;ZLjava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ifNull Ljava/lang/String;
0 1 1 content Ljava/lang/String;
MethodParameters:
Name Flags
ifNull
content
public static java.lang.String xml(java.lang.String, boolean, java.lang.String);
descriptor: (Ljava/lang/String;ZLjava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 29
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 6: iload 5
bipush 60
if_icmpne 9
7: aload 3
ldc "<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 28
StackMap locals: int
StackMap stack:
9: iload 5
bipush 62
if_icmpne 12
10: aload 3
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: goto 28
StackMap locals:
StackMap stack:
12: iload 5
bipush 39
if_icmpne 15
13: aload 3
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: goto 28
StackMap locals:
StackMap stack:
15: iload 5
bipush 38
if_icmpne 18
16: aload 3
ldc "&"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: goto 28
StackMap locals:
StackMap stack:
18: iload 5
bipush 34
if_icmpne 21
19: aload 3
ldc """
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: goto 28
StackMap locals:
StackMap stack:
21: iload 1
ifeq 24
iload 5
bipush 13
if_icmpne 24
22: aload 3
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: goto 28
StackMap locals:
StackMap stack:
24: iload 1
ifeq 27
iload 5
bipush 10
if_icmpne 27
25: aload 3
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: goto 28
27: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 28: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
29: iload 4
aload 2
invokevirtual java.lang.String.length:()I
if_icmplt 5
end local 4 30: aload 3
invokevirtual java.lang.StringBuilder.length:()I
aload 2
invokevirtual java.lang.String.length:()I
if_icmple 31
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 32
StackMap locals:
StackMap stack:
31: aload 2
StackMap locals:
StackMap stack: java.lang.String
32: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 ifNull Ljava/lang/String;
0 33 1 escapeCRLF Z
0 33 2 content Ljava/lang/String;
3 33 3 sb Ljava/lang/StringBuilder;
4 30 4 i I
6 28 5 c C
MethodParameters:
Name Flags
ifNull
escapeCRLF
content
}
SourceFile: "Escape.java"