class sun.awt.shell.ShellFolder$2 implements java.util.Comparator<java.io.File>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.shell.ShellFolder$2
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lsun/awt/shell/ShellFolder$2;
public int compare(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 1
instanceof sun.awt.shell.ShellFolder
ifeq 6
3: aload 1
checkcast sun.awt.shell.ShellFolder
astore 3
4: aload 3
invokevirtual sun.awt.shell.ShellFolder.isFileSystem:()Z
ifeq 6
5: aconst_null
astore 3
6: StackMap locals: sun.awt.shell.ShellFolder sun.awt.shell.ShellFolder
StackMap stack:
aload 2
instanceof sun.awt.shell.ShellFolder
ifeq 10
7: aload 2
checkcast sun.awt.shell.ShellFolder
astore 4
8: aload 4
invokevirtual sun.awt.shell.ShellFolder.isFileSystem:()Z
ifeq 10
9: aconst_null
astore 4
10: StackMap locals:
StackMap stack:
aload 3
ifnull 12
aload 4
ifnull 12
11: aload 3
aload 4
invokevirtual sun.awt.shell.ShellFolder.compareTo:(Ljava/io/File;)I
ireturn
12: StackMap locals:
StackMap stack:
aload 3
ifnull 14
13: iconst_m1
ireturn
14: StackMap locals:
StackMap stack:
aload 4
ifnull 16
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 5
start local 5 17: aload 2
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 6
start local 6 18: aload 5
aload 6
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
istore 7
start local 7 19: iload 7
ifeq 21
20: iload 7
ireturn
21: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 5
aload 6
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/awt/shell/ShellFolder$2;
0 22 1 f1 Ljava/io/File;
0 22 2 f2 Ljava/io/File;
1 22 3 sf1 Lsun/awt/shell/ShellFolder;
2 22 4 sf2 Lsun/awt/shell/ShellFolder;
17 22 5 name1 Ljava/lang/String;
18 22 6 name2 Ljava/lang/String;
19 22 7 diff I
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.awt.shell.ShellFolder$2.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: "ShellFolder.java"
EnclosingMethod: sun.awt.shell.ShellFolder
NestHost: sun.awt.shell.ShellFolder
InnerClasses:
sun.awt.shell.ShellFolder$2