class org.slf4j.impl.OutputChoice
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.slf4j.impl.OutputChoice
super_class: java.lang.Object
{
final org.slf4j.impl.OutputChoice$OutputChoiceType outputChoiceType;
descriptor: Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
flags: (0x0010) ACC_FINAL
final java.io.PrintStream targetPrintStream;
descriptor: Ljava/io/PrintStream;
flags: (0x0010) ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$slf4j$impl$OutputChoice$OutputChoiceType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(org.slf4j.impl.OutputChoice$OutputChoiceType);
descriptor: (Lorg/slf4j/impl/OutputChoice$OutputChoiceType;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
getstatic org.slf4j.impl.OutputChoice$OutputChoiceType.FILE:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
if_acmpne 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals: org.slf4j.impl.OutputChoice org.slf4j.impl.OutputChoice$OutputChoiceType
StackMap stack:
aload 0
aload 1
putfield org.slf4j.impl.OutputChoice.outputChoiceType:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
4: aload 1
getstatic org.slf4j.impl.OutputChoice$OutputChoiceType.CACHED_SYS_OUT:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
if_acmpne 7
5: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
putfield org.slf4j.impl.OutputChoice.targetPrintStream:Ljava/io/PrintStream;
6: goto 11
StackMap locals:
StackMap stack:
7: aload 1
getstatic org.slf4j.impl.OutputChoice$OutputChoiceType.CACHED_SYS_ERR:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
if_acmpne 10
8: aload 0
getstatic java.lang.System.err:Ljava/io/PrintStream;
putfield org.slf4j.impl.OutputChoice.targetPrintStream:Ljava/io/PrintStream;
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.slf4j.impl.OutputChoice.targetPrintStream:Ljava/io/PrintStream;
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/slf4j/impl/OutputChoice;
0 12 1 outputChoiceType Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
MethodParameters:
Name Flags
outputChoiceType
void <init>(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.slf4j.impl.OutputChoice$OutputChoiceType.FILE:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
putfield org.slf4j.impl.OutputChoice.outputChoiceType:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
2: aload 0
aload 1
putfield org.slf4j.impl.OutputChoice.targetPrintStream:Ljava/io/PrintStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/slf4j/impl/OutputChoice;
0 4 1 printStream Ljava/io/PrintStream;
MethodParameters:
Name Flags
printStream
java.io.PrintStream getTargetPrintStream();
descriptor: ()Ljava/io/PrintStream;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.slf4j.impl.OutputChoice.$SWITCH_TABLE$org$slf4j$impl$OutputChoice$OutputChoiceType:()[I
aload 0
getfield org.slf4j.impl.OutputChoice.outputChoiceType:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
invokevirtual org.slf4j.impl.OutputChoice$OutputChoiceType.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 1
2: 3
3: 2
4: 3
5: 3
default: 4
}
1: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
areturn
2: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.slf4j.impl.OutputChoice.targetPrintStream:Ljava/io/PrintStream;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/slf4j/impl/OutputChoice;
static int[] $SWITCH_TABLE$org$slf4j$impl$OutputChoice$OutputChoiceType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.slf4j.impl.OutputChoice.$SWITCH_TABLE$org$slf4j$impl$OutputChoice$OutputChoiceType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.slf4j.impl.OutputChoice$OutputChoiceType.values:()[Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.slf4j.impl.OutputChoice$OutputChoiceType.CACHED_SYS_ERR:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
invokevirtual org.slf4j.impl.OutputChoice$OutputChoiceType.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.slf4j.impl.OutputChoice$OutputChoiceType.CACHED_SYS_OUT:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
invokevirtual org.slf4j.impl.OutputChoice$OutputChoiceType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.slf4j.impl.OutputChoice$OutputChoiceType.FILE:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
invokevirtual org.slf4j.impl.OutputChoice$OutputChoiceType.ordinal:()I
iconst_5
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.slf4j.impl.OutputChoice$OutputChoiceType.SYS_ERR:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
invokevirtual org.slf4j.impl.OutputChoice$OutputChoiceType.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.slf4j.impl.OutputChoice$OutputChoiceType.SYS_OUT:Lorg/slf4j/impl/OutputChoice$OutputChoiceType;
invokevirtual org.slf4j.impl.OutputChoice$OutputChoiceType.ordinal:()I
iconst_1
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic org.slf4j.impl.OutputChoice.$SWITCH_TABLE$org$slf4j$impl$OutputChoice$OutputChoiceType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "OutputChoice.java"
NestMembers:
org.slf4j.impl.OutputChoice$OutputChoiceType
InnerClasses:
final OutputChoiceType = org.slf4j.impl.OutputChoice$OutputChoiceType of org.slf4j.impl.OutputChoice