class sun.awt.shell.ShellFolderManager
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.shell.ShellFolderManager
super_class: java.lang.Object
{
private static final java.lang.String COLUMN_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "FileChooser.fileNameHeaderText"
private static final java.lang.String COLUMN_SIZE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "FileChooser.fileSizeHeaderText"
private static final java.lang.String COLUMN_DATE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "FileChooser.fileDateHeaderText"
private java.util.Comparator fileComparator;
descriptor: Ljava/util/Comparator;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new sun.awt.shell.ShellFolderManager$1
dup
aload 0
invokespecial sun.awt.shell.ShellFolderManager$1.<init>:(Lsun/awt/shell/ShellFolderManager;)V
putfield sun.awt.shell.ShellFolderManager.fileComparator:Ljava/util/Comparator;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/shell/ShellFolderManager;
public sun.awt.shell.ShellFolder createShellFolder(java.io.File);
descriptor: (Ljava/io/File;)Lsun/awt/shell/ShellFolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new sun.awt.shell.DefaultShellFolder
dup
aconst_null
aload 1
invokespecial sun.awt.shell.DefaultShellFolder.<init>:(Lsun/awt/shell/ShellFolder;Ljava/io/File;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/shell/ShellFolderManager;
0 1 1 file Ljava/io/File;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
file
public java.lang.Object get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "fileChooserDefaultFolder"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
1: new java.io.File
dup
ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
aload 2
invokevirtual sun.awt.shell.ShellFolderManager.createShellFolder:(Ljava/io/File;)Lsun/awt/shell/ShellFolder;
3: areturn
4: StackMap locals: sun.awt.shell.ShellFolderManager java.lang.String java.io.File
StackMap stack: java.io.FileNotFoundException
pop
5: aload 2
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 1
ldc "roots"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: invokestatic java.io.File.listRoots:()[Ljava/io/File;
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc "fileChooserComboBoxFolders"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 0
ldc "roots"
invokevirtual sun.awt.shell.ShellFolderManager.get:(Ljava/lang/String;)Ljava/lang/Object;
areturn
10: StackMap locals:
StackMap stack:
aload 1
ldc "fileChooserShortcutPanelFolders"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: iconst_1
anewarray java.io.File
dup
iconst_0
aload 0
ldc "fileChooserDefaultFolder"
invokevirtual sun.awt.shell.ShellFolderManager.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.io.File
aastore
areturn
12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/shell/ShellFolderManager;
0 13 1 key Ljava/lang/String;
2 6 2 homeDir Ljava/io/File;
Exception table:
from to target type
2 3 4 Class java.io.FileNotFoundException
MethodParameters:
Name Flags
key
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: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/shell/ShellFolderManager;
0 1 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
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
instanceof sun.awt.shell.ShellFolder
ifeq 2
aload 1
checkcast sun.awt.shell.ShellFolder
invokevirtual sun.awt.shell.ShellFolder.isFileSystem:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
ifnonnull 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/shell/ShellFolderManager;
0 4 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
public void sortFiles(java.util.List);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.awt.shell.ShellFolderManager.fileComparator:Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/shell/ShellFolderManager;
0 2 1 files Ljava/util/List;
MethodParameters:
Name Flags
files
public sun.awt.shell.ShellFolderColumnInfo[] getFolderColumns(java.io.File);
descriptor: (Ljava/io/File;)[Lsun/awt/shell/ShellFolderColumnInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
instanceof sun.awt.shell.ShellFolder
ifeq 3
2: aload 1
checkcast sun.awt.shell.ShellFolder
invokevirtual sun.awt.shell.ShellFolder.getFolderColumns:()[Lsun/awt/shell/ShellFolderColumnInfo;
astore 2
3: StackMap locals: sun.awt.shell.ShellFolderColumnInfo[]
StackMap stack:
aload 2
ifnonnull 18
4: iconst_3
anewarray sun.awt.shell.ShellFolderColumnInfo
dup
iconst_0
5: new sun.awt.shell.ShellFolderColumnInfo
dup
ldc "FileChooser.fileNameHeaderText"
sipush 150
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
6: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
aconst_null
7: aload 0
getfield sun.awt.shell.ShellFolderManager.fileComparator:Ljava/util/Comparator;
8: invokespecial sun.awt.shell.ShellFolderColumnInfo.<init>:(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjavax/swing/SortOrder;Ljava/util/Comparator;)V
aastore
dup
iconst_1
9: new sun.awt.shell.ShellFolderColumnInfo
dup
ldc "FileChooser.fileSizeHeaderText"
bipush 75
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
10: iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
aconst_null
11: invokestatic sun.awt.shell.ShellFolderManager$ComparableComparator.getInstance:()Ljava/util/Comparator;
iconst_1
12: invokespecial sun.awt.shell.ShellFolderColumnInfo.<init>:(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjavax/swing/SortOrder;Ljava/util/Comparator;Z)V
aastore
dup
iconst_2
13: new sun.awt.shell.ShellFolderColumnInfo
dup
ldc "FileChooser.fileDateHeaderText"
sipush 130
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
14: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
aconst_null
15: invokestatic sun.awt.shell.ShellFolderManager$ComparableComparator.getInstance:()Ljava/util/Comparator;
iconst_1
16: invokespecial sun.awt.shell.ShellFolderColumnInfo.<init>:(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjavax/swing/SortOrder;Ljava/util/Comparator;Z)V
aastore
17: astore 2
18: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/awt/shell/ShellFolderManager;
0 19 1 dir Ljava/io/File;
1 19 2 columns [Lsun/awt/shell/ShellFolderColumnInfo;
MethodParameters:
Name Flags
dir
public java.lang.Object getFolderColumnValue(java.io.File, int);
descriptor: (Ljava/io/File;I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof sun.awt.shell.ShellFolder
ifeq 4
1: aload 1
checkcast sun.awt.shell.ShellFolder
iload 2
invokevirtual sun.awt.shell.ShellFolder.getFolderColumnValue:(I)Ljava/lang/Object;
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 3
areturn
end local 3 4: StackMap locals:
StackMap stack:
aload 1
ifnull 5
aload 1
invokevirtual java.io.File.exists:()Z
ifne 6
5: StackMap locals:
StackMap stack:
aconst_null
areturn
6: StackMap locals:
StackMap stack:
iload 2
tableswitch { // 0 - 2
0: 7
1: 8
2: 11
default: 17
}
7: StackMap locals:
StackMap stack:
aload 1
areturn
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.isDirectory:()Z
ifeq 9
aconst_null
goto 10
StackMap locals:
StackMap stack:
9: new java.lang.Long
dup
aload 1
invokevirtual java.io.File.length:()J
invokespecial java.lang.Long.<init>:(J)V
StackMap locals:
StackMap stack: java.lang.Long
10: areturn
11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.awt.shell.ShellFolderManager.isFileSystemRoot:(Ljava/io/File;)Z
ifeq 13
12: aconst_null
areturn
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.lastModified:()J
lstore 3
start local 3 14: lload 3
lconst_0
lcmp
ifne 15
aconst_null
goto 16
StackMap locals: long
StackMap stack:
15: new java.util.Date
dup
lload 3
invokespecial java.util.Date.<init>:(J)V
StackMap locals:
StackMap stack: java.util.Date
16: areturn
end local 3 17: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/awt/shell/ShellFolderManager;
0 18 1 file Ljava/io/File;
0 18 2 column I
2 4 3 value Ljava/lang/Object;
14 17 3 time J
MethodParameters:
Name Flags
file
column
}
SourceFile: "ShellFolderManager.java"
NestMembers:
sun.awt.shell.ShellFolderManager$1 sun.awt.shell.ShellFolderManager$ComparableComparator
InnerClasses:
sun.awt.shell.ShellFolderManager$1
private ComparableComparator = sun.awt.shell.ShellFolderManager$ComparableComparator of sun.awt.shell.ShellFolderManager