public class jdk.nashorn.internal.runtime.options.LoggingOption extends jdk.nashorn.internal.runtime.options.KeyValueOption
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.options.LoggingOption
super_class: jdk.nashorn.internal.runtime.options.KeyValueOption
{
private final java.util.Map<java.lang.String, jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo> loggers;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/nashorn/internal/runtime/options/LoggingOption$LoggerInfo;>;
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jdk.nashorn.internal.runtime.options.KeyValueOption.<init>:(Ljava/lang/String;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.runtime.options.LoggingOption.loggers:Ljava/util/Map;
2: aload 0
aload 0
invokevirtual jdk.nashorn.internal.runtime.options.LoggingOption.getValues:()Ljava/util/Map;
invokevirtual jdk.nashorn.internal.runtime.options.LoggingOption.initialize:(Ljava/util/Map;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/options/LoggingOption;
0 4 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value final
public java.util.Map<java.lang.String, jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo> getLoggers();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.options.LoggingOption.loggers:Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/options/LoggingOption;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljdk/nashorn/internal/runtime/options/LoggingOption$LoggerInfo;>;
private void initialize(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 15
StackMap locals: jdk.nashorn.internal.runtime.options.LoggingOption java.util.Map top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic jdk.nashorn.internal.runtime.options.LoggingOption.lastPart:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 3: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 6
start local 6 4: ldc ""
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
5: getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
astore 4
start local 4 6: iconst_0
istore 7
start local 7 7: goto 14
end local 7 end local 4 StackMap locals: jdk.nashorn.internal.runtime.options.LoggingOption java.util.Map java.util.Map$Entry java.util.Iterator top java.lang.String java.lang.String
StackMap stack:
8: ldc "QUIET"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
9: getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
astore 4
start local 4 10: iconst_1
istore 7
start local 7 11: goto 14
end local 7 end local 4 12: StackMap locals:
StackMap stack:
aload 6
invokestatic java.util.logging.Level.parse:(Ljava/lang/String;)Ljava/util/logging/Level;
astore 4
start local 4 13: iconst_0
istore 7
start local 7 14: StackMap locals: jdk.nashorn.internal.runtime.options.LoggingOption java.util.Map java.util.Map$Entry java.util.Iterator java.util.logging.Level java.lang.String java.lang.String int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.options.LoggingOption.loggers:Ljava/util/Map;
aload 5
new jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo
dup
aload 4
iload 7
invokespecial jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo.<init>:(Ljava/util/logging/Level;Z)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 5 end local 4 end local 2 15: StackMap locals: jdk.nashorn.internal.runtime.options.LoggingOption java.util.Map top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
16: goto 19
StackMap locals: jdk.nashorn.internal.runtime.options.LoggingOption java.util.Map
StackMap stack: java.lang.RuntimeException
17: astore 2
start local 2 18: aload 2
athrow
end local 2 19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/nashorn/internal/runtime/options/LoggingOption;
0 20 1 logMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 15 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
6 8 4 level Ljava/util/logging/Level;
10 12 4 level Ljava/util/logging/Level;
13 15 4 level Ljava/util/logging/Level;
3 15 5 name Ljava/lang/String;
4 15 6 levelString Ljava/lang/String;
7 8 7 isQuiet Z
11 12 7 isQuiet Z
14 15 7 isQuiet Z
18 19 2 e Ljava/lang/RuntimeException;
Exception table:
from to target type
0 16 17 Class java.lang.IllegalArgumentException
0 16 17 Class java.lang.SecurityException
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
logMap final
private static java.lang.String lastPart(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "\\."
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 1: aload 1
arraylength
ifne 3
2: aload 0
areturn
3: StackMap locals: java.lang.String[]
StackMap stack:
aload 1
aload 1
arraylength
iconst_1
isub
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 packageName Ljava/lang/String;
1 4 1 parts [Ljava/lang/String;
MethodParameters:
Name Flags
packageName final
}
SourceFile: "LoggingOption.java"
NestMembers:
jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public LoggerInfo = jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo of jdk.nashorn.internal.runtime.options.LoggingOption