public abstract class javax.swing.filechooser.FileSystemView
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.filechooser.FileSystemView
super_class: java.lang.Object
{
static javax.swing.filechooser.FileSystemView windowsFileSystemView;
descriptor: Ljavax/swing/filechooser/FileSystemView;
flags: (0x0008) ACC_STATIC
static javax.swing.filechooser.FileSystemView unixFileSystemView;
descriptor: Ljavax/swing/filechooser/FileSystemView;
flags: (0x0008) ACC_STATIC
static javax.swing.filechooser.FileSystemView genericFileSystemView;
descriptor: Ljavax/swing/filechooser/FileSystemView;
flags: (0x0008) ACC_STATIC
static boolean useSystemExtensionsHiding;
descriptor: Z
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic javax.swing.filechooser.FileSystemView.windowsFileSystemView:Ljavax/swing/filechooser/FileSystemView;
1: aconst_null
putstatic javax.swing.filechooser.FileSystemView.unixFileSystemView:Ljavax/swing/filechooser/FileSystemView;
2: aconst_null
putstatic javax.swing.filechooser.FileSystemView.genericFileSystemView:Ljavax/swing/filechooser/FileSystemView;
3: iconst_0
putstatic javax.swing.filechooser.FileSystemView.useSystemExtensionsHiding:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Ljavax/swing/filechooser/FileSystemView;
public static javax.swing.filechooser.FileSystemView getFileSystemView();
descriptor: ()Ljavax/swing/filechooser/FileSystemView;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic javax.swing.UIManager.getDefaults:()Ljavax/swing/UIDefaults;
ldc "FileChooser.useSystemExtensionHiding"
invokevirtual javax.swing.UIDefaults.getBoolean:(Ljava/lang/Object;)Z
putstatic javax.swing.filechooser.FileSystemView.useSystemExtensionsHiding:Z
1: new javax.swing.filechooser.FileSystemView$1
dup
invokespecial javax.swing.filechooser.FileSystemView$1.<init>:()V
invokestatic javax.swing.UIManager.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
2: getstatic java.io.File.separatorChar:C
bipush 92
if_icmpne 6
3: getstatic javax.swing.filechooser.FileSystemView.windowsFileSystemView:Ljavax/swing/filechooser/FileSystemView;
ifnonnull 5
4: new javax.swing.filechooser.WindowsFileSystemView
dup
invokespecial javax.swing.filechooser.WindowsFileSystemView.<init>:()V
putstatic javax.swing.filechooser.FileSystemView.windowsFileSystemView:Ljavax/swing/filechooser/FileSystemView;
5: StackMap locals:
StackMap stack:
getstatic javax.swing.filechooser.FileSystemView.windowsFileSystemView:Ljavax/swing/filechooser/FileSystemView;
areturn
6: StackMap locals:
StackMap stack:
getstatic java.io.File.separatorChar:C
bipush 47
if_icmpne 10
7: getstatic javax.swing.filechooser.FileSystemView.unixFileSystemView:Ljavax/swing/filechooser/FileSystemView;
ifnonnull 9
8: new javax.swing.filechooser.UnixFileSystemView
dup
invokespecial javax.swing.filechooser.UnixFileSystemView.<init>:()V
putstatic javax.swing.filechooser.FileSystemView.unixFileSystemView:Ljavax/swing/filechooser/FileSystemView;
9: StackMap locals:
StackMap stack:
getstatic javax.swing.filechooser.FileSystemView.unixFileSystemView:Ljavax/swing/filechooser/FileSystemView;
areturn
10: StackMap locals:
StackMap stack:
getstatic javax.swing.filechooser.FileSystemView.genericFileSystemView:Ljavax/swing/filechooser/FileSystemView;
ifnonnull 12
11: new javax.swing.filechooser.GenericFileSystemView
dup
invokespecial javax.swing.filechooser.GenericFileSystemView.<init>:()V
putstatic javax.swing.filechooser.FileSystemView.genericFileSystemView:Ljavax/swing/filechooser/FileSystemView;
12: StackMap locals:
StackMap stack:
getstatic javax.swing.filechooser.FileSystemView.genericFileSystemView:Ljavax/swing/filechooser/FileSystemView;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isRoot(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.io.File.isAbsolute:()Z
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.filechooser.FileSystemView.getRoots:()[Ljava/io/File;
astore 2
start local 2 3: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: javax.swing.filechooser.FileSystemView java.io.File java.io.File[] top int int java.io.File[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
aload 1
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
end local 3 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 4
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/filechooser/FileSystemView;
0 10 1 f Ljava/io/File;
3 10 2 roots [Ljava/io/File;
5 7 3 root Ljava/io/File;
MethodParameters:
Name Flags
f
public java.lang.Boolean isTraversable(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.isDirectory:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/FileSystemView;
0 1 1 f Ljava/io/File;
MethodParameters:
Name Flags
f
public java.lang.String getSystemDisplayName(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ifnull 12
2: aload 1
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 2
3: aload 2
ldc ".."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
aload 2
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
4: getstatic javax.swing.filechooser.FileSystemView.useSystemExtensionsHiding:Z
ifne 7
5: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystem:(Ljava/io/File;)Z
ifeq 7
6: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 12
7: StackMap locals: java.lang.String
StackMap stack:
aload 1
instanceof sun.awt.shell.ShellFolder
ifne 9
8: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 12
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
invokevirtual sun.awt.shell.ShellFolder.getDisplayName:()Ljava/lang/String;
astore 2
10: aload 2
ifnull 11
aload 2
invokevirtual java.lang.String.length:()I
ifne 12
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
astore 2
12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/filechooser/FileSystemView;
0 13 1 f Ljava/io/File;
1 13 2 name Ljava/lang/String;
MethodParameters:
Name Flags
f
public java.lang.String getSystemTypeDescription(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/FileSystemView;
0 1 1 f Ljava/io/File;
MethodParameters:
Name Flags
f
public javax.swing.Icon getSystemIcon(java.io.File);
descriptor: (Ljava/io/File;)Ljavax/swing/Icon;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 8
1: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
astore 2
start local 2 2: aload 2
iconst_0
invokevirtual sun.awt.shell.ShellFolder.getIcon:(Z)Ljava/awt/Image;
astore 3
start local 3 3: aload 3
ifnull 5
4: new javax.swing.ImageIcon
dup
aload 3
aload 2
invokevirtual sun.awt.shell.ShellFolder.getFolderType:()Ljava/lang/String;
invokespecial javax.swing.ImageIcon.<init>:(Ljava/awt/Image;Ljava/lang/String;)V
areturn
5: StackMap locals: sun.awt.shell.ShellFolder java.awt.Image
StackMap stack:
aload 1
invokevirtual java.io.File.isDirectory:()Z
ifeq 6
ldc "FileView.directoryIcon"
goto 7
StackMap locals:
StackMap stack:
6: ldc "FileView.fileIcon"
StackMap locals:
StackMap stack: java.lang.String
7: invokestatic javax.swing.UIManager.getIcon:(Ljava/lang/Object;)Ljavax/swing/Icon;
areturn
end local 3 end local 2 8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/filechooser/FileSystemView;
0 9 1 f Ljava/io/File;
2 8 2 sf Lsun/awt/shell/ShellFolder;
3 8 3 img Ljava/awt/Image;
MethodParameters:
Name Flags
f
public boolean isParent(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.awt.shell.ShellFolder
ifeq 14
3: aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 3
start local 3 4: aload 3
ifnull 6
aload 3
aload 1
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals: java.io.File
StackMap stack:
aload 0
aload 1
iconst_0
invokevirtual javax.swing.filechooser.FileSystemView.getFiles:(Ljava/io/File;Z)[Ljava/io/File;
astore 4
start local 4 7: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 12
StackMap locals: javax.swing.filechooser.FileSystemView java.io.File java.io.File java.io.File java.io.File[] top int int java.io.File[]
StackMap stack:
8: aload 8
iload 6
aaload
astore 5
start local 5 9: aload 2
aload 5
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 11
10: iconst_1
ireturn
end local 5 11: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
iload 7
if_icmplt 8
13: iconst_0
ireturn
end local 4 end local 3 14: StackMap locals: javax.swing.filechooser.FileSystemView java.io.File java.io.File
StackMap stack:
aload 1
aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/filechooser/FileSystemView;
0 15 1 folder Ljava/io/File;
0 15 2 file Ljava/io/File;
4 14 3 parent Ljava/io/File;
7 14 4 children [Ljava/io/File;
9 11 5 child Ljava/io/File;
MethodParameters:
Name Flags
folder
file
public java.io.File getChild(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof sun.awt.shell.ShellFolder
ifeq 8
1: aload 0
aload 1
iconst_0
invokevirtual javax.swing.filechooser.FileSystemView.getFiles:(Ljava/io/File;Z)[Ljava/io/File;
astore 3
start local 3 2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: javax.swing.filechooser.FileSystemView java.io.File java.lang.String java.io.File[] top int int java.io.File[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
invokevirtual java.io.File.getName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 4
areturn
end local 4 6: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 3
end local 3 8: StackMap locals: javax.swing.filechooser.FileSystemView java.io.File java.lang.String
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual javax.swing.filechooser.FileSystemView.createFileObject:(Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/filechooser/FileSystemView;
0 9 1 parent Ljava/io/File;
0 9 2 fileName Ljava/lang/String;
2 8 3 children [Ljava/io/File;
4 6 4 child Ljava/io/File;
MethodParameters:
Name Flags
parent
fileName
public boolean isFileSystem(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.awt.shell.ShellFolder
ifeq 5
1: aload 1
checkcast sun.awt.shell.ShellFolder
astore 2
start local 2 2: aload 2
invokevirtual sun.awt.shell.ShellFolder.isFileSystem:()Z
ifeq 4
aload 2
invokevirtual sun.awt.shell.ShellFolder.isLink:()Z
ifeq 3
aload 2
invokevirtual sun.awt.shell.ShellFolder.isDirectory:()Z
ifne 4
StackMap locals: sun.awt.shell.ShellFolder
StackMap stack:
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/filechooser/FileSystemView;
0 6 1 f Ljava/io/File;
2 5 2 sf Lsun/awt/shell/ShellFolder;
MethodParameters:
Name Flags
f
public abstract java.io.File createNewFolder(java.io.File);
descriptor: (Ljava/io/File;)Ljava/io/File;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
containingDir
public boolean isHiddenFile(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.isHidden:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/FileSystemView;
0 1 1 f Ljava/io/File;
MethodParameters:
Name Flags
f
public boolean isFileSystemRoot(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.awt.shell.ShellFolder.isFileSystemRoot:(Ljava/io/File;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/FileSystemView;
0 1 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
public boolean isDrive(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/FileSystemView;
0 1 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
public boolean isFloppyDrive(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/FileSystemView;
0 1 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
public boolean isComputerNode(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.awt.shell.ShellFolder.isComputerNode:(Ljava/io/File;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/FileSystemView;
0 1 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
public java.io.File[] getRoots();
descriptor: ()[Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: ldc "roots"
invokestatic sun.awt.shell.ShellFolder.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.io.File[]
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: java.io.File[] int
StackMap stack:
aload 0
aload 1
iload 2
aaload
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 5
4: aload 1
iload 2
aload 0
aload 1
iload 2
aaload
invokevirtual javax.swing.filechooser.FileSystemView.createFileSystemRoot:(Ljava/io/File;)Ljava/io/File;
aastore
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/filechooser/FileSystemView;
1 8 1 roots [Ljava/io/File;
2 7 2 i I
public java.io.File getHomeDirectory();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual javax.swing.filechooser.FileSystemView.createFileObject:(Ljava/lang/String;)Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/FileSystemView;
public java.io.File getDefaultDirectory();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc "fileChooserDefaultFolder"
invokestatic sun.awt.shell.ShellFolder.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.io.File
astore 1
start local 1 1: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 3
2: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.createFileSystemRoot:(Ljava/io/File;)Ljava/io/File;
astore 1
3: StackMap locals: java.io.File
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/filechooser/FileSystemView;
1 4 1 f Ljava/io/File;
public java.io.File createFileObject(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
aload 2
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/filechooser/FileSystemView;
0 3 1 dir Ljava/io/File;
0 3 2 filename Ljava/lang/String;
MethodParameters:
Name Flags
dir
filename
public java.io.File createFileObject(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 3
2: aload 0
aload 2
invokevirtual javax.swing.filechooser.FileSystemView.createFileSystemRoot:(Ljava/io/File;)Ljava/io/File;
astore 2
3: StackMap locals: java.io.File
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/filechooser/FileSystemView;
0 4 1 path Ljava/lang/String;
1 4 2 f Ljava/io/File;
MethodParameters:
Name Flags
path
public java.io.File[] getFiles(java.io.File, boolean);
descriptor: (Ljava/io/File;Z)[Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 3
start local 3 1: aload 1
instanceof sun.awt.shell.ShellFolder
ifne 3
2: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
astore 1
3: StackMap locals: java.util.Vector
StackMap stack:
aload 1
checkcast sun.awt.shell.ShellFolder
iload 2
ifeq 4
iconst_0
goto 5
StackMap locals:
StackMap stack: sun.awt.shell.ShellFolder
4: iconst_1
StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.Vector
StackMap stack: sun.awt.shell.ShellFolder int
5: invokevirtual sun.awt.shell.ShellFolder.listFiles:(Z)[Ljava/io/File;
astore 4
start local 4 6: aload 4
ifnonnull 7
iconst_0
goto 8
StackMap locals: java.io.File[]
StackMap stack:
7: aload 4
arraylength
StackMap locals:
StackMap stack: int
8: istore 6
start local 6 9: iconst_0
istore 7
start local 7 10: goto 26
11: StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.Vector java.io.File[] top int int
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.isInterrupted:()Z
ifeq 13
12: goto 27
13: StackMap locals:
StackMap stack:
aload 4
iload 7
aaload
astore 5
start local 5 14: aload 5
instanceof sun.awt.shell.ShellFolder
ifne 23
15: aload 0
aload 5
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 17
16: aload 0
aload 5
invokevirtual javax.swing.filechooser.FileSystemView.createFileSystemRoot:(Ljava/io/File;)Ljava/io/File;
astore 5
17: StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.Vector java.io.File[] java.io.File int int
StackMap stack:
aload 5
invokestatic sun.awt.shell.ShellFolder.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
astore 5
18: goto 23
StackMap locals:
StackMap stack: java.io.FileNotFoundException
19: pop
20: goto 25
21: StackMap locals:
StackMap stack: java.lang.InternalError
pop
22: goto 25
23: StackMap locals:
StackMap stack:
iload 2
ifeq 24
aload 0
aload 5
invokevirtual javax.swing.filechooser.FileSystemView.isHiddenFile:(Ljava/io/File;)Z
ifne 25
24: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
25: StackMap locals:
StackMap stack:
iinc 7 1
end local 5 StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.Vector java.io.File[] top int int
StackMap stack:
26: iload 7
iload 6
if_icmplt 11
end local 7 27: StackMap locals:
StackMap stack:
aload 3
aload 3
invokevirtual java.util.Vector.size:()I
anewarray java.io.File
invokevirtual java.util.Vector.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.io.File[]
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljavax/swing/filechooser/FileSystemView;
0 28 1 dir Ljava/io/File;
0 28 2 useFileHiding Z
1 28 3 files Ljava/util/Vector<Ljava/io/File;>;
6 28 4 names [Ljava/io/File;
14 26 5 f Ljava/io/File;
9 28 6 nameCount I
10 27 7 i I
Exception table:
from to target type
17 18 19 Class java.io.FileNotFoundException
17 18 21 Class java.lang.InternalError
MethodParameters:
Name Flags
dir
useFileHiding
public java.io.File getParentDirectory(java.io.File);
descriptor: (Ljava/io/File;)Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnull 12
aload 1
invokevirtual java.io.File.exists:()Z
ifeq 12
1: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
astore 2
start local 2 2: aload 2
invokevirtual sun.awt.shell.ShellFolder.getParentFile:()Ljava/io/File;
astore 3
start local 3 3: aload 3
ifnull 12
4: aload 0
aload 3
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystem:(Ljava/io/File;)Z
ifeq 11
5: aload 3
astore 4
start local 4 6: aload 4
ifnull 10
aload 4
invokevirtual java.io.File.exists:()Z
ifne 10
7: aload 3
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 5
start local 5 8: aload 5
ifnull 9
aload 0
aload 5
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystem:(Ljava/io/File;)Z
ifne 10
9: StackMap locals: javax.swing.filechooser.FileSystemView java.io.File sun.awt.shell.ShellFolder java.io.File java.io.File java.io.File
StackMap stack:
aload 0
aload 4
invokevirtual javax.swing.filechooser.FileSystemView.createFileSystemRoot:(Ljava/io/File;)Ljava/io/File;
astore 4
end local 5 10: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 11: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/filechooser/FileSystemView;
0 13 1 dir Ljava/io/File;
2 12 2 sf Lsun/awt/shell/ShellFolder;
3 12 3 psf Ljava/io/File;
6 11 4 f Ljava/io/File;
8 10 5 ppsf Ljava/io/File;
MethodParameters:
Name Flags
dir
sun.awt.shell.ShellFolder getShellFolder(java.io.File);
descriptor: (Ljava/io/File;)Lsun/awt/shell/ShellFolder;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.awt.shell.ShellFolder
ifne 4
1: aload 1
instanceof javax.swing.filechooser.FileSystemView$FileSystemRoot
ifne 4
2: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 4
3: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.createFileSystemRoot:(Ljava/io/File;)Ljava/io/File;
astore 1
4: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.awt.shell.ShellFolder.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
5: areturn
6: StackMap locals:
StackMap stack: java.io.FileNotFoundException
astore 2
start local 2 7: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "FileSystemView.getShellFolder: f="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: aload 2
invokevirtual java.io.FileNotFoundException.printStackTrace:()V
9: aconst_null
areturn
end local 2 10: StackMap locals:
StackMap stack: java.lang.InternalError
astore 2
start local 2 11: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "FileSystemView.getShellFolder: f="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: aload 2
invokevirtual java.lang.InternalError.printStackTrace:()V
13: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/filechooser/FileSystemView;
0 14 1 f Ljava/io/File;
7 10 2 e Ljava/io/FileNotFoundException;
11 14 2 e Ljava/lang/InternalError;
Exception table:
from to target type
4 5 6 Class java.io.FileNotFoundException
4 5 10 Class java.lang.InternalError
MethodParameters:
Name Flags
f
protected java.io.File createFileSystemRoot(java.io.File);
descriptor: (Ljava/io/File;)Ljava/io/File;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new javax.swing.filechooser.FileSystemView$FileSystemRoot
dup
aload 1
invokespecial javax.swing.filechooser.FileSystemView$FileSystemRoot.<init>:(Ljava/io/File;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/FileSystemView;
0 1 1 f Ljava/io/File;
MethodParameters:
Name Flags
f
}
SourceFile: "FileSystemView.java"
NestMembers:
javax.swing.filechooser.FileSystemView$1 javax.swing.filechooser.FileSystemView$FileSystemRoot
InnerClasses:
javax.swing.filechooser.FileSystemView$1
FileSystemRoot = javax.swing.filechooser.FileSystemView$FileSystemRoot of javax.swing.filechooser.FileSystemView