public class ch.qos.logback.core.pattern.parser.OptionTokenizer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.pattern.parser.OptionTokenizer
super_class: java.lang.Object
{
private static final int EXPECTING_STATE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int RAW_COLLECTING_STATE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int QUOTED_COLLECTING_STATE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
final ch.qos.logback.core.pattern.util.IEscapeUtil escapeUtil;
descriptor: Lch/qos/logback/core/pattern/util/IEscapeUtil;
flags: (0x0010) ACC_FINAL
final ch.qos.logback.core.pattern.parser.TokenStream tokenStream;
descriptor: Lch/qos/logback/core/pattern/parser/TokenStream;
flags: (0x0010) ACC_FINAL
final java.lang.String pattern;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final int patternLength;
descriptor: I
flags: (0x0010) ACC_FINAL
char quoteChar;
descriptor: C
flags: (0x0000)
int state;
descriptor: I
flags: (0x0000)
void <init>(ch.qos.logback.core.pattern.parser.TokenStream);
descriptor: (Lch/qos/logback/core/pattern/parser/TokenStream;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new ch.qos.logback.core.pattern.util.AsIsEscapeUtil
dup
invokespecial ch.qos.logback.core.pattern.util.AsIsEscapeUtil.<init>:()V
invokespecial ch.qos.logback.core.pattern.parser.OptionTokenizer.<init>:(Lch/qos/logback/core/pattern/parser/TokenStream;Lch/qos/logback/core/pattern/util/IEscapeUtil;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/pattern/parser/OptionTokenizer;
0 2 1 tokenStream Lch/qos/logback/core/pattern/parser/TokenStream;
MethodParameters:
Name Flags
tokenStream
void <init>(ch.qos.logback.core.pattern.parser.TokenStream, ch.qos.logback.core.pattern.util.IEscapeUtil);
descriptor: (Lch/qos/logback/core/pattern/parser/TokenStream;Lch/qos/logback/core/pattern/util/IEscapeUtil;)V
flags: (0x0000)
Code:
stack=2, 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 ch.qos.logback.core.pattern.parser.OptionTokenizer.state:I
2: aload 0
aload 1
putfield ch.qos.logback.core.pattern.parser.OptionTokenizer.tokenStream:Lch/qos/logback/core/pattern/parser/TokenStream;
3: aload 0
aload 1
getfield ch.qos.logback.core.pattern.parser.TokenStream.pattern:Ljava/lang/String;
putfield ch.qos.logback.core.pattern.parser.OptionTokenizer.pattern:Ljava/lang/String;
4: aload 0
aload 1
getfield ch.qos.logback.core.pattern.parser.TokenStream.patternLength:I
putfield ch.qos.logback.core.pattern.parser.OptionTokenizer.patternLength:I
5: aload 0
aload 2
putfield ch.qos.logback.core.pattern.parser.OptionTokenizer.escapeUtil:Lch/qos/logback/core/pattern/util/IEscapeUtil;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lch/qos/logback/core/pattern/parser/OptionTokenizer;
0 7 1 tokenStream Lch/qos/logback/core/pattern/parser/TokenStream;
0 7 2 escapeUtil Lch/qos/logback/core/pattern/util/IEscapeUtil;
MethodParameters:
Name Flags
tokenStream
escapeUtil
void tokenize(char, java.util.List<ch.qos.logback.core.pattern.parser.Token>);
descriptor: (CLjava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: iload 1
istore 5
start local 5 3: goto 36
4: StackMap locals: java.lang.StringBuffer java.util.List int
StackMap stack:
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.state:I
tableswitch { // 0 - 2
0: 5
1: 15
2: 25
default: 34
}
5: StackMap locals:
StackMap stack:
iload 5
lookupswitch { // 8
9: 6
10: 6
13: 6
32: 6
34: 7
39: 7
44: 6
125: 10
default: 12
}
6: StackMap locals:
StackMap stack:
goto 34
7: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield ch.qos.logback.core.pattern.parser.OptionTokenizer.state:I
8: aload 0
iload 5
putfield ch.qos.logback.core.pattern.parser.OptionTokenizer.quoteChar:C
9: goto 34
10: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 4
invokevirtual ch.qos.logback.core.pattern.parser.OptionTokenizer.emitOptionToken:(Ljava/util/List;Ljava/util/List;)V
11: return
12: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
13: aload 0
iconst_1
putfield ch.qos.logback.core.pattern.parser.OptionTokenizer.state:I
14: goto 34
15: StackMap locals:
StackMap stack:
iload 5
lookupswitch { // 2
44: 16
125: 20
default: 23
}
16: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: aload 3
iconst_0
invokevirtual java.lang.StringBuffer.setLength:(I)V
18: aload 0
iconst_0
putfield ch.qos.logback.core.pattern.parser.OptionTokenizer.state:I
19: goto 34
20: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: aload 0
aload 2
aload 4
invokevirtual ch.qos.logback.core.pattern.parser.OptionTokenizer.emitOptionToken:(Ljava/util/List;Ljava/util/List;)V
22: return
23: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
24: goto 34
25: StackMap locals:
StackMap stack:
iload 5
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.quoteChar:C
if_icmpne 30
26: aload 4
aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: aload 3
iconst_0
invokevirtual java.lang.StringBuffer.setLength:(I)V
28: aload 0
iconst_0
putfield ch.qos.logback.core.pattern.parser.OptionTokenizer.state:I
29: goto 34
StackMap locals:
StackMap stack:
30: iload 5
bipush 92
if_icmpne 33
31: aload 0
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.quoteChar:C
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
aload 3
invokevirtual ch.qos.logback.core.pattern.parser.OptionTokenizer.escape:(Ljava/lang/String;Ljava/lang/StringBuffer;)V
32: goto 34
33: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
34: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.pattern:Ljava/lang/String;
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.tokenStream:Lch/qos/logback/core/pattern/parser/TokenStream;
getfield ch.qos.logback.core.pattern.parser.TokenStream.pointer:I
invokevirtual java.lang.String.charAt:(I)C
istore 5
35: aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.tokenStream:Lch/qos/logback/core/pattern/parser/TokenStream;
dup
getfield ch.qos.logback.core.pattern.parser.TokenStream.pointer:I
iconst_1
iadd
putfield ch.qos.logback.core.pattern.parser.TokenStream.pointer:I
36: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.tokenStream:Lch/qos/logback/core/pattern/parser/TokenStream;
getfield ch.qos.logback.core.pattern.parser.TokenStream.pointer:I
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.patternLength:I
if_icmplt 4
37: iload 5
bipush 125
if_icmpne 46
38: aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.state:I
ifne 41
39: aload 0
aload 2
aload 4
invokevirtual ch.qos.logback.core.pattern.parser.OptionTokenizer.emitOptionToken:(Ljava/util/List;Ljava/util/List;)V
40: goto 47
StackMap locals:
StackMap stack:
41: aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.state:I
iconst_1
if_icmpne 45
42: aload 4
aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
43: aload 0
aload 2
aload 4
invokevirtual ch.qos.logback.core.pattern.parser.OptionTokenizer.emitOptionToken:(Ljava/util/List;Ljava/util/List;)V
44: goto 47
45: StackMap locals:
StackMap stack:
new ch.qos.logback.core.spi.ScanException
dup
ldc "Unexpected end of pattern string in OptionTokenizer"
invokespecial ch.qos.logback.core.spi.ScanException.<init>:(Ljava/lang/String;)V
athrow
46: StackMap locals:
StackMap stack:
new ch.qos.logback.core.spi.ScanException
dup
ldc "Unexpected end of pattern string in OptionTokenizer"
invokespecial ch.qos.logback.core.spi.ScanException.<init>:(Ljava/lang/String;)V
athrow
47: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lch/qos/logback/core/pattern/parser/OptionTokenizer;
0 48 1 firstChar C
0 48 2 tokenList Ljava/util/List<Lch/qos/logback/core/pattern/parser/Token;>;
1 48 3 buf Ljava/lang/StringBuffer;
2 48 4 optionList Ljava/util/List<Ljava/lang/String;>;
3 48 5 c C
Exceptions:
throws ch.qos.logback.core.spi.ScanException
Signature: (CLjava/util/List<Lch/qos/logback/core/pattern/parser/Token;>;)V
MethodParameters:
Name Flags
firstChar
tokenList
void emitOptionToken(java.util.List<ch.qos.logback.core.pattern.parser.Token>, java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
new ch.qos.logback.core.pattern.parser.Token
dup
sipush 1006
aload 2
invokespecial ch.qos.logback.core.pattern.parser.Token.<init>:(ILjava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.tokenStream:Lch/qos/logback/core/pattern/parser/TokenStream;
getstatic ch.qos.logback.core.pattern.parser.TokenStream$TokenizerState.LITERAL_STATE:Lch/qos/logback/core/pattern/parser/TokenStream$TokenizerState;
putfield ch.qos.logback.core.pattern.parser.TokenStream.state:Lch/qos/logback/core/pattern/parser/TokenStream$TokenizerState;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/pattern/parser/OptionTokenizer;
0 3 1 tokenList Ljava/util/List<Lch/qos/logback/core/pattern/parser/Token;>;
0 3 2 optionList Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Lch/qos/logback/core/pattern/parser/Token;>;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
tokenList
optionList
void escape(java.lang.String, java.lang.StringBuffer);
descriptor: (Ljava/lang/String;Ljava/lang/StringBuffer;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.tokenStream:Lch/qos/logback/core/pattern/parser/TokenStream;
getfield ch.qos.logback.core.pattern.parser.TokenStream.pointer:I
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.patternLength:I
if_icmpge 3
1: aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.pattern:Ljava/lang/String;
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.tokenStream:Lch/qos/logback/core/pattern/parser/TokenStream;
dup
getfield ch.qos.logback.core.pattern.parser.TokenStream.pointer:I
dup_x1
iconst_1
iadd
putfield ch.qos.logback.core.pattern.parser.TokenStream.pointer:I
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 2: aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.escapeUtil:Lch/qos/logback/core/pattern/util/IEscapeUtil;
aload 1
aload 2
iload 3
aload 0
getfield ch.qos.logback.core.pattern.parser.OptionTokenizer.tokenStream:Lch/qos/logback/core/pattern/parser/TokenStream;
getfield ch.qos.logback.core.pattern.parser.TokenStream.pointer:I
invokeinterface ch.qos.logback.core.pattern.util.IEscapeUtil.escape:(Ljava/lang/String;Ljava/lang/StringBuffer;CI)V
end local 3 3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/pattern/parser/OptionTokenizer;
0 4 1 escapeChars Ljava/lang/String;
0 4 2 buf Ljava/lang/StringBuffer;
2 3 3 next C
MethodParameters:
Name Flags
escapeChars
buf
}
SourceFile: "OptionTokenizer.java"
InnerClasses:
final TokenizerState = ch.qos.logback.core.pattern.parser.TokenStream$TokenizerState of ch.qos.logback.core.pattern.parser.TokenStream