public class com.sun.glass.ui.CommonDialogs
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.glass.ui.CommonDialogs
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.glass.ui.CommonDialogs this
         0: .line 166
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 167
            return
        end local 0 // com.sun.glass.ui.CommonDialogs this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/glass/ui/CommonDialogs;

  public static com.sun.glass.ui.CommonDialogs$FileChooserResult showFileChooser(com.sun.glass.ui.Window, java.io.File, java.lang.String, java.lang.String, int, boolean, java.util.List<com.sun.glass.ui.CommonDialogs$ExtensionFilter>, int);
    descriptor: (Lcom/sun/glass/ui/Window;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;IZLjava/util/List;I)Lcom/sun/glass/ui/CommonDialogs$FileChooserResult;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=9, locals=10, args_size=8
        start local 0 // com.sun.glass.ui.Window owner
        start local 1 // java.io.File folder
        start local 2 // java.lang.String filename
        start local 3 // java.lang.String title
        start local 4 // int type
        start local 5 // boolean multipleMode
        start local 6 // java.util.List extensionFilters
        start local 7 // int defaultFilterIndex
         0: .line 190
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 191
            aload 1 /* folder */
            invokestatic com.sun.glass.ui.CommonDialogs.convertFolder:(Ljava/io/File;)Ljava/lang/String;
            astore 8 /* _folder */
        start local 8 // java.lang.String _folder
         2: .line 192
            aload 2 /* filename */
            ifnonnull 4
         3: .line 193
            ldc ""
            astore 2 /* filename */
         4: .line 196
      StackMap locals: java.lang.String
      StackMap stack:
            iload 4 /* type */
            ifeq 6
            iload 4 /* type */
            iconst_1
            if_icmpeq 6
         5: .line 197
            new java.lang.IllegalArgumentException
            dup
            ldc "Type parameter must be equal to one of the constants from Type"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 200
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 9 /* _extensionFilters */
        start local 9 // com.sun.glass.ui.CommonDialogs$ExtensionFilter[] _extensionFilters
         7: .line 201
            aload 6 /* extensionFilters */
            ifnull 9
         8: .line 202
            aload 6 /* extensionFilters */
            aload 6 /* extensionFilters */
            invokeinterface java.util.List.size:()I
            anewarray com.sun.glass.ui.CommonDialogs$ExtensionFilter
            invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast com.sun.glass.ui.CommonDialogs$ExtensionFilter[]
            astore 9 /* _extensionFilters */
         9: .line 205
      StackMap locals: com.sun.glass.ui.CommonDialogs$ExtensionFilter[]
      StackMap stack:
            aload 6 /* extensionFilters */
            ifnull 13
        10: .line 206
            aload 6 /* extensionFilters */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 13
        11: .line 207
            iload 7 /* defaultFilterIndex */
            iflt 13
        12: .line 208
            iload 7 /* defaultFilterIndex */
            aload 6 /* extensionFilters */
            invokeinterface java.util.List.size:()I
            if_icmplt 14
        13: .line 209
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 7 /* defaultFilterIndex */
        14: .line 212
      StackMap locals:
      StackMap stack:
            invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
        15: .line 213
            aload 0 /* owner */
            aload 8 /* _folder */
            aload 2 /* filename */
            aload 3 /* title */
            invokestatic com.sun.glass.ui.CommonDialogs.convertTitle:(Ljava/lang/String;)Ljava/lang/String;
            iload 4 /* type */
            iload 5 /* multipleMode */
            aload 9 /* _extensionFilters */
            iload 7 /* defaultFilterIndex */
            invokevirtual com.sun.glass.ui.Application.staticCommonDialogs_showFileChooser:(Lcom/sun/glass/ui/Window;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ[Lcom/sun/glass/ui/CommonDialogs$ExtensionFilter;I)Lcom/sun/glass/ui/CommonDialogs$FileChooserResult;
        16: .line 212
            areturn
        end local 9 // com.sun.glass.ui.CommonDialogs$ExtensionFilter[] _extensionFilters
        end local 8 // java.lang.String _folder
        end local 7 // int defaultFilterIndex
        end local 6 // java.util.List extensionFilters
        end local 5 // boolean multipleMode
        end local 4 // int type
        end local 3 // java.lang.String title
        end local 2 // java.lang.String filename
        end local 1 // java.io.File folder
        end local 0 // com.sun.glass.ui.Window owner
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   17     0               owner  Lcom/sun/glass/ui/Window;
            0   17     1              folder  Ljava/io/File;
            0   17     2            filename  Ljava/lang/String;
            0   17     3               title  Ljava/lang/String;
            0   17     4                type  I
            0   17     5        multipleMode  Z
            0   17     6    extensionFilters  Ljava/util/List<Lcom/sun/glass/ui/CommonDialogs$ExtensionFilter;>;
            0   17     7  defaultFilterIndex  I
            2   17     8             _folder  Ljava/lang/String;
            7   17     9   _extensionFilters  [Lcom/sun/glass/ui/CommonDialogs$ExtensionFilter;
    Signature: (Lcom/sun/glass/ui/Window;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;IZLjava/util/List<Lcom/sun/glass/ui/CommonDialogs$ExtensionFilter;>;I)Lcom/sun/glass/ui/CommonDialogs$FileChooserResult;
    MethodParameters:
                    Name  Flags
      owner               
      folder              
      filename            
      title               
      type                
      multipleMode        
      extensionFilters    
      defaultFilterIndex  

  public static java.io.File showFolderChooser(com.sun.glass.ui.Window, java.io.File, java.lang.String);
    descriptor: (Lcom/sun/glass/ui/Window;Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // com.sun.glass.ui.Window owner
        start local 1 // java.io.File folder
        start local 2 // java.lang.String title
         0: .line 226
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 227
            invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
            aload 0 /* owner */
            aload 1 /* folder */
            invokestatic com.sun.glass.ui.CommonDialogs.convertFolder:(Ljava/io/File;)Ljava/lang/String;
            aload 2 /* title */
            invokestatic com.sun.glass.ui.CommonDialogs.convertTitle:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual com.sun.glass.ui.Application.staticCommonDialogs_showFolderChooser:(Lcom/sun/glass/ui/Window;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;
            areturn
        end local 2 // java.lang.String title
        end local 1 // java.io.File folder
        end local 0 // com.sun.glass.ui.Window owner
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0   owner  Lcom/sun/glass/ui/Window;
            0    2     1  folder  Ljava/io/File;
            0    2     2   title  Ljava/lang/String;
    MethodParameters:
        Name  Flags
      owner   
      folder  
      title   

  private static java.lang.String convertFolder(java.io.File);
    descriptor: (Ljava/io/File;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // java.io.File folder
         0: .line 231
            aload 0 /* folder */
            ifnull 7
         1: .line 232
            aload 0 /* folder */
            invokevirtual java.io.File.isDirectory:()Z
            ifeq 6
         2: .line 234
            aload 0 /* folder */
            invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
         3: areturn
         4: .line 235
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 1 /* e */
        start local 1 // java.io.IOException e
         5: .line 236
            new java.lang.IllegalArgumentException
            dup
            ldc "Unable to get a canonical path for folder"
            aload 1 /* e */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.io.IOException e
         6: .line 239
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "Folder parameter must be a valid folder"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 243
      StackMap locals:
      StackMap stack:
            ldc ""
            areturn
        end local 0 // java.io.File folder
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0  folder  Ljava/io/File;
            5    6     1       e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     3       4  Class java.io.IOException
    MethodParameters:
        Name  Flags
      folder  

  private static java.lang.String convertTitle(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.String title
         0: .line 247
            aload 0 /* title */
            ifnull 1
            aload 0 /* title */
            goto 2
      StackMap locals:
      StackMap stack:
         1: ldc ""
      StackMap locals:
      StackMap stack: java.lang.String
         2: areturn
        end local 0 // java.lang.String title
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0  title  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      title  

  protected static com.sun.glass.ui.CommonDialogs$FileChooserResult createFileChooserResult(java.lang.String[], com.sun.glass.ui.CommonDialogs$ExtensionFilter[], int);
    descriptor: ([Ljava/lang/String;[Lcom/sun/glass/ui/CommonDialogs$ExtensionFilter;I)Lcom/sun/glass/ui/CommonDialogs$FileChooserResult;
    flags: (0x000c) ACC_PROTECTED, ACC_STATIC
    Code:
      stack=5, locals=8, args_size=3
        start local 0 // java.lang.String[] files
        start local 1 // com.sun.glass.ui.CommonDialogs$ExtensionFilter[] extensionFilters
        start local 2 // int index
         0: .line 254
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 3 /* list */
        start local 3 // java.util.List list
         1: .line 255
            aload 0 /* files */
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 6
      StackMap locals: java.lang.String[] com.sun.glass.ui.CommonDialogs$ExtensionFilter[] int java.util.List top int int java.lang.String[]
      StackMap stack:
         2: aload 7
            iload 5
            aaload
            astore 4 /* s */
        start local 4 // java.lang.String s
         3: .line 256
            aload 4 /* s */
            ifnull 5
         4: .line 257
            aload 3 /* list */
            new java.io.File
            dup
            aload 4 /* s */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 4 // java.lang.String s
         5: .line 255
      StackMap locals:
      StackMap stack:
            iinc 5 1
      StackMap locals:
      StackMap stack:
         6: iload 5
            iload 6
            if_icmplt 2
         7: .line 260
            new com.sun.glass.ui.CommonDialogs$FileChooserResult
            dup
            aload 3 /* list */
         8: .line 261
            aload 1 /* extensionFilters */
            ifnull 9
            iload 2 /* index */
            iflt 9
            iload 2 /* index */
            aload 1 /* extensionFilters */
            arraylength
            if_icmplt 10
         9: .line 262
      StackMap locals: java.lang.String[] com.sun.glass.ui.CommonDialogs$ExtensionFilter[] int java.util.List
      StackMap stack: new 7 new 7 java.util.List
            aconst_null
            goto 11
      StackMap locals: java.lang.String[] com.sun.glass.ui.CommonDialogs$ExtensionFilter[] int java.util.List
      StackMap stack: new 7 new 7 java.util.List
        10: aload 1 /* extensionFilters */
            iload 2 /* index */
            aaload
        11: .line 260
      StackMap locals: java.lang.String[] com.sun.glass.ui.CommonDialogs$ExtensionFilter[] int java.util.List
      StackMap stack: new 7 new 7 java.util.List com.sun.glass.ui.CommonDialogs$ExtensionFilter
            invokespecial com.sun.glass.ui.CommonDialogs$FileChooserResult.<init>:(Ljava/util/List;Lcom/sun/glass/ui/CommonDialogs$ExtensionFilter;)V
            areturn
        end local 3 // java.util.List list
        end local 2 // int index
        end local 1 // com.sun.glass.ui.CommonDialogs$ExtensionFilter[] extensionFilters
        end local 0 // java.lang.String[] files
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   12     0             files  [Ljava/lang/String;
            0   12     1  extensionFilters  [Lcom/sun/glass/ui/CommonDialogs$ExtensionFilter;
            0   12     2             index  I
            1   12     3              list  Ljava/util/List<Ljava/io/File;>;
            3    5     4                 s  Ljava/lang/String;
    MethodParameters:
                  Name  Flags
      files             
      extensionFilters  
      index             
}
SourceFile: "CommonDialogs.java"
NestMembers:
  com.sun.glass.ui.CommonDialogs$ExtensionFilter  com.sun.glass.ui.CommonDialogs$FileChooserResult  com.sun.glass.ui.CommonDialogs$Type
InnerClasses:
  public final ExtensionFilter = com.sun.glass.ui.CommonDialogs$ExtensionFilter of com.sun.glass.ui.CommonDialogs
  public final FileChooserResult = com.sun.glass.ui.CommonDialogs$FileChooserResult of com.sun.glass.ui.CommonDialogs
  public final Type = com.sun.glass.ui.CommonDialogs$Type of com.sun.glass.ui.CommonDialogs