class com.sun.javafx.application.HostServicesDelegate$StandaloneHostService extends com.sun.javafx.application.HostServicesDelegate
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.javafx.application.HostServicesDelegate$StandaloneHostService
  super_class: com.sun.javafx.application.HostServicesDelegate
{
  private static com.sun.javafx.application.HostServicesDelegate instance;
    descriptor: Lcom/sun/javafx/application/HostServicesDelegate;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private java.lang.Class appClass;
    descriptor: Ljava/lang/Class;
    flags: (0x0002) ACC_PRIVATE

  static final java.lang.String[] browsers;
    descriptor: [Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 51
            aconst_null
            putstatic com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.instance:Lcom/sun/javafx/application/HostServicesDelegate;
         1: .line 125
            bipush 6
            anewarray java.lang.String
            dup
            iconst_0
         2: .line 126
            ldc "xdg-open"
            aastore
            dup
            iconst_1
         3: .line 127
            ldc "google-chrome"
            aastore
            dup
            iconst_2
         4: .line 128
            ldc "firefox"
            aastore
            dup
            iconst_3
         5: .line 129
            ldc "opera"
            aastore
            dup
            iconst_4
         6: .line 130
            ldc "konqueror"
            aastore
            dup
            iconst_5
         7: .line 131
            ldc "mozilla"
            aastore
         8: .line 125
            putstatic com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.browsers:[Ljava/lang/String;
         9: .line 132
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static com.sun.javafx.application.HostServicesDelegate getInstance(javafx.application.Application);
    descriptor: (Ljavafx/application/Application;)Lcom/sun/javafx/application/HostServicesDelegate;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // javafx.application.Application app
         0: .line 56
            ldc Lcom/sun/javafx/application/HostServicesDelegate$StandaloneHostService;
            dup
            astore 1
            monitorenter
         1: .line 57
            getstatic com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.instance:Lcom/sun/javafx/application/HostServicesDelegate;
            ifnonnull 3
         2: .line 58
            new com.sun.javafx.application.HostServicesDelegate$StandaloneHostService
            dup
            aload 0 /* app */
            invokespecial com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.<init>:(Ljavafx/application/Application;)V
            putstatic com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.instance:Lcom/sun/javafx/application/HostServicesDelegate;
         3: .line 60
      StackMap locals: java.lang.Class
      StackMap stack:
            getstatic com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.instance:Lcom/sun/javafx/application/HostServicesDelegate;
            aload 1
            monitorexit
         4: areturn
         5: .line 56
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         6: athrow
        end local 0 // javafx.application.Application app
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0   app  Ljavafx/application/Application;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any
    MethodParameters:
      Name  Flags
      app   

  private void <init>(javafx.application.Application);
    descriptor: (Ljavafx/application/Application;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
        start local 1 // javafx.application.Application app
         0: .line 64
            aload 0 /* this */
            invokespecial com.sun.javafx.application.HostServicesDelegate.<init>:()V
         1: .line 53
            aload 0 /* this */
            aconst_null
            putfield com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.appClass:Ljava/lang/Class;
         2: .line 65
            aload 0 /* this */
            aload 1 /* app */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            putfield com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.appClass:Ljava/lang/Class;
         3: .line 66
            return
        end local 1 // javafx.application.Application app
        end local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/javafx/application/HostServicesDelegate$StandaloneHostService;
            0    4     1   app  Ljavafx/application/Application;
    MethodParameters:
      Name  Flags
      app   

  public java.lang.String getCodeBase();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=1
        start local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
         0: .line 74
            aload 0 /* this */
            getfield com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.appClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 1 /* theClassFile */
        start local 1 // java.lang.String theClassFile
         1: .line 75
            aload 1 /* theClassFile */
            ldc "."
            invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
            istore 2 /* idx */
        start local 2 // int idx
         2: .line 76
            iload 2 /* idx */
            iflt 4
         3: .line 80
            aload 1 /* theClassFile */
            iload 2 /* idx */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 1 /* theClassFile */
         4: .line 82
      StackMap locals: java.lang.String int
      StackMap stack:
            new java.lang.StringBuilder
            dup
            aload 1 /* theClassFile */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".class"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 1 /* theClassFile */
         5: .line 84
            aload 0 /* this */
            getfield com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.appClass:Ljava/lang/Class;
            aload 1 /* theClassFile */
            invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
            invokevirtual java.net.URL.toString:()Ljava/lang/String;
            astore 3 /* classUrlString */
        start local 3 // java.lang.String classUrlString
         6: .line 85
            aload 3 /* classUrlString */
            ldc "jar:file:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 8
         7: .line 86
            aload 3 /* classUrlString */
            ldc "!"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            iconst_m1
            if_icmpne 9
         8: .line 87
      StackMap locals: java.lang.String
      StackMap stack:
            ldc ""
            areturn
         9: .line 90
      StackMap locals:
      StackMap stack:
            aload 3 /* classUrlString */
            iconst_4
        10: .line 91
            aload 3 /* classUrlString */
            ldc "!"
            invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
        11: .line 90
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 4 /* urlString */
        start local 4 // java.lang.String urlString
        12: .line 92
            aconst_null
            astore 5 /* jarFile */
        start local 5 // java.io.File jarFile
        13: .line 94
            new java.io.File
            dup
            new java.net.URI
            dup
            aload 4 /* urlString */
            invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
            invokevirtual java.net.URI.getPath:()Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 5 /* jarFile */
        14: .line 95
            goto 16
      StackMap locals: com.sun.javafx.application.HostServicesDelegate$StandaloneHostService java.lang.String int java.lang.String java.lang.String java.io.File
      StackMap stack: java.lang.Exception
        15: pop
        16: .line 98
      StackMap locals:
      StackMap stack:
            aload 5 /* jarFile */
            ifnull 20
        17: .line 99
            aload 5 /* jarFile */
            invokevirtual java.io.File.getParent:()Ljava/lang/String;
            astore 6 /* codebase */
        start local 6 // java.lang.String codebase
        18: .line 100
            aload 6 /* codebase */
            ifnull 20
        19: .line 101
            aload 0 /* this */
            aload 6 /* codebase */
            invokevirtual com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.toURIString:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 6 // java.lang.String codebase
        20: .line 105
      StackMap locals:
      StackMap stack:
            ldc ""
            areturn
        end local 5 // java.io.File jarFile
        end local 4 // java.lang.String urlString
        end local 3 // java.lang.String classUrlString
        end local 2 // int idx
        end local 1 // java.lang.String theClassFile
        end local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   21     0            this  Lcom/sun/javafx/application/HostServicesDelegate$StandaloneHostService;
            1   21     1    theClassFile  Ljava/lang/String;
            2   21     2             idx  I
            6   21     3  classUrlString  Ljava/lang/String;
           12   21     4       urlString  Ljava/lang/String;
           13   21     5         jarFile  Ljava/io/File;
           18   20     6        codebase  Ljava/lang/String;
      Exception table:
        from    to  target  type
          13    14      15  Class java.lang.Exception

  private java.lang.String toURIString(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
        start local 1 // java.lang.String filePath
         0: .line 110
            new java.io.File
            dup
            aload 1 /* filePath */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.toURI:()Ljava/net/URI;
            invokevirtual java.net.URI.toString:()Ljava/lang/String;
         1: areturn
         2: .line 111
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
         3: .line 114
            aload 2 /* e */
            invokevirtual java.lang.Exception.printStackTrace:()V
        end local 2 // java.lang.Exception e
         4: .line 116
            ldc ""
            areturn
        end local 1 // java.lang.String filePath
        end local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lcom/sun/javafx/application/HostServicesDelegate$StandaloneHostService;
            0    5     1  filePath  Ljava/lang/String;
            3    4     2         e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    MethodParameters:
          Name  Flags
      filePath  

  public java.lang.String getDocumentBase();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
         0: .line 122
            aload 0 /* this */
            ldc "user.dir"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.toURIString:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/javafx/application/HostServicesDelegate$StandaloneHostService;

  public void showDocument(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=8, args_size=2
        start local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
        start local 1 // java.lang.String uri
         0: .line 136
            ldc "os.name"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* osName */
        start local 2 // java.lang.String osName
         1: .line 138
            aload 2 /* osName */
            ldc "Mac OS"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 4
         2: .line 139
            invokestatic java.awt.Desktop.getDesktop:()Ljava/awt/Desktop;
            aload 1 /* uri */
            invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
            invokevirtual java.awt.Desktop.browse:(Ljava/net/URI;)V
         3: .line 140
            goto 23
      StackMap locals: java.lang.String
      StackMap stack:
         4: aload 2 /* osName */
            ldc "Windows"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 9
         5: .line 141
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
         6: .line 142
            new java.lang.StringBuilder
            dup
            ldc "rundll32 url.dll,FileProtocolHandler "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* uri */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         7: .line 141
            invokevirtual java.lang.Runtime.exec:(Ljava/lang/String;)Ljava/lang/Process;
            pop
         8: .line 143
            goto 23
         9: .line 144
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 3 /* browser */
        start local 3 // java.lang.String browser
        10: .line 145
            getstatic com.sun.javafx.application.HostServicesDelegate$StandaloneHostService.browsers:[Ljava/lang/String;
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 18
      StackMap locals: com.sun.javafx.application.HostServicesDelegate$StandaloneHostService java.lang.String java.lang.String java.lang.String top int int java.lang.String[]
      StackMap stack:
        11: aload 7
            iload 5
            aaload
            astore 4 /* b */
        start local 4 // java.lang.String b
        12: .line 146
            aload 3 /* browser */
            ifnonnull 17
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
        13: .line 147
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "which"
            aastore
            dup
            iconst_1
            aload 4 /* b */
            aastore
        14: .line 146
            invokevirtual java.lang.Runtime.exec:([Ljava/lang/String;)Ljava/lang/Process;
        15: .line 147
            invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            iconst_m1
            if_icmpeq 17
        16: .line 148
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            aload 4 /* b */
            dup
            astore 3 /* browser */
            aastore
            dup
            iconst_1
            aload 1 /* uri */
            aastore
            invokevirtual java.lang.Runtime.exec:([Ljava/lang/String;)Ljava/lang/Process;
            pop
        end local 4 // java.lang.String b
        17: .line 145
      StackMap locals:
      StackMap stack:
            iinc 5 1
      StackMap locals:
      StackMap stack:
        18: iload 5
            iload 6
            if_icmplt 11
        19: .line 151
            aload 3 /* browser */
            ifnonnull 23
        20: .line 152
            new java.lang.Exception
            dup
            ldc "No web browser found"
            invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.String browser
        21: .line 155
      StackMap locals: com.sun.javafx.application.HostServicesDelegate$StandaloneHostService java.lang.String java.lang.String
      StackMap stack: java.lang.Exception
            astore 3 /* e */
        start local 3 // java.lang.Exception e
        22: .line 158
            aload 3 /* e */
            invokevirtual java.lang.Exception.printStackTrace:()V
        end local 3 // java.lang.Exception e
        23: .line 160
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.String osName
        end local 1 // java.lang.String uri
        end local 0 // com.sun.javafx.application.HostServicesDelegate$StandaloneHostService this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   24     0     this  Lcom/sun/javafx/application/HostServicesDelegate$StandaloneHostService;
            0   24     1      uri  Ljava/lang/String;
            1   24     2   osName  Ljava/lang/String;
           10   21     3  browser  Ljava/lang/String;
           12   17     4        b  Ljava/lang/String;
           22   23     3        e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           1    21      21  Class java.lang.Exception
    MethodParameters:
      Name  Flags
      uri   final
}
SourceFile: "HostServicesDelegate.java"
NestHost: com.sun.javafx.application.HostServicesDelegate
InnerClasses:
  private StandaloneHostService = com.sun.javafx.application.HostServicesDelegate$StandaloneHostService of com.sun.javafx.application.HostServicesDelegate