public abstract class ch.qos.logback.core.pattern.PatternLayoutBase<E> extends ch.qos.logback.core.LayoutBase<E>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: ch.qos.logback.core.pattern.PatternLayoutBase
super_class: ch.qos.logback.core.LayoutBase
{
static final int INTIAL_STRING_BUILDER_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 256
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;>;
java.lang.String pattern;
descriptor: Ljava/lang/String;
flags: (0x0000)
protected ch.qos.logback.core.pattern.PostCompileProcessor<E> postCompileProcessor;
descriptor: Lch/qos/logback/core/pattern/PostCompileProcessor;
flags: (0x0004) ACC_PROTECTED
Signature: Lch/qos/logback/core/pattern/PostCompileProcessor<TE;>;
java.util.Map<java.lang.String, java.lang.String> instanceConverterMap;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
protected boolean ;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial ch.qos.logback.core.LayoutBase.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield ch.qos.logback.core.pattern.PatternLayoutBase.instanceConverterMap:Ljava/util/Map;
2: aload 0
iconst_0
putfield ch.qos.logback.core.pattern.PatternLayoutBase.outputPatternAsHeader:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
public abstract java.util.Map<java.lang.String, java.lang.String> getDefaultConverterMap();
descriptor: ()Ljava/util/Map;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.util.Map<java.lang.String, java.lang.String> getEffectiveConverterMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getDefaultConverterMap:()Ljava/util/Map;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 1
aload 2
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
4: StackMap locals: java.util.Map java.util.Map
StackMap stack:
aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getContext:()Lch/qos/logback/core/Context;
astore 3
start local 3 5: aload 3
ifnull 9
6: aload 3
ldc "PATTERN_RULE_REGISTRY"
invokeinterface ch.qos.logback.core.Context.getObject:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Map
astore 4
start local 4 7: aload 4
ifnull 9
8: aload 1
aload 4
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
end local 4 9: StackMap locals: ch.qos.logback.core.Context
StackMap stack:
aload 1
aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.instanceConverterMap:Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
10: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
1 11 1 effectiveMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 11 2 defaultMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 11 3 context Lch/qos/logback/core/Context;
7 9 4 contextMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.pattern:Ljava/lang/String;
ifnull 1
aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.pattern:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 3
1: StackMap locals:
StackMap stack:
aload 0
ldc "Empty or null pattern."
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.addError:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
new ch.qos.logback.core.pattern.parser.Parser
dup
aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.pattern:Ljava/lang/String;
invokespecial ch.qos.logback.core.pattern.parser.Parser.<init>:(Ljava/lang/String;)V
astore 1
start local 1 4: aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getContext:()Lch/qos/logback/core/Context;
ifnull 6
5: aload 1
aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getContext:()Lch/qos/logback/core/Context;
invokevirtual ch.qos.logback.core.pattern.parser.Parser.setContext:(Lch/qos/logback/core/Context;)V
6: StackMap locals: ch.qos.logback.core.pattern.parser.Parser
StackMap stack:
aload 1
invokevirtual ch.qos.logback.core.pattern.parser.Parser.parse:()Lch/qos/logback/core/pattern/parser/Node;
astore 2
start local 2 7: aload 0
aload 1
aload 2
aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getEffectiveConverterMap:()Ljava/util/Map;
invokevirtual ch.qos.logback.core.pattern.parser.Parser.compile:(Lch/qos/logback/core/pattern/parser/Node;Ljava/util/Map;)Lch/qos/logback/core/pattern/Converter;
putfield ch.qos.logback.core.pattern.PatternLayoutBase.head:Lch/qos/logback/core/pattern/Converter;
8: aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.postCompileProcessor:Lch/qos/logback/core/pattern/PostCompileProcessor;
ifnull 10
9: aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.postCompileProcessor:Lch/qos/logback/core/pattern/PostCompileProcessor;
aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.context:Lch/qos/logback/core/Context;
aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.head:Lch/qos/logback/core/pattern/Converter;
invokeinterface ch.qos.logback.core.pattern.PostCompileProcessor.process:(Lch/qos/logback/core/Context;Lch/qos/logback/core/pattern/Converter;)V
10: StackMap locals: ch.qos.logback.core.pattern.parser.Node
StackMap stack:
aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getContext:()Lch/qos/logback/core/Context;
aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.head:Lch/qos/logback/core/pattern/Converter;
invokestatic ch.qos.logback.core.pattern.ConverterUtil.setContextForConverters:(Lch/qos/logback/core/Context;Lch/qos/logback/core/pattern/Converter;)V
11: aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.head:Lch/qos/logback/core/pattern/Converter;
invokestatic ch.qos.logback.core.pattern.ConverterUtil.startConverters:(Lch/qos/logback/core/pattern/Converter;)V
12: aload 0
invokespecial ch.qos.logback.core.LayoutBase.start:()V
end local 2 end local 1 13: goto 17
StackMap locals: ch.qos.logback.core.pattern.PatternLayoutBase
StackMap stack: ch.qos.logback.core.spi.ScanException
14: astore 1
start local 1 15: aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getContext:()Lch/qos/logback/core/Context;
invokeinterface ch.qos.logback.core.Context.getStatusManager:()Lch/qos/logback/core/status/StatusManager;
astore 2
start local 2 16: aload 2
new ch.qos.logback.core.status.ErrorStatus
dup
new java.lang.StringBuilder
dup
ldc "Failed to parse pattern \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getPattern:()Ljava/lang/String;
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 0
aload 1
invokespecial ch.qos.logback.core.status.ErrorStatus.<init>:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Throwable;)V
invokeinterface ch.qos.logback.core.status.StatusManager.add:(Lch/qos/logback/core/status/Status;)V
end local 2 end local 1 17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
4 13 1 p Lch/qos/logback/core/pattern/parser/Parser<TE;>;
7 13 2 t Lch/qos/logback/core/pattern/parser/Node;
15 17 1 sce Lch/qos/logback/core/spi/ScanException;
16 17 2 sm Lch/qos/logback/core/status/StatusManager;
Exception table:
from to target type
3 13 14 Class ch.qos.logback.core.spi.ScanException
public void setPostCompileProcessor(ch.qos.logback.core.pattern.PostCompileProcessor<E>);
descriptor: (Lch/qos/logback/core/pattern/PostCompileProcessor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield ch.qos.logback.core.pattern.PatternLayoutBase.postCompileProcessor:Lch/qos/logback/core/pattern/PostCompileProcessor;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
0 2 1 postCompileProcessor Lch/qos/logback/core/pattern/PostCompileProcessor<TE;>;
Signature: (Lch/qos/logback/core/pattern/PostCompileProcessor<TE;>;)V
MethodParameters:
Name Flags
postCompileProcessor
protected void setContextForConverters(ch.qos.logback.core.pattern.Converter<E>);
descriptor: (Lch/qos/logback/core/pattern/Converter;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getContext:()Lch/qos/logback/core/Context;
aload 1
invokestatic ch.qos.logback.core.pattern.ConverterUtil.setContextForConverters:(Lch/qos/logback/core/Context;Lch/qos/logback/core/pattern/Converter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
0 2 1 head Lch/qos/logback/core/pattern/Converter<TE;>;
Signature: (Lch/qos/logback/core/pattern/Converter<TE;>;)V
MethodParameters:
Name Flags
head
protected java.lang.String writeLoopOnConverters(E);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
sipush 256
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 1: aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.head:Lch/qos/logback/core/pattern/Converter;
astore 3
start local 3 2: goto 5
3: StackMap locals: java.lang.StringBuilder ch.qos.logback.core.pattern.Converter
StackMap stack:
aload 3
aload 2
aload 1
invokevirtual ch.qos.logback.core.pattern.Converter.write:(Ljava/lang/StringBuilder;Ljava/lang/Object;)V
4: aload 3
invokevirtual ch.qos.logback.core.pattern.Converter.getNext:()Lch/qos/logback/core/pattern/Converter;
astore 3
5: StackMap locals:
StackMap stack:
aload 3
ifnonnull 3
6: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
0 7 1 event TE;
1 7 2 strBuilder Ljava/lang/StringBuilder;
2 7 3 c Lch/qos/logback/core/pattern/Converter<TE;>;
Signature: (TE;)Ljava/lang/String;
MethodParameters:
Name Flags
event
public java.lang.String getPattern();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.pattern:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
public void setPattern(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
aload 1
putfield ch.qos.logback.core.pattern.PatternLayoutBase.pattern:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
0 2 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "(\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getPattern:()Ljava/lang/String;
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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
public java.util.Map<java.lang.String, java.lang.String> getInstanceConverterMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.instanceConverterMap:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
protected java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.outputPatternAsHeader:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
public void (boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield ch.qos.logback.core.pattern.PatternLayoutBase.outputPatternAsHeader:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
0 2 1 outputPatternAsHeader Z
MethodParameters:
Name Flags
outputPatternAsHeader
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.outputPatternAsHeader:Z
ifeq 2
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.getPresentationHeaderPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.core.pattern.PatternLayoutBase.pattern:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokespecial ch.qos.logback.core.LayoutBase.getPresentationHeader:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/pattern/PatternLayoutBase<TE;>;
}
Signature: <E:Ljava/lang/Object;>Lch/qos/logback/core/LayoutBase<TE;>;
SourceFile: "PatternLayoutBase.java"