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
private boolean useSystemExtensionHiding;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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;
return
LocalVariableTable:
Start End Slot Name Signature
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: getstatic java.io.File.separatorChar:C
bipush 92
if_icmpne 4
1: getstatic javax.swing.filechooser.FileSystemView.windowsFileSystemView:Ljavax/swing/filechooser/FileSystemView;
ifnonnull 3
2: new javax.swing.filechooser.WindowsFileSystemView
dup
invokespecial javax.swing.filechooser.WindowsFileSystemView.<init>:()V
putstatic javax.swing.filechooser.FileSystemView.windowsFileSystemView:Ljavax/swing/filechooser/FileSystemView;
3: StackMap locals:
StackMap stack:
getstatic javax.swing.filechooser.FileSystemView.windowsFileSystemView:Ljavax/swing/filechooser/FileSystemView;
areturn
4: StackMap locals:
StackMap stack:
getstatic java.io.File.separatorChar:C
bipush 47
if_icmpne 8
5: getstatic javax.swing.filechooser.FileSystemView.unixFileSystemView:Ljavax/swing/filechooser/FileSystemView;
ifnonnull 7
6: new javax.swing.filechooser.UnixFileSystemView
dup
invokespecial javax.swing.filechooser.UnixFileSystemView.<init>:()V
putstatic javax.swing.filechooser.FileSystemView.unixFileSystemView:Ljavax/swing/filechooser/FileSystemView;
7: StackMap locals:
StackMap stack:
getstatic javax.swing.filechooser.FileSystemView.unixFileSystemView:Ljavax/swing/filechooser/FileSystemView;
areturn
8: StackMap locals:
StackMap stack:
getstatic javax.swing.filechooser.FileSystemView.genericFileSystemView:Ljavax/swing/filechooser/FileSystemView;
ifnonnull 10
9: new javax.swing.filechooser.GenericFileSystemView
dup
invokespecial javax.swing.filechooser.GenericFileSystemView.<init>:()V
putstatic javax.swing.filechooser.FileSystemView.genericFileSystemView:Ljavax/swing/filechooser/FileSystemView;
10: StackMap locals:
StackMap stack:
getstatic javax.swing.filechooser.FileSystemView.genericFileSystemView:Ljavax/swing/filechooser/FileSystemView;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: invokestatic javax.swing.UIManager.getDefaults:()Ljavax/swing/UIDefaults;
ldc "FileChooser.useSystemExtensionHiding"
invokevirtual javax.swing.UIDefaults.getBoolean:(Ljava/lang/Object;)Z
putfield javax.swing.filechooser.FileSystemView.useSystemExtensionHiding:Z
3: new java.lang.ref.WeakReference
dup
aload 0
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
astore 1
start local 1 4: new javax.swing.filechooser.FileSystemView$1
dup
aload 0
aload 1
invokespecial javax.swing.filechooser.FileSystemView$1.<init>:(Ljavax/swing/filechooser/FileSystemView;Ljava/lang/ref/WeakReference;)V
invokestatic javax.swing.UIManager.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/filechooser/FileSystemView;
4 6 1 weakReference Ljava/lang/ref/WeakReference<Ljavax/swing/filechooser/FileSystemView;>;
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: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 2
start local 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: aload 0
getfield javax.swing.filechooser.FileSystemView.useSystemExtensionHiding:Z
ifne 5
aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystem:(Ljava/io/File;)Z
ifeq 5
aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 12
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
instanceof sun.awt.shell.ShellFolder
ifne 6
aload 1
invokevirtual java.io.File.exists:()Z
ifeq 12
6: 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
7: goto 10
StackMap locals:
StackMap stack: java.io.FileNotFoundException
8: pop
9: aconst_null
areturn
10: StackMap locals:
StackMap stack:
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;
3 13 2 name Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class java.io.FileNotFoundException
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
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
astore 2
start local 2 3: goto 6
end local 2 StackMap locals:
StackMap stack: java.io.FileNotFoundException
4: pop
5: aconst_null
areturn
start local 2 6: StackMap locals: sun.awt.shell.ShellFolder
StackMap stack:
aload 2
iconst_0
invokevirtual sun.awt.shell.ShellFolder.getIcon:(Z)Ljava/awt/Image;
astore 3
start local 3 7: aload 3
ifnull 9
8: 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
9: StackMap locals: java.awt.Image
StackMap stack:
aload 1
invokevirtual java.io.File.isDirectory:()Z
ifeq 10
ldc "FileView.directoryIcon"
goto 11
StackMap locals:
StackMap stack:
10: ldc "FileView.fileIcon"
StackMap locals:
StackMap stack: java.lang.String
11: invokestatic javax.swing.UIManager.getIcon:(Ljava/lang/Object;)Ljavax/swing/Icon;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/filechooser/FileSystemView;
0 12 1 f Ljava/io/File;
3 4 2 sf Lsun/awt/shell/ShellFolder;
6 12 2 sf Lsun/awt/shell/ShellFolder;
7 12 3 img Ljava/awt/Image;
Exception table:
from to target type
2 3 4 Class java.io.FileNotFoundException
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=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 1
instanceof sun.awt.shell.ShellFolder
ifne 6
2: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
astore 1
3: goto 6
StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.List
StackMap stack: java.io.FileNotFoundException
4: pop
5: iconst_0
anewarray java.io.File
areturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast sun.awt.shell.ShellFolder
iload 2
ifeq 7
iconst_0
goto 8
StackMap locals:
StackMap stack: sun.awt.shell.ShellFolder
7: iconst_1
StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.List
StackMap stack: sun.awt.shell.ShellFolder int
8: invokevirtual sun.awt.shell.ShellFolder.listFiles:(Z)[Ljava/io/File;
astore 4
start local 4 9: aload 4
ifnonnull 11
10: iconst_0
anewarray java.io.File
areturn
11: StackMap locals: java.io.File[]
StackMap stack:
aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 27
StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.List java.io.File[] top int int java.io.File[]
StackMap stack:
12: aload 8
iload 6
aaload
astore 5
start local 5 13: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.isInterrupted:()Z
ifeq 15
14: goto 28
15: StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.List java.io.File[] java.io.File int int java.io.File[]
StackMap stack:
aload 5
instanceof sun.awt.shell.ShellFolder
ifne 24
16: aload 0
aload 5
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 18
17: aload 0
aload 5
invokevirtual javax.swing.filechooser.FileSystemView.createFileSystemRoot:(Ljava/io/File;)Ljava/io/File;
astore 5
18: StackMap locals:
StackMap stack:
aload 5
invokestatic sun.awt.shell.ShellFolder.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
astore 5
19: goto 24
StackMap locals:
StackMap stack: java.io.FileNotFoundException
20: pop
21: goto 26
22: StackMap locals:
StackMap stack: java.lang.InternalError
pop
23: goto 26
24: StackMap locals:
StackMap stack:
iload 2
ifeq 25
aload 0
aload 5
invokevirtual javax.swing.filechooser.FileSystemView.isHiddenFile:(Ljava/io/File;)Z
ifne 26
25: StackMap locals:
StackMap stack:
aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 26: StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.List java.io.File[] top int int java.io.File[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
27: iload 6
iload 7
if_icmplt 12
28: StackMap locals: javax.swing.filechooser.FileSystemView java.io.File int java.util.List java.io.File[]
StackMap stack:
aload 3
aload 3
invokeinterface java.util.List.size:()I
anewarray java.io.File
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.io.File[]
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljavax/swing/filechooser/FileSystemView;
0 29 1 dir Ljava/io/File;
0 29 2 useFileHiding Z
1 29 3 files Ljava/util/List<Ljava/io/File;>;
9 29 4 names [Ljava/io/File;
13 26 5 f Ljava/io/File;
Exception table:
from to target type
2 3 4 Class java.io.FileNotFoundException
18 19 20 Class java.io.FileNotFoundException
18 19 22 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 1
aload 1
invokevirtual java.io.File.exists:()Z
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
astore 2
start local 2 3: goto 6
end local 2 StackMap locals:
StackMap stack: java.io.FileNotFoundException
4: pop
5: aconst_null
areturn
start local 2 6: StackMap locals: sun.awt.shell.ShellFolder
StackMap stack:
aload 2
invokevirtual sun.awt.shell.ShellFolder.getParentFile:()Ljava/io/File;
astore 3
start local 3 7: aload 3
ifnonnull 9
8: aconst_null
areturn
9: StackMap locals: java.io.File
StackMap stack:
aload 0
aload 3
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystem:(Ljava/io/File;)Z
ifeq 16
10: aload 3
astore 4
start local 4 11: aload 4
invokevirtual java.io.File.exists:()Z
ifne 15
12: aload 3
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 5
start local 5 13: aload 5
ifnull 14
aload 0
aload 5
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystem:(Ljava/io/File;)Z
ifne 15
14: StackMap locals: 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 15: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 16: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/filechooser/FileSystemView;
0 17 1 dir Ljava/io/File;
3 4 2 sf Lsun/awt/shell/ShellFolder;
6 17 2 sf Lsun/awt/shell/ShellFolder;
7 17 3 psf Ljava/io/File;
11 16 4 f Ljava/io/File;
13 15 5 ppsf Ljava/io/File;
Exception table:
from to target type
2 3 4 Class java.io.FileNotFoundException
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 2
aload 1
instanceof javax.swing.filechooser.FileSystemView$FileSystemRoot
ifne 2
aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 2
1: aload 0
aload 1
invokevirtual javax.swing.filechooser.FileSystemView.createFileSystemRoot:(Ljava/io/File;)Ljava/io/File;
astore 1
2: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.awt.shell.ShellFolder.getShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.InternalError
astore 2
start local 2 5: 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
6: aload 2
invokevirtual java.lang.InternalError.printStackTrace:()V
7: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/filechooser/FileSystemView;
0 8 1 f Ljava/io/File;
5 8 2 e Ljava/lang/InternalError;
Exception table:
from to target type
2 3 4 Class java.lang.InternalError
Exceptions:
throws java.io.FileNotFoundException
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