class sun.swing.FilePane$DirectoriesFirstComparatorWrapper implements java.util.Comparator<java.io.File>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.swing.FilePane$DirectoriesFirstComparatorWrapper
super_class: java.lang.Object
{
private java.util.Comparator comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0002) ACC_PRIVATE
private int column;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final sun.swing.FilePane this$0;
descriptor: Lsun/swing/FilePane;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.swing.FilePane, int, java.util.Comparator);
descriptor: (Lsun/swing/FilePane;ILjava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.this$0:Lsun/swing/FilePane;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 2
putfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.column:I
2: aload 0
aload 3
putfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.comparator:Ljava/util/Comparator;
3: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/swing/FilePane$DirectoriesFirstComparatorWrapper;
0 4 2 column I
0 4 3 comparator Ljava/util/Comparator;
MethodParameters:
Name Flags
this$0 final
column
comparator
public int compare(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 7
aload 2
ifnull 7
1: aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.this$0:Lsun/swing/FilePane;
invokevirtual sun.swing.FilePane.getFileChooser:()Ljavax/swing/JFileChooser;
aload 1
invokevirtual javax.swing.JFileChooser.isTraversable:(Ljava/io/File;)Z
istore 3
start local 3 2: aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.this$0:Lsun/swing/FilePane;
invokevirtual sun.swing.FilePane.getFileChooser:()Ljavax/swing/JFileChooser;
aload 2
invokevirtual javax.swing.JFileChooser.isTraversable:(Ljava/io/File;)Z
istore 4
start local 4 3: iload 3
ifeq 5
iload 4
ifne 5
4: iconst_m1
ireturn
5: StackMap locals: int int
StackMap stack:
iload 3
ifne 7
iload 4
ifeq 7
6: iconst_1
ireturn
end local 4 end local 3 7: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.this$0:Lsun/swing/FilePane;
getfield sun.swing.FilePane.detailsTableModel:Lsun/swing/FilePane$DetailsTableModel;
invokevirtual sun.swing.FilePane$DetailsTableModel.getColumns:()[Lsun/awt/shell/ShellFolderColumnInfo;
aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.column:I
aaload
invokevirtual sun.awt.shell.ShellFolderColumnInfo.isCompareByColumn:()Z
ifeq 12
8: aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.comparator:Ljava/util/Comparator;
9: aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.this$0:Lsun/swing/FilePane;
invokevirtual sun.swing.FilePane.getDetailsTableModel:()Lsun/swing/FilePane$DetailsTableModel;
aload 1
aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.column:I
invokevirtual sun.swing.FilePane$DetailsTableModel.getFileColumnValue:(Ljava/io/File;I)Ljava/lang/Object;
10: aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.this$0:Lsun/swing/FilePane;
invokevirtual sun.swing.FilePane.getDetailsTableModel:()Lsun/swing/FilePane$DetailsTableModel;
aload 2
aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.column:I
invokevirtual sun.swing.FilePane$DetailsTableModel.getFileColumnValue:(Ljava/io/File;I)Ljava/lang/Object;
11: invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.FilePane$DirectoriesFirstComparatorWrapper.comparator:Ljava/util/Comparator;
aload 1
aload 2
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/swing/FilePane$DirectoriesFirstComparatorWrapper;
0 13 1 f1 Ljava/io/File;
0 13 2 f2 Ljava/io/File;
2 7 3 traversable1 Z
3 7 4 traversable2 Z
MethodParameters:
Name Flags
f1
f2
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.io.File
aload 2
checkcast java.io.File
invokevirtual sun.swing.FilePane$DirectoriesFirstComparatorWrapper.compare:(Ljava/io/File;Ljava/io/File;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljava/io/File;>;
SourceFile: "FilePane.java"
NestHost: sun.swing.FilePane
InnerClasses:
DetailsTableModel = sun.swing.FilePane$DetailsTableModel of sun.swing.FilePane
private DirectoriesFirstComparatorWrapper = sun.swing.FilePane$DirectoriesFirstComparatorWrapper of sun.swing.FilePane