public class ch.qos.logback.classic.gaffer.GafferUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.classic.gaffer.GafferUtil
super_class: java.lang.Object
{
private static java.lang.String ERROR_MSG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "Failed to instantiate ch.qos.logback.classic.gaffer.GafferConfigurator"
putstatic ch.qos.logback.classic.gaffer.GafferUtil.ERROR_MSG:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/classic/gaffer/GafferUtil;
public static void runGafferConfiguratorOn(ch.qos.logback.classic.LoggerContext, java.lang.Object, java.io.File);
descriptor: (Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic ch.qos.logback.classic.gaffer.GafferUtil.newGafferConfiguratorInstance:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;)Lch/qos/logback/classic/gaffer/GafferConfigurator;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
aload 2
invokevirtual ch.qos.logback.classic.gaffer.GafferConfigurator.run:(Ljava/io/File;)V
3: StackMap locals: ch.qos.logback.classic.gaffer.GafferConfigurator
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 loggerContext Lch/qos/logback/classic/LoggerContext;
0 4 1 origin Ljava/lang/Object;
0 4 2 configFile Ljava/io/File;
1 4 3 gafferConfigurator Lch/qos/logback/classic/gaffer/GafferConfigurator;
MethodParameters:
Name Flags
loggerContext
origin
configFile
public static void runGafferConfiguratorOn(ch.qos.logback.classic.LoggerContext, java.lang.Object, java.net.URL);
descriptor: (Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/net/URL;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic ch.qos.logback.classic.gaffer.GafferUtil.newGafferConfiguratorInstance:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;)Lch/qos/logback/classic/gaffer/GafferConfigurator;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
aload 2
invokevirtual ch.qos.logback.classic.gaffer.GafferConfigurator.run:(Ljava/net/URL;)V
3: StackMap locals: ch.qos.logback.classic.gaffer.GafferConfigurator
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 loggerContext Lch/qos/logback/classic/LoggerContext;
0 4 1 origin Ljava/lang/Object;
0 4 2 configFile Ljava/net/URL;
1 4 3 gafferConfigurator Lch/qos/logback/classic/gaffer/GafferConfigurator;
MethodParameters:
Name Flags
loggerContext
origin
configFile
private static ch.qos.logback.classic.gaffer.GafferConfigurator newGafferConfiguratorInstance(ch.qos.logback.classic.LoggerContext, java.lang.Object);
descriptor: (Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;)Lch/qos/logback/classic/gaffer/GafferConfigurator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: ldc "ch.qos.logback.classic.gaffer.GafferConfigurator"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 1: aload 2
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lch/qos/logback/classic/LoggerContext;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 3
start local 3 2: aload 3
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast ch.qos.logback.classic.gaffer.GafferConfigurator
3: areturn
end local 3 end local 2 4: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 5: aload 0
aload 1
getstatic ch.qos.logback.classic.gaffer.GafferUtil.ERROR_MSG:Ljava/lang/String;
aload 2
invokestatic ch.qos.logback.classic.gaffer.GafferUtil.addError:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 6: goto 18
7: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
astore 2
start local 2 8: aload 0
aload 1
getstatic ch.qos.logback.classic.gaffer.GafferUtil.ERROR_MSG:Ljava/lang/String;
aload 2
invokestatic ch.qos.logback.classic.gaffer.GafferUtil.addError:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 9: goto 18
10: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 11: aload 0
aload 1
getstatic ch.qos.logback.classic.gaffer.GafferUtil.ERROR_MSG:Ljava/lang/String;
aload 2
invokestatic ch.qos.logback.classic.gaffer.GafferUtil.addError:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 12: goto 18
13: StackMap locals:
StackMap stack: java.lang.InstantiationException
astore 2
start local 2 14: aload 0
aload 1
getstatic ch.qos.logback.classic.gaffer.GafferUtil.ERROR_MSG:Ljava/lang/String;
aload 2
invokestatic ch.qos.logback.classic.gaffer.GafferUtil.addError:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 15: goto 18
16: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 2
start local 2 17: aload 0
aload 1
getstatic ch.qos.logback.classic.gaffer.GafferUtil.ERROR_MSG:Ljava/lang/String;
aload 2
invokestatic ch.qos.logback.classic.gaffer.GafferUtil.addError:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 18: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 loggerContext Lch/qos/logback/classic/LoggerContext;
0 19 1 origin Ljava/lang/Object;
1 4 2 gcClass Ljava/lang/Class;
2 4 3 c Ljava/lang/reflect/Constructor;
5 6 2 e Ljava/lang/ClassNotFoundException;
8 9 2 e Ljava/lang/NoSuchMethodException;
11 12 2 e Ljava/lang/reflect/InvocationTargetException;
14 15 2 e Ljava/lang/InstantiationException;
17 18 2 e Ljava/lang/IllegalAccessException;
Exception table:
from to target type
0 3 4 Class java.lang.ClassNotFoundException
0 3 7 Class java.lang.NoSuchMethodException
0 3 10 Class java.lang.reflect.InvocationTargetException
0 3 13 Class java.lang.InstantiationException
0 3 16 Class java.lang.IllegalAccessException
MethodParameters:
Name Flags
loggerContext
origin
private static void addError(ch.qos.logback.classic.LoggerContext, java.lang.Object, java.lang.String);
descriptor: (Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokestatic ch.qos.logback.classic.gaffer.GafferUtil.addError:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Throwable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lch/qos/logback/classic/LoggerContext;
0 2 1 origin Ljava/lang/Object;
0 2 2 msg Ljava/lang/String;
MethodParameters:
Name Flags
context
origin
msg
private static void addError(ch.qos.logback.classic.LoggerContext, java.lang.Object, java.lang.String, java.lang.Throwable);
descriptor: (Lch/qos/logback/classic/LoggerContext;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual ch.qos.logback.classic.LoggerContext.getStatusManager:()Lch/qos/logback/core/status/StatusManager;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: return
3: StackMap locals: ch.qos.logback.core.status.StatusManager
StackMap stack:
aload 4
new ch.qos.logback.core.status.ErrorStatus
dup
aload 2
aload 1
aload 3
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
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lch/qos/logback/classic/LoggerContext;
0 5 1 origin Ljava/lang/Object;
0 5 2 msg Ljava/lang/String;
0 5 3 t Ljava/lang/Throwable;
1 5 4 sm Lch/qos/logback/core/status/StatusManager;
MethodParameters:
Name Flags
context
origin
msg
t
}
SourceFile: "GafferUtil.java"