public class ch.qos.logback.core.subst.Parser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.subst.Parser
super_class: java.lang.Object
{
final java.util.List<ch.qos.logback.core.subst.Token> tokenList;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lch/qos/logback/core/subst/Token;>;
int pointer;
descriptor: I
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$ch$qos$logback$core$subst$Token$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(java.util.List<ch.qos.logback.core.subst.Token>);
descriptor: (Ljava/util/List;)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
iconst_0
putfield ch.qos.logback.core.subst.Parser.pointer:I
2: aload 0
aload 1
putfield ch.qos.logback.core.subst.Parser.tokenList:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/subst/Parser;
0 4 1 tokenList Ljava/util/List<Lch/qos/logback/core/subst/Token;>;
Signature: (Ljava/util/List<Lch/qos/logback/core/subst/Token;>;)V
MethodParameters:
Name Flags
tokenList
public ch.qos.logback.core.subst.Node parse();
descriptor: ()Lch/qos/logback/core/subst/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.subst.Parser.tokenList:Ljava/util/List;
ifnull 1
aload 0
getfield ch.qos.logback.core.subst.Parser.tokenList:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual ch.qos.logback.core.subst.Parser.E:()Lch/qos/logback/core/subst/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/subst/Parser;
Exceptions:
throws ch.qos.logback.core.spi.ScanException
private ch.qos.logback.core.subst.Node E();
descriptor: ()Lch/qos/logback/core/subst/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.T:()Lch/qos/logback/core/subst/Node;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: ch.qos.logback.core.subst.Node
StackMap stack:
aload 0
invokevirtual ch.qos.logback.core.subst.Parser.Eopt:()Lch/qos/logback/core/subst/Node;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 1
aload 2
invokevirtual ch.qos.logback.core.subst.Node.append:(Lch/qos/logback/core/subst/Node;)V
6: StackMap locals: ch.qos.logback.core.subst.Node
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lch/qos/logback/core/subst/Parser;
1 7 1 t Lch/qos/logback/core/subst/Node;
4 7 2 eOpt Lch/qos/logback/core/subst/Node;
Exceptions:
throws ch.qos.logback.core.spi.ScanException
private ch.qos.logback.core.subst.Node Eopt();
descriptor: ()Lch/qos/logback/core/subst/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.peekAtCurentToken:()Lch/qos/logback/core/subst/Token;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: ch.qos.logback.core.subst.Token
StackMap stack:
aload 0
invokevirtual ch.qos.logback.core.subst.Parser.E:()Lch/qos/logback/core/subst/Node;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/subst/Parser;
1 4 1 next Lch/qos/logback/core/subst/Token;
Exceptions:
throws ch.qos.logback.core.spi.ScanException
private ch.qos.logback.core.subst.Node T();
descriptor: ()Lch/qos/logback/core/subst/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.peekAtCurentToken:()Lch/qos/logback/core/subst/Token;
astore 1
start local 1 1: invokestatic ch.qos.logback.core.subst.Parser.$SWITCH_TABLE$ch$qos$logback$core$subst$Token$Type:()[I
aload 1
getfield ch.qos.logback.core.subst.Token.type:Lch/qos/logback/core/subst/Token$Type;
invokevirtual ch.qos.logback.core.subst.Token$Type.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 2
2: 13
3: 4
default: 19
}
2: StackMap locals: ch.qos.logback.core.subst.Token
StackMap stack:
aload 0
invokevirtual ch.qos.logback.core.subst.Parser.advanceTokenPointer:()V
3: aload 0
aload 1
getfield ch.qos.logback.core.subst.Token.payload:Ljava/lang/String;
invokevirtual ch.qos.logback.core.subst.Parser.makeNewLiteralNode:(Ljava/lang/String;)Lch/qos/logback/core/subst/Node;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual ch.qos.logback.core.subst.Parser.advanceTokenPointer:()V
5: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.C:()Lch/qos/logback/core/subst/Node;
astore 2
start local 2 6: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.peekAtCurentToken:()Lch/qos/logback/core/subst/Token;
astore 3
start local 3 7: aload 0
aload 3
invokevirtual ch.qos.logback.core.subst.Parser.expectCurlyRight:(Lch/qos/logback/core/subst/Token;)V
8: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.advanceTokenPointer:()V
9: aload 0
getstatic ch.qos.logback.core.CoreConstants.LEFT_ACCOLADE:Ljava/lang/String;
invokevirtual ch.qos.logback.core.subst.Parser.makeNewLiteralNode:(Ljava/lang/String;)Lch/qos/logback/core/subst/Node;
astore 4
start local 4 10: aload 4
aload 2
invokevirtual ch.qos.logback.core.subst.Node.append:(Lch/qos/logback/core/subst/Node;)V
11: aload 4
aload 0
getstatic ch.qos.logback.core.CoreConstants.RIGHT_ACCOLADE:Ljava/lang/String;
invokevirtual ch.qos.logback.core.subst.Parser.makeNewLiteralNode:(Ljava/lang/String;)Lch/qos/logback/core/subst/Node;
invokevirtual ch.qos.logback.core.subst.Node.append:(Lch/qos/logback/core/subst/Node;)V
12: aload 4
areturn
end local 4 end local 3 end local 2 13: StackMap locals:
StackMap stack:
aload 0
invokevirtual ch.qos.logback.core.subst.Parser.advanceTokenPointer:()V
14: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.V:()Lch/qos/logback/core/subst/Node;
astore 5
start local 5 15: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.peekAtCurentToken:()Lch/qos/logback/core/subst/Token;
astore 6
start local 6 16: aload 0
aload 6
invokevirtual ch.qos.logback.core.subst.Parser.expectCurlyRight:(Lch/qos/logback/core/subst/Token;)V
17: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.advanceTokenPointer:()V
18: aload 5
areturn
end local 6 end local 5 19: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lch/qos/logback/core/subst/Parser;
1 20 1 t Lch/qos/logback/core/subst/Token;
6 13 2 innerNode Lch/qos/logback/core/subst/Node;
7 13 3 right Lch/qos/logback/core/subst/Token;
10 13 4 curlyLeft Lch/qos/logback/core/subst/Node;
15 19 5 v Lch/qos/logback/core/subst/Node;
16 19 6 w Lch/qos/logback/core/subst/Token;
Exceptions:
throws ch.qos.logback.core.spi.ScanException
private ch.qos.logback.core.subst.Node makeNewLiteralNode(java.lang.String);
descriptor: (Ljava/lang/String;)Lch/qos/logback/core/subst/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new ch.qos.logback.core.subst.Node
dup
getstatic ch.qos.logback.core.subst.Node$Type.LITERAL:Lch/qos/logback/core/subst/Node$Type;
aload 1
invokespecial ch.qos.logback.core.subst.Node.<init>:(Lch/qos/logback/core/subst/Node$Type;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/subst/Parser;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private ch.qos.logback.core.subst.Node V();
descriptor: ()Lch/qos/logback/core/subst/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.E:()Lch/qos/logback/core/subst/Node;
astore 1
start local 1 1: new ch.qos.logback.core.subst.Node
dup
getstatic ch.qos.logback.core.subst.Node$Type.VARIABLE:Lch/qos/logback/core/subst/Node$Type;
aload 1
invokespecial ch.qos.logback.core.subst.Node.<init>:(Lch/qos/logback/core/subst/Node$Type;Ljava/lang/Object;)V
astore 2
start local 2 2: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.peekAtCurentToken:()Lch/qos/logback/core/subst/Token;
astore 3
start local 3 3: aload 0
aload 3
invokevirtual ch.qos.logback.core.subst.Parser.isDefaultToken:(Lch/qos/logback/core/subst/Token;)Z
ifeq 7
4: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.advanceTokenPointer:()V
5: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.E:()Lch/qos/logback/core/subst/Node;
astore 4
start local 4 6: aload 2
aload 4
putfield ch.qos.logback.core.subst.Node.defaultPart:Ljava/lang/Object;
end local 4 7: StackMap locals: ch.qos.logback.core.subst.Node ch.qos.logback.core.subst.Node ch.qos.logback.core.subst.Token
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lch/qos/logback/core/subst/Parser;
1 8 1 e Lch/qos/logback/core/subst/Node;
2 8 2 variable Lch/qos/logback/core/subst/Node;
3 8 3 t Lch/qos/logback/core/subst/Token;
6 7 4 def Lch/qos/logback/core/subst/Node;
Exceptions:
throws ch.qos.logback.core.spi.ScanException
private ch.qos.logback.core.subst.Node C();
descriptor: ()Lch/qos/logback/core/subst/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.E:()Lch/qos/logback/core/subst/Node;
astore 1
start local 1 1: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.peekAtCurentToken:()Lch/qos/logback/core/subst/Token;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual ch.qos.logback.core.subst.Parser.isDefaultToken:(Lch/qos/logback/core/subst/Token;)Z
ifeq 8
3: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.advanceTokenPointer:()V
4: aload 0
ldc ":-"
invokevirtual ch.qos.logback.core.subst.Parser.makeNewLiteralNode:(Ljava/lang/String;)Lch/qos/logback/core/subst/Node;
astore 3
start local 3 5: aload 1
aload 3
invokevirtual ch.qos.logback.core.subst.Node.append:(Lch/qos/logback/core/subst/Node;)V
6: aload 0
invokevirtual ch.qos.logback.core.subst.Parser.E:()Lch/qos/logback/core/subst/Node;
astore 4
start local 4 7: aload 1
aload 4
invokevirtual ch.qos.logback.core.subst.Node.append:(Lch/qos/logback/core/subst/Node;)V
end local 4 end local 3 8: StackMap locals: ch.qos.logback.core.subst.Node ch.qos.logback.core.subst.Token
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lch/qos/logback/core/subst/Parser;
1 9 1 e0 Lch/qos/logback/core/subst/Node;
2 9 2 t Lch/qos/logback/core/subst/Token;
5 8 3 literal Lch/qos/logback/core/subst/Node;
7 8 4 e1 Lch/qos/logback/core/subst/Node;
Exceptions:
throws ch.qos.logback.core.spi.ScanException
private boolean isDefaultToken(ch.qos.logback.core.subst.Token);
descriptor: (Lch/qos/logback/core/subst/Token;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
getfield ch.qos.logback.core.subst.Token.type:Lch/qos/logback/core/subst/Token$Type;
getstatic ch.qos.logback.core.subst.Token$Type.DEFAULT:Lch/qos/logback/core/subst/Token$Type;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/subst/Parser;
0 2 1 t Lch/qos/logback/core/subst/Token;
MethodParameters:
Name Flags
t
void advanceTokenPointer();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield ch.qos.logback.core.subst.Parser.pointer:I
iconst_1
iadd
putfield ch.qos.logback.core.subst.Parser.pointer:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/subst/Parser;
void expectNotNull(ch.qos.logback.core.subst.Token, java.lang.String);
descriptor: (Lch/qos/logback/core/subst/Token;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "All tokens consumed but was expecting \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/subst/Parser;
0 3 1 t Lch/qos/logback/core/subst/Token;
0 3 2 expected Ljava/lang/String;
MethodParameters:
Name Flags
t
expected
void expectCurlyRight(ch.qos.logback.core.subst.Token);
descriptor: (Lch/qos/logback/core/subst/Token;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "}"
invokevirtual ch.qos.logback.core.subst.Parser.expectNotNull:(Lch/qos/logback/core/subst/Token;Ljava/lang/String;)V
1: aload 1
getfield ch.qos.logback.core.subst.Token.type:Lch/qos/logback/core/subst/Token$Type;
getstatic ch.qos.logback.core.subst.Token$Type.CURLY_RIGHT:Lch/qos/logback/core/subst/Token$Type;
if_acmpeq 3
2: new ch.qos.logback.core.spi.ScanException
dup
ldc "Expecting }"
invokespecial ch.qos.logback.core.spi.ScanException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/subst/Parser;
0 4 1 t Lch/qos/logback/core/subst/Token;
Exceptions:
throws ch.qos.logback.core.spi.ScanException
MethodParameters:
Name Flags
t
ch.qos.logback.core.subst.Token peekAtCurentToken();
descriptor: ()Lch/qos/logback/core/subst/Token;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.subst.Parser.pointer:I
aload 0
getfield ch.qos.logback.core.subst.Parser.tokenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 2
1: aload 0
getfield ch.qos.logback.core.subst.Parser.tokenList:Ljava/util/List;
aload 0
getfield ch.qos.logback.core.subst.Parser.pointer:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast ch.qos.logback.core.subst.Token
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/subst/Parser;
static int[] $SWITCH_TABLE$ch$qos$logback$core$subst$Token$Type();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic ch.qos.logback.core.subst.Parser.$SWITCH_TABLE$ch$qos$logback$core$subst$Token$Type:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic ch.qos.logback.core.subst.Token$Type.values:()[Lch/qos/logback/core/subst/Token$Type;
arraylength
newarray 10
astore 0
2: aload 0
getstatic ch.qos.logback.core.subst.Token$Type.CURLY_LEFT:Lch/qos/logback/core/subst/Token$Type;
invokevirtual ch.qos.logback.core.subst.Token$Type.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.Token$Type.CURLY_RIGHT:Lch/qos/logback/core/subst/Token$Type;
invokevirtual ch.qos.logback.core.subst.Token$Type.ordinal:()I
iconst_4
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.Token$Type.DEFAULT:Lch/qos/logback/core/subst/Token$Type;
invokevirtual ch.qos.logback.core.subst.Token$Type.ordinal:()I
iconst_5
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic ch.qos.logback.core.subst.Token$Type.LITERAL:Lch/qos/logback/core/subst/Token$Type;
invokevirtual ch.qos.logback.core.subst.Token$Type.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic ch.qos.logback.core.subst.Token$Type.START:Lch/qos/logback/core/subst/Token$Type;
invokevirtual ch.qos.logback.core.subst.Token$Type.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic ch.qos.logback.core.subst.Parser.$SWITCH_TABLE$ch$qos$logback$core$subst$Token$Type:[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
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "Parser.java"
InnerClasses:
final Type = ch.qos.logback.core.subst.Node$Type of ch.qos.logback.core.subst.Node
public final Type = ch.qos.logback.core.subst.Token$Type of ch.qos.logback.core.subst.Token