public class org.slf4j.helpers.SubstituteLoggerFactory implements org.slf4j.ILoggerFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.slf4j.helpers.SubstituteLoggerFactory
super_class: java.lang.Object
{
boolean postInitialization;
descriptor: Z
flags: (0x0000)
final java.util.Map<java.lang.String, org.slf4j.helpers.SubstituteLogger> loggers;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/slf4j/helpers/SubstituteLogger;>;
final java.util.concurrent.LinkedBlockingQueue<org.slf4j.event.SubstituteLoggingEvent> eventQueue;
descriptor: Ljava/util/concurrent/LinkedBlockingQueue;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/LinkedBlockingQueue<Lorg/slf4j/event/SubstituteLoggingEvent;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.slf4j.helpers.SubstituteLoggerFactory.postInitialization:Z
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.slf4j.helpers.SubstituteLoggerFactory.loggers:Ljava/util/Map;
3: aload 0
new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
putfield org.slf4j.helpers.SubstituteLoggerFactory.eventQueue:Ljava/util/concurrent/LinkedBlockingQueue;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/slf4j/helpers/SubstituteLoggerFactory;
public synchronized org.slf4j.Logger getLogger(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/slf4j/Logger;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.slf4j.helpers.SubstituteLoggerFactory.loggers:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.slf4j.helpers.SubstituteLogger
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new org.slf4j.helpers.SubstituteLogger
dup
aload 1
aload 0
getfield org.slf4j.helpers.SubstituteLoggerFactory.eventQueue:Ljava/util/concurrent/LinkedBlockingQueue;
aload 0
getfield org.slf4j.helpers.SubstituteLoggerFactory.postInitialization:Z
invokespecial org.slf4j.helpers.SubstituteLogger.<init>:(Ljava/lang/String;Ljava/util/Queue;Z)V
astore 2
3: aload 0
getfield org.slf4j.helpers.SubstituteLoggerFactory.loggers:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: org.slf4j.helpers.SubstituteLogger
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/slf4j/helpers/SubstituteLoggerFactory;
0 5 1 name Ljava/lang/String;
1 5 2 logger Lorg/slf4j/helpers/SubstituteLogger;
MethodParameters:
Name Flags
name
public java.util.List<java.lang.String> getLoggerNames();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.slf4j.helpers.SubstituteLoggerFactory.loggers:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/slf4j/helpers/SubstituteLoggerFactory;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<org.slf4j.helpers.SubstituteLogger> getLoggers();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.slf4j.helpers.SubstituteLoggerFactory.loggers:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/slf4j/helpers/SubstituteLoggerFactory;
Signature: ()Ljava/util/List<Lorg/slf4j/helpers/SubstituteLogger;>;
public java.util.concurrent.LinkedBlockingQueue<org.slf4j.event.SubstituteLoggingEvent> getEventQueue();
descriptor: ()Ljava/util/concurrent/LinkedBlockingQueue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.slf4j.helpers.SubstituteLoggerFactory.eventQueue:Ljava/util/concurrent/LinkedBlockingQueue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/slf4j/helpers/SubstituteLoggerFactory;
Signature: ()Ljava/util/concurrent/LinkedBlockingQueue<Lorg/slf4j/event/SubstituteLoggingEvent;>;
public void postInitialization();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.slf4j.helpers.SubstituteLoggerFactory.postInitialization:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/slf4j/helpers/SubstituteLoggerFactory;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.slf4j.helpers.SubstituteLoggerFactory.loggers:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: aload 0
getfield org.slf4j.helpers.SubstituteLoggerFactory.eventQueue:Ljava/util/concurrent/LinkedBlockingQueue;
invokevirtual java.util.concurrent.LinkedBlockingQueue.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/slf4j/helpers/SubstituteLoggerFactory;
}
SourceFile: "SubstituteLoggerFactory.java"