class com.apple.laf.AquaFileChooserUI$DnDHandler extends java.awt.dnd.DropTargetAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.apple.laf.AquaFileChooserUI$DnDHandler
super_class: java.awt.dnd.DropTargetAdapter
{
final com.apple.laf.AquaFileChooserUI this$0;
descriptor: Lcom/apple/laf/AquaFileChooserUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.apple.laf.AquaFileChooserUI);
descriptor: (Lcom/apple/laf/AquaFileChooserUI;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.apple.laf.AquaFileChooserUI$DnDHandler.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0
invokespecial java.awt.dnd.DropTargetAdapter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaFileChooserUI$DnDHandler;
MethodParameters:
Name Flags
this$0 final
public void dragEnter(java.awt.dnd.DropTargetDragEvent);
descriptor: (Ljava/awt/dnd/DropTargetDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaFileChooserUI$DnDHandler.tryToAcceptDrag:(Ljava/awt/dnd/DropTargetDragEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaFileChooserUI$DnDHandler;
0 2 1 dtde Ljava/awt/dnd/DropTargetDragEvent;
MethodParameters:
Name Flags
dtde final
public void dragOver(java.awt.dnd.DropTargetDragEvent);
descriptor: (Ljava/awt/dnd/DropTargetDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaFileChooserUI$DnDHandler.tryToAcceptDrag:(Ljava/awt/dnd/DropTargetDragEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaFileChooserUI$DnDHandler;
0 2 1 dtde Ljava/awt/dnd/DropTargetDragEvent;
MethodParameters:
Name Flags
dtde final
public void dropActionChanged(java.awt.dnd.DropTargetDragEvent);
descriptor: (Ljava/awt/dnd/DropTargetDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaFileChooserUI$DnDHandler.tryToAcceptDrag:(Ljava/awt/dnd/DropTargetDragEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaFileChooserUI$DnDHandler;
0 2 1 dtde Ljava/awt/dnd/DropTargetDragEvent;
MethodParameters:
Name Flags
dtde final
public void drop(java.awt.dnd.DropTargetDropEvent);
descriptor: (Ljava/awt/dnd/DropTargetDropEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.awt.datatransfer.DataFlavor.javaFileListFlavor:Ljava/awt/datatransfer/DataFlavor;
invokevirtual java.awt.dnd.DropTargetDropEvent.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 3
1: aload 0
aload 1
invokevirtual com.apple.laf.AquaFileChooserUI$DnDHandler.handleFileDropEvent:(Ljava/awt/dnd/DropTargetDropEvent;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
getstatic java.awt.datatransfer.DataFlavor.stringFlavor:Ljava/awt/datatransfer/DataFlavor;
invokevirtual java.awt.dnd.DropTargetDropEvent.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 6
4: aload 0
aload 1
invokevirtual com.apple.laf.AquaFileChooserUI$DnDHandler.handleStringDropEvent:(Ljava/awt/dnd/DropTargetDropEvent;)V
5: return
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/AquaFileChooserUI$DnDHandler;
0 7 1 dtde Ljava/awt/dnd/DropTargetDropEvent;
MethodParameters:
Name Flags
dtde final
protected void tryToAcceptDrag(java.awt.dnd.DropTargetDragEvent);
descriptor: (Ljava/awt/dnd/DropTargetDragEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.awt.datatransfer.DataFlavor.javaFileListFlavor:Ljava/awt/datatransfer/DataFlavor;
invokevirtual java.awt.dnd.DropTargetDragEvent.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ifne 1
aload 1
getstatic java.awt.datatransfer.DataFlavor.stringFlavor:Ljava/awt/datatransfer/DataFlavor;
invokevirtual java.awt.dnd.DropTargetDragEvent.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokevirtual java.awt.dnd.DropTargetDragEvent.acceptDrag:(I)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.dnd.DropTargetDragEvent.rejectDrag:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaFileChooserUI$DnDHandler;
0 5 1 dtde Ljava/awt/dnd/DropTargetDragEvent;
MethodParameters:
Name Flags
dtde final
protected void handleFileDropEvent(java.awt.dnd.DropTargetDropEvent);
descriptor: (Ljava/awt/dnd/DropTargetDropEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 1
invokevirtual java.awt.dnd.DropTargetDropEvent.getDropAction:()I
invokevirtual java.awt.dnd.DropTargetDropEvent.acceptDrop:(I)V
1: aload 1
invokevirtual java.awt.dnd.DropTargetDropEvent.getTransferable:()Ljava/awt/datatransfer/Transferable;
astore 2
start local 2 2: aload 2
getstatic java.awt.datatransfer.DataFlavor.javaFileListFlavor:Ljava/awt/datatransfer/DataFlavor;
invokeinterface java.awt.datatransfer.Transferable.getTransferData:(Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 3: aload 0
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[]
invokevirtual com.apple.laf.AquaFileChooserUI$DnDHandler.dropFiles:([Ljava/io/File;)V
4: aload 1
iconst_1
invokevirtual java.awt.dnd.DropTargetDropEvent.dropComplete:(Z)V
end local 3 5: goto 8
StackMap locals: com.apple.laf.AquaFileChooserUI$DnDHandler java.awt.dnd.DropTargetDropEvent java.awt.datatransfer.Transferable
StackMap stack: java.lang.Exception
6: pop
7: aload 1
iconst_0
invokevirtual java.awt.dnd.DropTargetDropEvent.dropComplete:(Z)V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/apple/laf/AquaFileChooserUI$DnDHandler;
0 9 1 dtde Ljava/awt/dnd/DropTargetDropEvent;
2 9 2 transferable Ljava/awt/datatransfer/Transferable;
3 5 3 fileList Ljava/util/List<Ljava/io/File;>;
Exception table:
from to target type
2 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
dtde final
protected void handleStringDropEvent(java.awt.dnd.DropTargetDropEvent);
descriptor: (Ljava/awt/dnd/DropTargetDropEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 1
invokevirtual java.awt.dnd.DropTargetDropEvent.getDropAction:()I
invokevirtual java.awt.dnd.DropTargetDropEvent.acceptDrop:(I)V
1: aload 1
invokevirtual java.awt.dnd.DropTargetDropEvent.getTransferable:()Ljava/awt/datatransfer/Transferable;
astore 2
start local 2 2: aload 2
getstatic java.awt.datatransfer.DataFlavor.stringFlavor:Ljava/awt/datatransfer/DataFlavor;
invokeinterface java.awt.datatransfer.Transferable.getTransferData:(Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: goto 7
end local 3 StackMap locals: com.apple.laf.AquaFileChooserUI$DnDHandler java.awt.dnd.DropTargetDropEvent java.awt.datatransfer.Transferable
StackMap stack: java.lang.Exception
4: pop
5: aload 1
iconst_0
invokevirtual java.awt.dnd.DropTargetDropEvent.dropComplete:(Z)V
6: return
start local 3 7: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 3
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 8: aload 4
invokevirtual java.io.File.exists:()Z
ifeq 13
9: aload 0
iconst_1
anewarray java.io.File
dup
iconst_0
aload 4
aastore
invokevirtual com.apple.laf.AquaFileChooserUI$DnDHandler.dropFiles:([Ljava/io/File;)V
10: aload 1
iconst_1
invokevirtual java.awt.dnd.DropTargetDropEvent.dropComplete:(Z)V
11: return
end local 4 12: StackMap locals:
StackMap stack: java.lang.Exception
pop
13: StackMap locals:
StackMap stack:
new java.io.File
dup
new java.net.URI
dup
aload 3
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
astore 4
start local 4 14: aload 4
invokevirtual java.io.File.exists:()Z
ifeq 19
15: aload 0
iconst_1
anewarray java.io.File
dup
iconst_0
aload 4
aastore
invokevirtual com.apple.laf.AquaFileChooserUI$DnDHandler.dropFiles:([Ljava/io/File;)V
16: aload 1
iconst_1
invokevirtual java.awt.dnd.DropTargetDropEvent.dropComplete:(Z)V
17: return
end local 4 18: StackMap locals:
StackMap stack: java.lang.Exception
pop
19: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual java.awt.dnd.DropTargetDropEvent.dropComplete:(Z)V
20: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/apple/laf/AquaFileChooserUI$DnDHandler;
0 21 1 dtde Ljava/awt/dnd/DropTargetDropEvent;
2 21 2 transferable Ljava/awt/datatransfer/Transferable;
3 4 3 stringData Ljava/lang/String;
7 21 3 stringData Ljava/lang/String;
8 12 4 fileAsPath Ljava/io/File;
14 18 4 fileAsURI Ljava/io/File;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
7 11 12 Class java.lang.Exception
13 17 18 Class java.lang.Exception
MethodParameters:
Name Flags
dtde final
protected void dropFiles(java.io.File[]);
descriptor: ([Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaFileChooserUI$DnDHandler.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
astore 2
start local 2 1: aload 1
arraylength
iconst_1
if_icmpne 7
2: aload 1
iconst_0
aaload
invokevirtual java.io.File.isDirectory:()Z
ifeq 5
3: aload 2
aload 1
iconst_0
aaload
invokevirtual javax.swing.JFileChooser.setCurrentDirectory:(Ljava/io/File;)V
4: return
5: StackMap locals: javax.swing.JFileChooser
StackMap stack:
aload 0
getfield com.apple.laf.AquaFileChooserUI$DnDHandler.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 2
aload 1
iconst_0
aaload
invokevirtual com.apple.laf.AquaFileChooserUI.isSelectableForMode:(Ljavax/swing/JFileChooser;Ljava/io/File;)Z
ifne 7
6: return
7: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual javax.swing.JFileChooser.setSelectedFiles:([Ljava/io/File;)V
8: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: com.apple.laf.AquaFileChooserUI$DnDHandler java.io.File[] javax.swing.JFileChooser top int int java.io.File[]
StackMap stack:
9: aload 6
iload 4
aaload
astore 3
start local 3 10: aload 2
aload 3
invokevirtual javax.swing.JFileChooser.ensureFileIsVisible:(Ljava/io/File;)V
end local 3 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 9
13: aload 0
getfield com.apple.laf.AquaFileChooserUI$DnDHandler.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getModel:()Lcom/apple/laf/AquaFileSystemModel;
new com.apple.laf.AquaFileChooserUI$DnDHandler$1
dup
aload 0
aload 1
invokespecial com.apple.laf.AquaFileChooserUI$DnDHandler$1.<init>:(Lcom/apple/laf/AquaFileChooserUI$DnDHandler;[Ljava/io/File;)V
invokevirtual com.apple.laf.AquaFileSystemModel.runWhenDone:(Ljava/lang/Runnable;)V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/apple/laf/AquaFileChooserUI$DnDHandler;
0 15 1 files [Ljava/io/File;
1 15 2 jfc Ljavax/swing/JFileChooser;
10 11 3 file Ljava/io/File;
MethodParameters:
Name Flags
files final
static com.apple.laf.AquaFileChooserUI access$0(com.apple.laf.AquaFileChooserUI$DnDHandler);
descriptor: (Lcom/apple/laf/AquaFileChooserUI$DnDHandler;)Lcom/apple/laf/AquaFileChooserUI;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.apple.laf.AquaFileChooserUI$DnDHandler.this$0:Lcom/apple/laf/AquaFileChooserUI;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AquaFileChooserUI.java"
NestHost: com.apple.laf.AquaFileChooserUI
InnerClasses:
DnDHandler = com.apple.laf.AquaFileChooserUI$DnDHandler of com.apple.laf.AquaFileChooserUI
com.apple.laf.AquaFileChooserUI$DnDHandler$1