public class com.sun.scenario.Settings
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.scenario.Settings
super_class: java.lang.Object
{
private final java.util.Map<java.lang.String, java.lang.String> settings;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private final java.util.concurrent.CopyOnWriteArrayList<javafx.util.Callback<java.lang.String, java.lang.Void>> listeners;
descriptor: Ljava/util/concurrent/CopyOnWriteArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/CopyOnWriteArrayList<Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;>;
private static final java.lang.Object SETTINGS_KEY;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.StringBuilder
dup
ldc "SettingsKey"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
putstatic com.sun.scenario.Settings.SETTINGS_KEY:Ljava/lang/Object;
1: return
LocalVariableTable:
Start End Slot Name Signature
private static synchronized com.sun.scenario.Settings getInstance();
descriptor: ()Lcom/sun/scenario/Settings;
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=0
0: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.getContextMap:()Ljava/util/Map;
astore 0
start local 0 1: aload 0
getstatic com.sun.scenario.Settings.SETTINGS_KEY:Ljava/lang/Object;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.scenario.Settings
astore 1
start local 1 2: aload 1
ifnonnull 5
3: new com.sun.scenario.Settings
dup
invokespecial com.sun.scenario.Settings.<init>:()V
astore 1
4: aload 0
getstatic com.sun.scenario.Settings.SETTINGS_KEY:Ljava/lang/Object;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.Map com.sun.scenario.Settings
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 contextMap Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
2 6 1 instance Lcom/sun/scenario/Settings;
public static void set(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: invokestatic com.sun.scenario.Settings.getInstance:()Lcom/sun/scenario/Settings;
aload 0
aload 1
invokevirtual com.sun.scenario.Settings.setImpl:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
0 2 1 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
private void setImpl(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.scenario.Settings.checkKeyArg:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.scenario.Settings.settings:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield com.sun.scenario.Settings.listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: com.sun.scenario.Settings java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.util.Callback
astore 3
start local 3 4: aload 3
aload 1
invokeinterface javafx.util.Callback.call:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/scenario/Settings;
0 7 1 key Ljava/lang/String;
0 7 2 value Ljava/lang/String;
4 5 3 l Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;
MethodParameters:
Name Flags
key
value
public static java.lang.String get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.scenario.Settings.getInstance:()Lcom/sun/scenario/Settings;
aload 0
invokevirtual com.sun.scenario.Settings.getImpl:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
private java.lang.String getImpl(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.scenario.Settings.checkKeyArg:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.scenario.Settings.settings:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 2
ifnonnull 6
3: aload 1
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
4: goto 6
StackMap locals: com.sun.scenario.Settings java.lang.String java.lang.String
StackMap stack: java.lang.SecurityException
5: pop
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/scenario/Settings;
0 7 1 key Ljava/lang/String;
2 7 2 retVal Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.SecurityException
MethodParameters:
Name Flags
key
public static boolean getBoolean(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.scenario.Settings.getInstance:()Lcom/sun/scenario/Settings;
aload 0
invokevirtual com.sun.scenario.Settings.getBooleanImpl:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
private boolean getBooleanImpl(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.scenario.Settings.getImpl:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: ldc "true"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/Settings;
0 2 1 key Ljava/lang/String;
1 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
public static boolean getBoolean(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.scenario.Settings.getInstance:()Lcom/sun/scenario/Settings;
aload 0
iload 1
invokevirtual com.sun.scenario.Settings.getBooleanImpl:(Ljava/lang/String;Z)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 defaultVal Z
MethodParameters:
Name Flags
key
defaultVal
private boolean getBooleanImpl(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.scenario.Settings.getImpl:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: iload 2
istore 4
start local 4 2: aload 3
ifnull 8
3: ldc "false"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: iconst_0
istore 4
5: goto 8
StackMap locals: java.lang.String int
StackMap stack:
6: ldc "true"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
istore 4
8: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/scenario/Settings;
0 9 1 key Ljava/lang/String;
0 9 2 defaultVal Z
1 9 3 value Ljava/lang/String;
2 9 4 retVal Z
MethodParameters:
Name Flags
key
defaultVal
public static int getInt(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.scenario.Settings.getInstance:()Lcom/sun/scenario/Settings;
aload 0
iload 1
invokevirtual com.sun.scenario.Settings.getIntImpl:(Ljava/lang/String;I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 defaultVal I
MethodParameters:
Name Flags
key
defaultVal
private int getIntImpl(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.scenario.Settings.getImpl:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: iload 2
istore 4
start local 4 2: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
3: goto 5
StackMap locals: com.sun.scenario.Settings java.lang.String int java.lang.String int
StackMap stack: java.lang.NumberFormatException
4: pop
5: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/scenario/Settings;
0 6 1 key Ljava/lang/String;
0 6 2 defaultVal I
1 6 3 value Ljava/lang/String;
2 6 4 retVal I
Exception table:
from to target type
2 3 4 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
key
defaultVal
public static void addPropertyChangeListener(javafx.util.Callback<java.lang.String, java.lang.Void>);
descriptor: (Ljavafx/util/Callback;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.scenario.Settings.getInstance:()Lcom/sun/scenario/Settings;
aload 0
invokevirtual com.sun.scenario.Settings.addPropertyChangeListenerImpl:(Ljavafx/util/Callback;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 pcl Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;
Signature: (Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
pcl
private void addPropertyChangeListenerImpl(javafx.util.Callback<java.lang.String, java.lang.Void>);
descriptor: (Ljavafx/util/Callback;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.scenario.Settings.listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/Settings;
0 2 1 pcl Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;
Signature: (Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
pcl
public static void removePropertyChangeListener(javafx.util.Callback<java.lang.String, java.lang.Void>);
descriptor: (Ljavafx/util/Callback;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.scenario.Settings.getInstance:()Lcom/sun/scenario/Settings;
aload 0
invokevirtual com.sun.scenario.Settings.removePropertyChangeListenerImpl:(Ljavafx/util/Callback;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 pcl Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;
Signature: (Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
pcl
private void removePropertyChangeListenerImpl(javafx.util.Callback<java.lang.String, java.lang.Void>);
descriptor: (Ljavafx/util/Callback;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.scenario.Settings.listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/Settings;
0 2 1 pcl Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;
Signature: (Ljavafx/util/Callback<Ljava/lang/String;Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
pcl
private void checkKeyArg(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
ldc ""
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "null key not allowed"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/scenario/Settings;
0 3 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
iconst_5
invokespecial java.util.HashMap.<init>:(I)V
putfield com.sun.scenario.Settings.settings:Ljava/util/Map;
2: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield com.sun.scenario.Settings.listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/scenario/Settings;
}
SourceFile: "Settings.java"