public class org.slf4j.helpers.BasicMarkerFactory implements org.slf4j.IMarkerFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.slf4j.helpers.BasicMarkerFactory
super_class: java.lang.Object
{
private final java.util.concurrent.ConcurrentMap<java.lang.String, org.slf4j.Marker> markerMap;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lorg/slf4j/Marker;>;
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
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.slf4j.helpers.BasicMarkerFactory.markerMap:Ljava/util/concurrent/ConcurrentMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/slf4j/helpers/BasicMarkerFactory;
public org.slf4j.Marker getMarker(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/slf4j/Marker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Marker name cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.slf4j.helpers.BasicMarkerFactory.markerMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.slf4j.Marker
astore 2
start local 2 3: aload 2
ifnonnull 8
4: new org.slf4j.helpers.BasicMarker
dup
aload 1
invokespecial org.slf4j.helpers.BasicMarker.<init>:(Ljava/lang/String;)V
astore 2
5: aload 0
getfield org.slf4j.helpers.BasicMarkerFactory.markerMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.slf4j.Marker
astore 3
start local 3 6: aload 3
ifnull 8
7: aload 3
astore 2
end local 3 8: StackMap locals: org.slf4j.Marker
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/slf4j/helpers/BasicMarkerFactory;
0 9 1 name Ljava/lang/String;
3 9 2 marker Lorg/slf4j/Marker;
6 8 3 oldMarker Lorg/slf4j/Marker;
MethodParameters:
Name Flags
name
public boolean exists(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.slf4j.helpers.BasicMarkerFactory.markerMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/slf4j/helpers/BasicMarkerFactory;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public boolean detachMarker(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.slf4j.helpers.BasicMarkerFactory.markerMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/slf4j/helpers/BasicMarkerFactory;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public org.slf4j.Marker getDetachedMarker(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/slf4j/Marker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.slf4j.helpers.BasicMarker
dup
aload 1
invokespecial org.slf4j.helpers.BasicMarker.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/slf4j/helpers/BasicMarkerFactory;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "BasicMarkerFactory.java"