public final class org.slf4j.helpers.Util
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.slf4j.helpers.Util
super_class: java.lang.Object
{
private static org.slf4j.helpers.Util$ClassContextSecurityManager SECURITY_MANAGER;
descriptor: Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean SECURITY_MANAGER_CREATION_ALREADY_ATTEMPTED;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic org.slf4j.helpers.Util.SECURITY_MANAGER_CREATION_ALREADY_ATTEMPTED:Z
return
LocalVariableTable:
Start End Slot Name Signature
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/helpers/Util;
public static java.lang.String safeGetSystemProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "null input"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: aload 0
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
4: goto 6
StackMap locals: java.lang.String java.lang.String
StackMap stack: java.lang.SecurityException
5: pop
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 key Ljava/lang/String;
3 7 1 result Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.SecurityException
MethodParameters:
Name Flags
key
public static boolean safeGetBooleanSystemProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.slf4j.helpers.Util.safeGetSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 key Ljava/lang/String;
1 4 1 value Ljava/lang/String;
MethodParameters:
Name Flags
key
private static org.slf4j.helpers.Util$ClassContextSecurityManager getSecurityManager();
descriptor: ()Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.slf4j.helpers.Util.SECURITY_MANAGER:Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
ifnull 2
1: getstatic org.slf4j.helpers.Util.SECURITY_MANAGER:Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.slf4j.helpers.Util.SECURITY_MANAGER_CREATION_ALREADY_ATTEMPTED:Z
ifeq 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
invokestatic org.slf4j.helpers.Util.safeCreateSecurityManager:()Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
putstatic org.slf4j.helpers.Util.SECURITY_MANAGER:Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
5: iconst_1
putstatic org.slf4j.helpers.Util.SECURITY_MANAGER_CREATION_ALREADY_ATTEMPTED:Z
6: getstatic org.slf4j.helpers.Util.SECURITY_MANAGER:Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static org.slf4j.helpers.Util$ClassContextSecurityManager safeCreateSecurityManager();
descriptor: ()Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.slf4j.helpers.Util$ClassContextSecurityManager
dup
invokespecial org.slf4j.helpers.Util$ClassContextSecurityManager.<init>:()V
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
public static java.lang.Class<?> getCallingClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=0
0: invokestatic org.slf4j.helpers.Util.getSecurityManager:()Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.slf4j.helpers.Util$ClassContextSecurityManager
StackMap stack:
aload 0
invokevirtual org.slf4j.helpers.Util$ClassContextSecurityManager.getClassContext:()[Ljava/lang/Class;
astore 1
start local 1 4: ldc Lorg/slf4j/helpers/Util;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 5: iconst_0
istore 3
start local 3 6: goto 10
7: StackMap locals: java.lang.Class[] java.lang.String int
StackMap stack:
aload 2
aload 1
iload 3
aaload
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: goto 11
9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 1
arraylength
if_icmplt 7
11: StackMap locals:
StackMap stack:
iload 3
aload 1
arraylength
if_icmpge 12
iload 3
iconst_2
iadd
aload 1
arraylength
if_icmplt 13
12: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Failed to find org.slf4j.helpers.Util or its caller in the stack; this should not happen"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 1
iload 3
iconst_2
iadd
aaload
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 14 0 securityManager Lorg/slf4j/helpers/Util$ClassContextSecurityManager;
4 14 1 trace [Ljava/lang/Class;
5 14 2 thisClassName Ljava/lang/String;
6 14 3 i I
Signature: ()Ljava/lang/Class<*>;
public static final void report(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 0
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Reported exception:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.Throwable.printStackTrace:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 msg Ljava/lang/String;
0 4 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
msg
t
public static final void report(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "SLF4J: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
}
SourceFile: "Util.java"
NestMembers:
org.slf4j.helpers.Util$ClassContextSecurityManager
InnerClasses:
private final ClassContextSecurityManager = org.slf4j.helpers.Util$ClassContextSecurityManager of org.slf4j.helpers.Util