final class com.sun.glass.ui.Platform
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.glass.ui.Platform
super_class: java.lang.Object
{
public static final java.lang.String MAC;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Mac"
public static final java.lang.String WINDOWS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Win"
public static final java.lang.String GTK;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Gtk"
public static final java.lang.String IOS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Ios"
public static final java.lang.String UNKNOWN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "unknown"
private static java.lang.String type;
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: aconst_null
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lcom/sun/glass/ui/Platform;
public static synchronized java.lang.String determinePlatform();
descriptor: ()Ljava/lang/String;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=0
0: getstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
ifnonnull 26
1: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/glass/ui/Platform.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
2: astore 0
start local 0 3: aload 0
ifnull 16
4: aload 0
ldc "macosx"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: ldc "Mac"
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
goto 15
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "windows"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: ldc "Win"
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
goto 15
8: StackMap locals:
StackMap stack:
aload 0
ldc "linux"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: ldc "Gtk"
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
goto 15
10: StackMap locals:
StackMap stack:
aload 0
ldc "gtk"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: ldc "Gtk"
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
goto 15
12: StackMap locals:
StackMap stack:
aload 0
ldc "ios"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: ldc "Ios"
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
goto 15
14: StackMap locals:
StackMap stack:
aload 0
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
15: StackMap locals:
StackMap stack:
getstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
areturn
16: StackMap locals:
StackMap stack:
ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 17: aload 1
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 2
start local 2 18: aload 2
ldc "mac"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 19
aload 2
ldc "darwin"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
19: StackMap locals: java.lang.String java.lang.String
StackMap stack:
ldc "Mac"
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
20: goto 26
StackMap locals:
StackMap stack:
21: aload 2
ldc "wind"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
22: ldc "Win"
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
23: goto 26
StackMap locals:
StackMap stack:
24: aload 2
ldc "linux"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 26
25: ldc "Gtk"
putstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
end local 2 end local 1 end local 0 26: StackMap locals:
StackMap stack:
getstatic com.sun.glass.ui.Platform.type:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
3 26 0 userPlatform Ljava/lang/String;
17 26 1 osName Ljava/lang/String;
18 26 2 osNameLowerCase Ljava/lang/String;
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "glass.platform"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Platform.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles