public class ch.qos.logback.core.subst.Tokenizer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.subst.Tokenizer
super_class: java.lang.Object
{
final java.lang.String pattern;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final int patternLength;
descriptor: I
flags: (0x0010) ACC_FINAL
ch.qos.logback.core.subst.Tokenizer$TokenizerState state;
descriptor: Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
flags: (0x0000)
int pointer;
descriptor: I
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$ch$qos$logback$core$subst$Tokenizer$TokenizerState;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.LITERAL_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
putfield ch.qos.logback.core.subst.Tokenizer.state:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
2: aload 0
iconst_0
putfield ch.qos.logback.core.subst.Tokenizer.pointer:I
3: aload 0
aload 1
putfield ch.qos.logback.core.subst.Tokenizer.pattern:Ljava/lang/String;
4: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield ch.qos.logback.core.subst.Tokenizer.patternLength:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lch/qos/logback/core/subst/Tokenizer;
0 6 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
java.util.List<ch.qos.logback.core.subst.Token> tokenize();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 2: goto 11
3: StackMap locals: java.util.List java.lang.StringBuilder
StackMap stack:
aload 0
getfield ch.qos.logback.core.subst.Tokenizer.pattern:Ljava/lang/String;
aload 0
getfield ch.qos.logback.core.subst.Tokenizer.pointer:I
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: aload 0
dup
getfield ch.qos.logback.core.subst.Tokenizer.pointer:I
iconst_1
iadd
putfield ch.qos.logback.core.subst.Tokenizer.pointer:I
5: invokestatic ch.qos.logback.core.subst.Tokenizer.$SWITCH_TABLE$ch$qos$logback$core$subst$Tokenizer$TokenizerState:()[I
aload 0
getfield ch.qos.logback.core.subst.Tokenizer.state:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
invokevirtual ch.qos.logback.core.subst.Tokenizer$TokenizerState.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 6
2: 8
3: 10
default: 11
}
6: StackMap locals: int
StackMap stack:
aload 0
iload 3
aload 1
aload 2
invokevirtual ch.qos.logback.core.subst.Tokenizer.handleLiteralState:(CLjava/util/List;Ljava/lang/StringBuilder;)V
7: goto 11
8: StackMap locals:
StackMap stack:
aload 0
iload 3
aload 1
aload 2
invokevirtual ch.qos.logback.core.subst.Tokenizer.handleStartState:(CLjava/util/List;Ljava/lang/StringBuilder;)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
iload 3
aload 1
aload 2
invokevirtual ch.qos.logback.core.subst.Tokenizer.handleDefaultValueState:(CLjava/util/List;Ljava/lang/StringBuilder;)V
end local 3 11: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.subst.Tokenizer.pointer:I
aload 0
getfield ch.qos.logback.core.subst.Tokenizer.patternLength:I
if_icmplt 3
12: invokestatic ch.qos.logback.core.subst.Tokenizer.$SWITCH_TABLE$ch$qos$logback$core$subst$Tokenizer$TokenizerState:()[I
aload 0
getfield ch.qos.logback.core.subst.Tokenizer.state:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
invokevirtual ch.qos.logback.core.subst.Tokenizer$TokenizerState.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 13
2: 18
3: 15
default: 20
}
13: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual ch.qos.logback.core.subst.Tokenizer.addLiteralToken:(Ljava/util/List;Ljava/lang/StringBuilder;)V
14: goto 20
15: StackMap locals:
StackMap stack:
aload 2
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: aload 0
aload 1
aload 2
invokevirtual ch.qos.logback.core.subst.Tokenizer.addLiteralToken:(Ljava/util/List;Ljava/lang/StringBuilder;)V
17: goto 20
18: StackMap locals:
StackMap stack:
aload 2
bipush 36
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
19: aload 0
aload 1
aload 2
invokevirtual ch.qos.logback.core.subst.Tokenizer.addLiteralToken:(Ljava/util/List;Ljava/lang/StringBuilder;)V
20: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lch/qos/logback/core/subst/Tokenizer;
1 21 1 tokenList Ljava/util/List<Lch/qos/logback/core/subst/Token;>;
2 21 2 buf Ljava/lang/StringBuilder;
4 11 3 c C
Exceptions:
throws ch.qos.logback.core.spi.ScanException
Signature: ()Ljava/util/List<Lch/qos/logback/core/subst/Token;>;
private void handleDefaultValueState(char, java.util.List<ch.qos.logback.core.subst.Token>, java.lang.StringBuilder);
descriptor: (CLjava/util/List;Ljava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
lookupswitch { // 2
36: 4
45: 1
default: 9
}
1: StackMap locals:
StackMap stack:
aload 2
getstatic ch.qos.logback.core.subst.Token.DEFAULT_SEP_TOKEN:Lch/qos/logback/core/subst/Token;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.LITERAL_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
putfield ch.qos.logback.core.subst.Tokenizer.state:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
3: goto 11
4: StackMap locals:
StackMap stack:
aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 0
aload 2
aload 3
invokevirtual ch.qos.logback.core.subst.Tokenizer.addLiteralToken:(Ljava/util/List;Ljava/lang/StringBuilder;)V
6: aload 3
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
7: aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.START_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
putfield ch.qos.logback.core.subst.Tokenizer.state:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
8: goto 11
9: StackMap locals:
StackMap stack:
aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.LITERAL_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
putfield ch.qos.logback.core.subst.Tokenizer.state:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lch/qos/logback/core/subst/Tokenizer;
0 12 1 c C
0 12 2 tokenList Ljava/util/List<Lch/qos/logback/core/subst/Token;>;
0 12 3 stringBuilder Ljava/lang/StringBuilder;
Signature: (CLjava/util/List<Lch/qos/logback/core/subst/Token;>;Ljava/lang/StringBuilder;)V
MethodParameters:
Name Flags
c
tokenList
stringBuilder
private void handleStartState(char, java.util.List<ch.qos.logback.core.subst.Token>, java.lang.StringBuilder);
descriptor: (CLjava/util/List;Ljava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
bipush 123
if_icmpne 3
1: aload 2
getstatic ch.qos.logback.core.subst.Token.START_TOKEN:Lch/qos/logback/core/subst/Token;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 3
bipush 36
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: StackMap locals:
StackMap stack:
aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.LITERAL_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
putfield ch.qos.logback.core.subst.Tokenizer.state:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lch/qos/logback/core/subst/Tokenizer;
0 6 1 c C
0 6 2 tokenList Ljava/util/List<Lch/qos/logback/core/subst/Token;>;
0 6 3 stringBuilder Ljava/lang/StringBuilder;
Signature: (CLjava/util/List<Lch/qos/logback/core/subst/Token;>;Ljava/lang/StringBuilder;)V
MethodParameters:
Name Flags
c
tokenList
stringBuilder
private void handleLiteralState(char, java.util.List<ch.qos.logback.core.subst.Token>, java.lang.StringBuilder);
descriptor: (CLjava/util/List;Ljava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
bipush 36
if_icmpne 5
1: aload 0
aload 2
aload 3
invokevirtual ch.qos.logback.core.subst.Tokenizer.addLiteralToken:(Ljava/util/List;Ljava/lang/StringBuilder;)V
2: aload 3
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
3: aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.START_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
putfield ch.qos.logback.core.subst.Tokenizer.state:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
4: goto 21
StackMap locals:
StackMap stack:
5: iload 1
bipush 58
if_icmpne 10
6: aload 0
aload 2
aload 3
invokevirtual ch.qos.logback.core.subst.Tokenizer.addLiteralToken:(Ljava/util/List;Ljava/lang/StringBuilder;)V
7: aload 3
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
8: aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.DEFAULT_VAL_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
putfield ch.qos.logback.core.subst.Tokenizer.state:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
9: goto 21
StackMap locals:
StackMap stack:
10: iload 1
bipush 123
if_icmpne 15
11: aload 0
aload 2
aload 3
invokevirtual ch.qos.logback.core.subst.Tokenizer.addLiteralToken:(Ljava/util/List;Ljava/lang/StringBuilder;)V
12: aload 2
getstatic ch.qos.logback.core.subst.Token.CURLY_LEFT_TOKEN:Lch/qos/logback/core/subst/Token;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: aload 3
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
14: goto 21
StackMap locals:
StackMap stack:
15: iload 1
bipush 125
if_icmpne 20
16: aload 0
aload 2
aload 3
invokevirtual ch.qos.logback.core.subst.Tokenizer.addLiteralToken:(Ljava/util/List;Ljava/lang/StringBuilder;)V
17: aload 2
getstatic ch.qos.logback.core.subst.Token.CURLY_RIGHT_TOKEN:Lch/qos/logback/core/subst/Token;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: aload 3
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
19: goto 21
20: StackMap locals:
StackMap stack:
aload 3
iload 1
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lch/qos/logback/core/subst/Tokenizer;
0 22 1 c C
0 22 2 tokenList Ljava/util/List<Lch/qos/logback/core/subst/Token;>;
0 22 3 stringBuilder Ljava/lang/StringBuilder;
Signature: (CLjava/util/List<Lch/qos/logback/core/subst/Token;>;Ljava/lang/StringBuilder;)V
MethodParameters:
Name Flags
c
tokenList
stringBuilder
private void addLiteralToken(java.util.List<ch.qos.logback.core.subst.Token>, java.lang.StringBuilder);
descriptor: (Ljava/util/List;Ljava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.StringBuilder.length:()I
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
new ch.qos.logback.core.subst.Token
dup
getstatic ch.qos.logback.core.subst.Token$Type.LITERAL:Lch/qos/logback/core/subst/Token$Type;
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial ch.qos.logback.core.subst.Token.<init>:(Lch/qos/logback/core/subst/Token$Type;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/subst/Tokenizer;
0 4 1 tokenList Ljava/util/List<Lch/qos/logback/core/subst/Token;>;
0 4 2 stringBuilder Ljava/lang/StringBuilder;
Signature: (Ljava/util/List<Lch/qos/logback/core/subst/Token;>;Ljava/lang/StringBuilder;)V
MethodParameters:
Name Flags
tokenList
stringBuilder
static int[] $SWITCH_TABLE$ch$qos$logback$core$subst$Tokenizer$TokenizerState();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic ch.qos.logback.core.subst.Tokenizer.$SWITCH_TABLE$ch$qos$logback$core$subst$Tokenizer$TokenizerState:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.values:()[Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
arraylength
newarray 10
astore 0
2: aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.DEFAULT_VAL_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
invokevirtual ch.qos.logback.core.subst.Tokenizer$TokenizerState.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.LITERAL_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
invokevirtual ch.qos.logback.core.subst.Tokenizer$TokenizerState.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic ch.qos.logback.core.subst.Tokenizer$TokenizerState.START_STATE:Lch/qos/logback/core/subst/Tokenizer$TokenizerState;
invokevirtual ch.qos.logback.core.subst.Tokenizer$TokenizerState.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic ch.qos.logback.core.subst.Tokenizer.$SWITCH_TABLE$ch$qos$logback$core$subst$Tokenizer$TokenizerState:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "Tokenizer.java"
NestMembers:
ch.qos.logback.core.subst.Tokenizer$TokenizerState
InnerClasses:
public final Type = ch.qos.logback.core.subst.Token$Type of ch.qos.logback.core.subst.Token
final TokenizerState = ch.qos.logback.core.subst.Tokenizer$TokenizerState of ch.qos.logback.core.subst.Tokenizer