public class ch.qos.logback.core.pattern.util.RegularEscapeUtil implements ch.qos.logback.core.pattern.util.IEscapeUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.pattern.util.RegularEscapeUtil
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/pattern/util/RegularEscapeUtil;
public void escape(java.lang.String, java.lang.StringBuffer, char, int);
descriptor: (Ljava/lang/String;Ljava/lang/StringBuffer;CI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
iload 3
invokevirtual java.lang.String.indexOf:(I)I
iflt 3
1: aload 2
iload 3
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
2: goto 17
3: StackMap locals:
StackMap stack:
iload 3
lookupswitch { // 5
92: 5
95: 4
110: 11
114: 9
116: 7
default: 13
}
4: StackMap locals:
StackMap stack:
goto 17
5: StackMap locals:
StackMap stack:
aload 2
iload 3
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
6: goto 17
7: StackMap locals:
StackMap stack:
aload 2
bipush 9
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
8: goto 17
9: StackMap locals:
StackMap stack:
aload 2
bipush 13
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
10: goto 17
11: StackMap locals:
StackMap stack:
aload 2
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: goto 17
13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual ch.qos.logback.core.pattern.util.RegularEscapeUtil.formatEscapeCharsForListing:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 14: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal char '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc " at column "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ". Only \\\\, \\_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: ldc ", \\t, \\n, \\r combinations are allowed as escape characters."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 17: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lch/qos/logback/core/pattern/util/RegularEscapeUtil;
0 18 1 escapeChars Ljava/lang/String;
0 18 2 buf Ljava/lang/StringBuffer;
0 18 3 next C
0 18 4 pointer I
14 17 5 commaSeperatedEscapeChars Ljava/lang/String;
MethodParameters:
Name Flags
escapeChars
buf
next
pointer
java.lang.String formatEscapeCharsForListing(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
ldc ", \\"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 3 6: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lch/qos/logback/core/pattern/util/RegularEscapeUtil;
0 7 1 escapeChars Ljava/lang/String;
1 7 2 commaSeperatedEscapeChars Ljava/lang/StringBuilder;
2 6 3 i I
MethodParameters:
Name Flags
escapeChars
public static java.lang.String basicEscape(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: new java.lang.StringBuilder
dup
iload 2
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 31
4: StackMap locals: java.lang.String top int java.lang.StringBuilder int
StackMap stack:
aload 0
iload 4
iinc 4 1
invokevirtual java.lang.String.charAt:(I)C
istore 1
start local 1 5: iload 1
bipush 92
if_icmpne 30
6: aload 0
iload 4
iinc 4 1
invokevirtual java.lang.String.charAt:(I)C
istore 1
7: iload 1
bipush 110
if_icmpne 10
8: bipush 10
istore 1
9: goto 30
StackMap locals: java.lang.String int int java.lang.StringBuilder int
StackMap stack:
10: iload 1
bipush 114
if_icmpne 13
11: bipush 13
istore 1
12: goto 30
StackMap locals:
StackMap stack:
13: iload 1
bipush 116
if_icmpne 16
14: bipush 9
istore 1
15: goto 30
StackMap locals:
StackMap stack:
16: iload 1
bipush 102
if_icmpne 19
17: bipush 12
istore 1
18: goto 30
StackMap locals:
StackMap stack:
19: iload 1
bipush 8
if_icmpne 22
20: bipush 8
istore 1
21: goto 30
StackMap locals:
StackMap stack:
22: iload 1
bipush 34
if_icmpne 25
23: bipush 34
istore 1
24: goto 30
StackMap locals:
StackMap stack:
25: iload 1
bipush 39
if_icmpne 28
26: bipush 39
istore 1
27: goto 30
StackMap locals:
StackMap stack:
28: iload 1
bipush 92
if_icmpne 30
29: bipush 92
istore 1
30: StackMap locals:
StackMap stack:
aload 3
iload 1
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 1 31: StackMap locals: java.lang.String top int java.lang.StringBuilder int
StackMap stack:
iload 4
iload 2
if_icmplt 4
32: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 s Ljava/lang/String;
5 31 1 c C
1 33 2 len I
2 33 3 sbuf Ljava/lang/StringBuilder;
3 33 4 i I
MethodParameters:
Name Flags
s
}
SourceFile: "RegularEscapeUtil.java"