class ch.qos.logback.core.pattern.parser.Compiler<E> extends ch.qos.logback.core.spi.ContextAwareBase
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: ch.qos.logback.core.pattern.parser.Compiler
super_class: ch.qos.logback.core.spi.ContextAwareBase
{
ch.qos.logback.core.pattern.Converter<E> head;
descriptor: Lch/qos/logback/core/pattern/Converter;
flags: (0x0000)
Signature: Lch/qos/logback/core/pattern/Converter<TE;>;
ch.qos.logback.core.pattern.Converter<E> tail;
descriptor: Lch/qos/logback/core/pattern/Converter;
flags: (0x0000)
Signature: Lch/qos/logback/core/pattern/Converter<TE;>;
final ch.qos.logback.core.pattern.parser.Node top;
descriptor: Lch/qos/logback/core/pattern/parser/Node;
flags: (0x0010) ACC_FINAL
final java.util.Map converterMap;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
void <init>(ch.qos.logback.core.pattern.parser.Node, java.util.Map);
descriptor: (Lch/qos/logback/core/pattern/parser/Node;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial ch.qos.logback.core.spi.ContextAwareBase.<init>:()V
1: aload 0
aload 1
putfield ch.qos.logback.core.pattern.parser.Compiler.top:Lch/qos/logback/core/pattern/parser/Node;
2: aload 0
aload 2
putfield ch.qos.logback.core.pattern.parser.Compiler.converterMap:Ljava/util/Map;
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/pattern/parser/Compiler<TE;>;
0 4 1 top Lch/qos/logback/core/pattern/parser/Node;
0 4 2 converterMap Ljava/util/Map;
MethodParameters:
Name Flags
top final
converterMap final
ch.qos.logback.core.pattern.Converter<E> compile();
descriptor: ()Lch/qos/logback/core/pattern/Converter;
flags: (0x0000)
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
aload 0
aconst_null
dup_x1
putfield ch.qos.logback.core.pattern.parser.Compiler.tail:Lch/qos/logback/core/pattern/Converter;
putfield ch.qos.logback.core.pattern.parser.Compiler.head:Lch/qos/logback/core/pattern/Converter;
1: aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.top:Lch/qos/logback/core/pattern/parser/Node;
astore 1
start local 1 2: goto 32
3: StackMap locals: ch.qos.logback.core.pattern.parser.Node
StackMap stack:
aload 1
getfield ch.qos.logback.core.pattern.parser.Node.type:I
tableswitch { // 0 - 2
0: 4
1: 20
2: 6
default: 30
}
4: StackMap locals:
StackMap stack:
aload 0
new ch.qos.logback.core.pattern.LiteralConverter
dup
aload 1
invokevirtual ch.qos.logback.core.pattern.parser.Node.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokespecial ch.qos.logback.core.pattern.LiteralConverter.<init>:(Ljava/lang/String;)V
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addToList:(Lch/qos/logback/core/pattern/Converter;)V
5: goto 30
6: StackMap locals:
StackMap stack:
aload 1
checkcast ch.qos.logback.core.pattern.parser.CompositeNode
astore 2
start local 2 7: aload 0
aload 2
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.createCompositeConverter:(Lch/qos/logback/core/pattern/parser/CompositeNode;)Lch/qos/logback/core/pattern/CompositeConverter;
astore 3
start local 3 8: aload 3
ifnonnull 12
9: aload 0
new java.lang.StringBuilder
dup
ldc "Failed to create converter for [%"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual ch.qos.logback.core.pattern.parser.CompositeNode.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] keyword"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addError:(Ljava/lang/String;)V
10: aload 0
new ch.qos.logback.core.pattern.LiteralConverter
dup
new java.lang.StringBuilder
dup
ldc "%PARSER_ERROR["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual ch.qos.logback.core.pattern.parser.CompositeNode.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial ch.qos.logback.core.pattern.LiteralConverter.<init>:(Ljava/lang/String;)V
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addToList:(Lch/qos/logback/core/pattern/Converter;)V
11: goto 30
12: StackMap locals: ch.qos.logback.core.pattern.parser.CompositeNode ch.qos.logback.core.pattern.CompositeConverter
StackMap stack:
aload 3
aload 2
invokevirtual ch.qos.logback.core.pattern.parser.CompositeNode.getFormatInfo:()Lch/qos/logback/core/pattern/FormatInfo;
invokevirtual ch.qos.logback.core.pattern.CompositeConverter.setFormattingInfo:(Lch/qos/logback/core/pattern/FormatInfo;)V
13: aload 3
aload 2
invokevirtual ch.qos.logback.core.pattern.parser.CompositeNode.getOptions:()Ljava/util/List;
invokevirtual ch.qos.logback.core.pattern.CompositeConverter.setOptionList:(Ljava/util/List;)V
14: new ch.qos.logback.core.pattern.parser.Compiler
dup
aload 2
invokevirtual ch.qos.logback.core.pattern.parser.CompositeNode.getChildNode:()Lch/qos/logback/core/pattern/parser/Node;
aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.converterMap:Ljava/util/Map;
invokespecial ch.qos.logback.core.pattern.parser.Compiler.<init>:(Lch/qos/logback/core/pattern/parser/Node;Ljava/util/Map;)V
astore 4
start local 4 15: aload 4
aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.context:Lch/qos/logback/core/Context;
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.setContext:(Lch/qos/logback/core/Context;)V
16: aload 4
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.compile:()Lch/qos/logback/core/pattern/Converter;
astore 5
start local 5 17: aload 3
aload 5
invokevirtual ch.qos.logback.core.pattern.CompositeConverter.setChildConverter:(Lch/qos/logback/core/pattern/Converter;)V
18: aload 0
aload 3
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addToList:(Lch/qos/logback/core/pattern/Converter;)V
19: goto 30
end local 5 end local 4 end local 3 end local 2 20: StackMap locals:
StackMap stack:
aload 1
checkcast ch.qos.logback.core.pattern.parser.SimpleKeywordNode
astore 6
start local 6 21: aload 0
aload 6
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.createConverter:(Lch/qos/logback/core/pattern/parser/SimpleKeywordNode;)Lch/qos/logback/core/pattern/DynamicConverter;
astore 7
start local 7 22: aload 7
ifnull 27
23: aload 7
aload 6
invokevirtual ch.qos.logback.core.pattern.parser.SimpleKeywordNode.getFormatInfo:()Lch/qos/logback/core/pattern/FormatInfo;
invokevirtual ch.qos.logback.core.pattern.DynamicConverter.setFormattingInfo:(Lch/qos/logback/core/pattern/FormatInfo;)V
24: aload 7
aload 6
invokevirtual ch.qos.logback.core.pattern.parser.SimpleKeywordNode.getOptions:()Ljava/util/List;
invokevirtual ch.qos.logback.core.pattern.DynamicConverter.setOptionList:(Ljava/util/List;)V
25: aload 0
aload 7
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addToList:(Lch/qos/logback/core/pattern/Converter;)V
26: goto 30
27: StackMap locals: ch.qos.logback.core.pattern.parser.Compiler ch.qos.logback.core.pattern.parser.Node top top top top ch.qos.logback.core.pattern.parser.SimpleKeywordNode ch.qos.logback.core.pattern.DynamicConverter
StackMap stack:
new ch.qos.logback.core.pattern.LiteralConverter
dup
new java.lang.StringBuilder
dup
ldc "%PARSER_ERROR["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual ch.qos.logback.core.pattern.parser.SimpleKeywordNode.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial ch.qos.logback.core.pattern.LiteralConverter.<init>:(Ljava/lang/String;)V
astore 8
start local 8 28: aload 0
new ch.qos.logback.core.status.ErrorStatus
dup
new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual ch.qos.logback.core.pattern.parser.SimpleKeywordNode.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] is not a valid conversion word"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial ch.qos.logback.core.status.ErrorStatus.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addStatus:(Lch/qos/logback/core/status/Status;)V
29: aload 0
aload 8
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addToList:(Lch/qos/logback/core/pattern/Converter;)V
end local 8 end local 7 end local 6 30: StackMap locals: ch.qos.logback.core.pattern.parser.Compiler ch.qos.logback.core.pattern.parser.Node
StackMap stack:
aload 1
31: getfield ch.qos.logback.core.pattern.parser.Node.next:Lch/qos/logback/core/pattern/parser/Node;
astore 1
StackMap locals:
StackMap stack:
32: aload 1
ifnonnull 3
end local 1 33: aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.head:Lch/qos/logback/core/pattern/Converter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lch/qos/logback/core/pattern/parser/Compiler<TE;>;
2 33 1 n Lch/qos/logback/core/pattern/parser/Node;
7 20 2 cn Lch/qos/logback/core/pattern/parser/CompositeNode;
8 20 3 compositeConverter Lch/qos/logback/core/pattern/CompositeConverter<TE;>;
15 20 4 childCompiler Lch/qos/logback/core/pattern/parser/Compiler<TE;>;
17 20 5 childConverter Lch/qos/logback/core/pattern/Converter<TE;>;
21 30 6 kn Lch/qos/logback/core/pattern/parser/SimpleKeywordNode;
22 30 7 dynaConverter Lch/qos/logback/core/pattern/DynamicConverter<TE;>;
28 30 8 errConveter Lch/qos/logback/core/pattern/Converter<TE;>;
Signature: ()Lch/qos/logback/core/pattern/Converter<TE;>;
private void addToList(ch.qos.logback.core.pattern.Converter<E>);
descriptor: (Lch/qos/logback/core/pattern/Converter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.head:Lch/qos/logback/core/pattern/Converter;
ifnonnull 3
1: aload 0
aload 0
aload 1
dup_x1
putfield ch.qos.logback.core.pattern.parser.Compiler.tail:Lch/qos/logback/core/pattern/Converter;
putfield ch.qos.logback.core.pattern.parser.Compiler.head:Lch/qos/logback/core/pattern/Converter;
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.tail:Lch/qos/logback/core/pattern/Converter;
aload 1
invokevirtual ch.qos.logback.core.pattern.Converter.setNext:(Lch/qos/logback/core/pattern/Converter;)V
4: aload 0
aload 1
putfield ch.qos.logback.core.pattern.parser.Compiler.tail:Lch/qos/logback/core/pattern/Converter;
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lch/qos/logback/core/pattern/parser/Compiler<TE;>;
0 6 1 c Lch/qos/logback/core/pattern/Converter<TE;>;
Signature: (Lch/qos/logback/core/pattern/Converter<TE;>;)V
MethodParameters:
Name Flags
c
ch.qos.logback.core.pattern.DynamicConverter<E> createConverter(ch.qos.logback.core.pattern.parser.SimpleKeywordNode);
descriptor: (Lch/qos/logback/core/pattern/parser/SimpleKeywordNode;)Lch/qos/logback/core/pattern/DynamicConverter;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual ch.qos.logback.core.pattern.parser.SimpleKeywordNode.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.converterMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 2: aload 3
ifnull 8
3: aload 3
ldc Lch/qos/logback/core/pattern/DynamicConverter;
aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.context:Lch/qos/logback/core/Context;
invokestatic ch.qos.logback.core.util.OptionHelper.instantiateByClassName:(Ljava/lang/String;Ljava/lang/Class;Lch/qos/logback/core/Context;)Ljava/lang/Object;
checkcast ch.qos.logback.core.pattern.DynamicConverter
4: areturn
5: StackMap locals: ch.qos.logback.core.pattern.parser.Compiler ch.qos.logback.core.pattern.parser.SimpleKeywordNode java.lang.String java.lang.String
StackMap stack: java.lang.Exception
astore 4
start local 4 6: aload 0
new java.lang.StringBuilder
dup
ldc "Failed to instantiate converter class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] for keyword ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
aload 4
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addError:(Ljava/lang/String;Ljava/lang/Throwable;)V
7: aconst_null
areturn
end local 4 8: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "There is no conversion class registered for conversion word ["
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;
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addError:(Ljava/lang/String;)V
9: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lch/qos/logback/core/pattern/parser/Compiler<TE;>;
0 10 1 kn Lch/qos/logback/core/pattern/parser/SimpleKeywordNode;
1 10 2 keyword Ljava/lang/String;
2 10 3 converterClassStr Ljava/lang/String;
6 8 4 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
Signature: (Lch/qos/logback/core/pattern/parser/SimpleKeywordNode;)Lch/qos/logback/core/pattern/DynamicConverter<TE;>;
MethodParameters:
Name Flags
kn
ch.qos.logback.core.pattern.CompositeConverter<E> createCompositeConverter(ch.qos.logback.core.pattern.parser.CompositeNode);
descriptor: (Lch/qos/logback/core/pattern/parser/CompositeNode;)Lch/qos/logback/core/pattern/CompositeConverter;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual ch.qos.logback.core.pattern.parser.CompositeNode.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.converterMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 2: aload 3
ifnull 8
3: aload 3
ldc Lch/qos/logback/core/pattern/CompositeConverter;
aload 0
getfield ch.qos.logback.core.pattern.parser.Compiler.context:Lch/qos/logback/core/Context;
invokestatic ch.qos.logback.core.util.OptionHelper.instantiateByClassName:(Ljava/lang/String;Ljava/lang/Class;Lch/qos/logback/core/Context;)Ljava/lang/Object;
checkcast ch.qos.logback.core.pattern.CompositeConverter
4: areturn
5: StackMap locals: ch.qos.logback.core.pattern.parser.Compiler ch.qos.logback.core.pattern.parser.CompositeNode java.lang.String java.lang.String
StackMap stack: java.lang.Exception
astore 4
start local 4 6: aload 0
new java.lang.StringBuilder
dup
ldc "Failed to instantiate converter class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] as a composite converter for keyword ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
aload 4
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addError:(Ljava/lang/String;Ljava/lang/Throwable;)V
7: aconst_null
areturn
end local 4 8: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "There is no conversion class registered for composite conversion word ["
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;
invokevirtual ch.qos.logback.core.pattern.parser.Compiler.addError:(Ljava/lang/String;)V
9: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lch/qos/logback/core/pattern/parser/Compiler<TE;>;
0 10 1 cn Lch/qos/logback/core/pattern/parser/CompositeNode;
1 10 2 keyword Ljava/lang/String;
2 10 3 converterClassStr Ljava/lang/String;
6 8 4 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
Signature: (Lch/qos/logback/core/pattern/parser/CompositeNode;)Lch/qos/logback/core/pattern/CompositeConverter<TE;>;
MethodParameters:
Name Flags
cn
}
Signature: <E:Ljava/lang/Object;>Lch/qos/logback/core/spi/ContextAwareBase;
SourceFile: "Compiler.java"