public class org.slf4j.MDC
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.slf4j.MDC
super_class: java.lang.Object
{
static final java.lang.String NULL_MDCA_URL;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.slf4j.org/codes.html#null_MDCA"
static final java.lang.String NO_STATIC_MDC_BINDER_URL;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.slf4j.org/codes.html#no_static_mdc_binder"
static org.slf4j.spi.MDCAdapter mdcAdapter;
descriptor: Lorg/slf4j/spi/MDCAdapter;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: invokestatic org.slf4j.MDC.bwCompatibleGetMDCAdapterFromBinder:()Lorg/slf4j/spi/MDCAdapter;
putstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
1: goto 13
StackMap locals:
StackMap stack: java.lang.NoClassDefFoundError
2: astore 0
start local 0 3: new org.slf4j.helpers.NOPMDCAdapter
dup
invokespecial org.slf4j.helpers.NOPMDCAdapter.<init>:()V
putstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
4: aload 0
invokevirtual java.lang.NoClassDefFoundError.getMessage:()Ljava/lang/String;
astore 1
start local 1 5: aload 1
ifnull 10
aload 1
ldc "StaticMDCBinder"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 10
6: ldc "Failed to load class \"org.slf4j.impl.StaticMDCBinder\"."
invokestatic org.slf4j.helpers.Util.report:(Ljava/lang/String;)V
7: ldc "Defaulting to no-operation MDCAdapter implementation."
invokestatic org.slf4j.helpers.Util.report:(Ljava/lang/String;)V
8: ldc "See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details."
invokestatic org.slf4j.helpers.Util.report:(Ljava/lang/String;)V
9: goto 13
10: StackMap locals: java.lang.NoClassDefFoundError java.lang.String
StackMap stack:
aload 0
athrow
end local 1 end local 0 11: StackMap locals:
StackMap stack: java.lang.Exception
astore 0
start local 0 12: ldc "MDC binding unsuccessful."
aload 0
invokestatic org.slf4j.helpers.Util.report:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 0 13: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 11 0 ncde Ljava/lang/NoClassDefFoundError;
5 11 1 msg Ljava/lang/String;
12 13 0 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.NoClassDefFoundError
0 1 11 Class java.lang.Exception
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/slf4j/MDC;
private static org.slf4j.spi.MDCAdapter bwCompatibleGetMDCAdapterFromBinder();
descriptor: ()Lorg/slf4j/spi/MDCAdapter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.slf4j.impl.StaticMDCBinder.getSingleton:()Lorg/slf4j/impl/StaticMDCBinder;
invokevirtual org.slf4j.impl.StaticMDCBinder.getMDCA:()Lorg/slf4j/spi/MDCAdapter;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodError
pop
3: getstatic org.slf4j.impl.StaticMDCBinder.SINGLETON:Lorg/slf4j/impl/StaticMDCBinder;
invokevirtual org.slf4j.impl.StaticMDCBinder.getMDCA:()Lorg/slf4j/spi/MDCAdapter;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodError
Exceptions:
throws java.lang.NoClassDefFoundError
public static void put(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "key parameter cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
aload 0
aload 1
invokeinterface org.slf4j.spi.MDCAdapter.put:(Ljava/lang/String;Ljava/lang/String;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 key Ljava/lang/String;
0 6 1 val Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
key
val
public static org.slf4j.MDC$MDCCloseable putCloseable(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/slf4j/MDC$MDCCloseable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.slf4j.MDC.put:(Ljava/lang/String;Ljava/lang/String;)V
1: new org.slf4j.MDC$MDCCloseable
dup
aload 0
invokespecial org.slf4j.MDC$MDCCloseable.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
0 2 1 val Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
key
val
public static java.lang.String get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "key parameter cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
aload 0
invokeinterface org.slf4j.spi.MDCAdapter.get:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 key Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
key
public static void remove(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "key parameter cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
aload 0
invokeinterface org.slf4j.spi.MDCAdapter.remove:(Ljava/lang/String;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 key Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
key
public static void clear();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
invokeinterface org.slf4j.spi.MDCAdapter.clear:()V
3: return
LocalVariableTable:
Start End Slot Name Signature
public static java.util.Map<java.lang.String, java.lang.String> getCopyOfContextMap();
descriptor: ()Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
invokeinterface org.slf4j.spi.MDCAdapter.getCopyOfContextMap:()Ljava/util/Map;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public static void setContextMap(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
aload 0
invokeinterface org.slf4j.spi.MDCAdapter.setContextMap:(Ljava/util/Map;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 contextMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
contextMap
public static org.slf4j.spi.MDCAdapter getMDCAdapter();
descriptor: ()Lorg/slf4j/spi/MDCAdapter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.slf4j.MDC.mdcAdapter:Lorg/slf4j/spi/MDCAdapter;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "MDC.java"
NestMembers:
org.slf4j.MDC$MDCCloseable
InnerClasses:
public MDCCloseable = org.slf4j.MDC$MDCCloseable of org.slf4j.MDC