public final class javax.swing.TransferHandler$TransferSupport
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.swing.TransferHandler$TransferSupport
super_class: java.lang.Object
{
private boolean isDrop;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.awt.Component component;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private boolean showDropLocationIsSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean showDropLocation;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int dropAction;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.Object source;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private javax.swing.TransferHandler$DropLocation dropLocation;
descriptor: Ljavax/swing/TransferHandler$DropLocation;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljavax/swing/TransferHandler;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic javax.swing.TransferHandler$TransferSupport.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.awt.Component, java.awt.dnd.DropTargetEvent);
descriptor: (Ljava/awt/Component;Ljava/awt/dnd/DropTargetEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield javax.swing.TransferHandler$TransferSupport.dropAction:I
2: aload 0
iconst_1
putfield javax.swing.TransferHandler$TransferSupport.isDrop:Z
3: aload 0
aload 1
aload 2
invokevirtual javax.swing.TransferHandler$TransferSupport.setDNDVariables:(Ljava/awt/Component;Ljava/awt/dnd/DropTargetEvent;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/TransferHandler$TransferSupport;
0 5 1 component Ljava/awt/Component;
0 5 2 event Ljava/awt/dnd/DropTargetEvent;
MethodParameters:
Name Flags
component
event
public void <init>(java.awt.Component, java.awt.datatransfer.Transferable);
descriptor: (Ljava/awt/Component;Ljava/awt/datatransfer/Transferable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield javax.swing.TransferHandler$TransferSupport.dropAction:I
2: aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "component is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: javax.swing.TransferHandler$TransferSupport java.awt.Component java.awt.datatransfer.Transferable
StackMap stack:
aload 2
ifnonnull 6
5: new java.lang.NullPointerException
dup
ldc "transferable is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.swing.TransferHandler$TransferSupport.isDrop:Z
7: aload 0
aload 1
putfield javax.swing.TransferHandler$TransferSupport.component:Ljava/awt/Component;
8: aload 0
aload 2
putfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/TransferHandler$TransferSupport;
0 10 1 component Ljava/awt/Component;
0 10 2 transferable Ljava/awt/datatransfer/Transferable;
MethodParameters:
Name Flags
component
transferable
private void setDNDVariables(java.awt.Component, java.awt.dnd.DropTargetEvent);
descriptor: (Ljava/awt/Component;Ljava/awt/dnd/DropTargetEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic javax.swing.TransferHandler$TransferSupport.$assertionsDisabled:Z
ifne 1
aload 0
getfield javax.swing.TransferHandler$TransferSupport.isDrop:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.TransferHandler$TransferSupport.component:Ljava/awt/Component;
2: aload 0
aload 2
putfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
3: aload 0
aconst_null
putfield javax.swing.TransferHandler$TransferSupport.dropLocation:Ljavax/swing/TransferHandler$DropLocation;
4: aload 0
iconst_m1
putfield javax.swing.TransferHandler$TransferSupport.dropAction:I
5: aload 0
iconst_0
putfield javax.swing.TransferHandler$TransferSupport.showDropLocationIsSet:Z
6: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
ifnonnull 8
7: return
8: StackMap locals:
StackMap stack:
getstatic javax.swing.TransferHandler$TransferSupport.$assertionsDisabled:Z
ifne 10
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
instanceof java.awt.dnd.DropTargetDragEvent
ifne 10
9: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
instanceof java.awt.dnd.DropTargetDropEvent
ifne 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
instanceof java.awt.dnd.DropTargetDragEvent
ifeq 12
11: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDragEvent
invokevirtual java.awt.dnd.DropTargetDragEvent.getLocation:()Ljava/awt/Point;
goto 13
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDropEvent
invokevirtual java.awt.dnd.DropTargetDropEvent.getLocation:()Ljava/awt/Point;
13: StackMap locals:
StackMap stack: java.awt.Point
astore 3
start local 3 14: aload 1
ldc "javax.swing.text.JTextComponent"
invokestatic sun.awt.SunToolkit.isInstanceOf:(Ljava/lang/Object;Ljava/lang/String;)Z
ifeq 19
15: aload 0
invokestatic sun.swing.SwingAccessor.getJTextComponentAccessor:()Lsun/swing/SwingAccessor$JTextComponentAccessor;
16: aload 1
checkcast javax.swing.text.JTextComponent
aload 3
invokeinterface sun.swing.SwingAccessor$JTextComponentAccessor.dropLocationForPoint:(Ljavax/swing/text/JTextComponent;Ljava/awt/Point;)Ljavax/swing/TransferHandler$DropLocation;
17: putfield javax.swing.TransferHandler$TransferSupport.dropLocation:Ljavax/swing/TransferHandler$DropLocation;
18: goto 21
StackMap locals: java.awt.Point
StackMap stack:
19: aload 1
instanceof javax.swing.JComponent
ifeq 21
20: aload 0
aload 1
checkcast javax.swing.JComponent
aload 3
invokevirtual javax.swing.JComponent.dropLocationForPoint:(Ljava/awt/Point;)Ljavax/swing/TransferHandler$DropLocation;
putfield javax.swing.TransferHandler$TransferSupport.dropLocation:Ljavax/swing/TransferHandler$DropLocation;
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/TransferHandler$TransferSupport;
0 22 1 component Ljava/awt/Component;
0 22 2 event Ljava/awt/dnd/DropTargetEvent;
14 22 3 p Ljava/awt/Point;
MethodParameters:
Name Flags
component
event
public boolean isDrop();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.TransferHandler$TransferSupport.isDrop:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/TransferHandler$TransferSupport;
public java.awt.Component getComponent();
descriptor: ()Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.TransferHandler$TransferSupport.component:Ljava/awt/Component;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/TransferHandler$TransferSupport;
private void assureIsDrop();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.TransferHandler$TransferSupport.isDrop:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Not a drop"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/TransferHandler$TransferSupport;
public javax.swing.TransferHandler$DropLocation getDropLocation();
descriptor: ()Ljavax/swing/TransferHandler$DropLocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.TransferHandler$TransferSupport.assureIsDrop:()V
1: aload 0
getfield javax.swing.TransferHandler$TransferSupport.dropLocation:Ljavax/swing/TransferHandler$DropLocation;
ifnonnull 7
2: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
instanceof java.awt.dnd.DropTargetDragEvent
ifeq 4
3: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDragEvent
invokevirtual java.awt.dnd.DropTargetDragEvent.getLocation:()Ljava/awt/Point;
goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDropEvent
invokevirtual java.awt.dnd.DropTargetDropEvent.getLocation:()Ljava/awt/Point;
5: StackMap locals:
StackMap stack: java.awt.Point
astore 1
start local 1 6: aload 0
new javax.swing.TransferHandler$DropLocation
dup
aload 1
invokespecial javax.swing.TransferHandler$DropLocation.<init>:(Ljava/awt/Point;)V
putfield javax.swing.TransferHandler$TransferSupport.dropLocation:Ljavax/swing/TransferHandler$DropLocation;
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.dropLocation:Ljavax/swing/TransferHandler$DropLocation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/TransferHandler$TransferSupport;
6 7 1 p Ljava/awt/Point;
public void setShowDropLocation(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.TransferHandler$TransferSupport.assureIsDrop:()V
1: aload 0
iload 1
putfield javax.swing.TransferHandler$TransferSupport.showDropLocation:Z
2: aload 0
iconst_1
putfield javax.swing.TransferHandler$TransferSupport.showDropLocationIsSet:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/TransferHandler$TransferSupport;
0 4 1 showDropLocation Z
MethodParameters:
Name Flags
showDropLocation
public void setDropAction(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.TransferHandler$TransferSupport.assureIsDrop:()V
1: iload 1
aload 0
invokevirtual javax.swing.TransferHandler$TransferSupport.getSourceDropActions:()I
iand
istore 2
start local 2 2: iload 2
iconst_1
if_icmpeq 4
iload 2
iconst_2
if_icmpeq 4
iload 2
ldc 1073741824
if_icmpeq 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unsupported drop action: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: int
StackMap stack:
aload 0
iload 1
putfield javax.swing.TransferHandler$TransferSupport.dropAction:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/TransferHandler$TransferSupport;
0 6 1 dropAction I
2 6 2 action I
MethodParameters:
Name Flags
dropAction
public int getDropAction();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.TransferHandler$TransferSupport.dropAction:I
iconst_m1
if_icmpne 1
aload 0
invokevirtual javax.swing.TransferHandler$TransferSupport.getUserDropAction:()I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.swing.TransferHandler$TransferSupport.dropAction:I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/TransferHandler$TransferSupport;
public int getUserDropAction();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.TransferHandler$TransferSupport.assureIsDrop:()V
1: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
instanceof java.awt.dnd.DropTargetDragEvent
ifeq 3
2: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDragEvent
invokevirtual java.awt.dnd.DropTargetDragEvent.getDropAction:()I
goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDropEvent
invokevirtual java.awt.dnd.DropTargetDropEvent.getDropAction:()I
4: StackMap locals:
StackMap stack: int
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/TransferHandler$TransferSupport;
public int getSourceDropActions();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.TransferHandler$TransferSupport.assureIsDrop:()V
1: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
instanceof java.awt.dnd.DropTargetDragEvent
ifeq 3
2: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDragEvent
invokevirtual java.awt.dnd.DropTargetDragEvent.getSourceActions:()I
goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDropEvent
invokevirtual java.awt.dnd.DropTargetDropEvent.getSourceActions:()I
4: StackMap locals:
StackMap stack: int
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/TransferHandler$TransferSupport;
public java.awt.datatransfer.DataFlavor[] getDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.TransferHandler$TransferSupport.isDrop:Z
ifeq 4
1: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
instanceof java.awt.dnd.DropTargetDragEvent
ifeq 3
2: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDragEvent
invokevirtual java.awt.dnd.DropTargetDragEvent.getCurrentDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDropEvent
invokevirtual java.awt.dnd.DropTargetDropEvent.getCurrentDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.datatransfer.Transferable
invokeinterface java.awt.datatransfer.Transferable.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/TransferHandler$TransferSupport;
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.TransferHandler$TransferSupport.isDrop:Z
ifeq 4
1: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
instanceof java.awt.dnd.DropTargetDragEvent
ifeq 3
2: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDragEvent
aload 1
invokevirtual java.awt.dnd.DropTargetDragEvent.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDropEvent
aload 1
invokevirtual java.awt.dnd.DropTargetDropEvent.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.datatransfer.Transferable
aload 1
invokeinterface java.awt.datatransfer.Transferable.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/TransferHandler$TransferSupport;
0 5 1 df Ljava/awt/datatransfer/DataFlavor;
MethodParameters:
Name Flags
df
public java.awt.datatransfer.Transferable getTransferable();
descriptor: ()Ljava/awt/datatransfer/Transferable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.TransferHandler$TransferSupport.isDrop:Z
ifeq 4
1: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
instanceof java.awt.dnd.DropTargetDragEvent
ifeq 3
2: aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDragEvent
invokevirtual java.awt.dnd.DropTargetDragEvent.getTransferable:()Ljava/awt/datatransfer/Transferable;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.dnd.DropTargetDropEvent
invokevirtual java.awt.dnd.DropTargetDropEvent.getTransferable:()Ljava/awt/datatransfer/Transferable;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$TransferSupport.source:Ljava/lang/Object;
checkcast java.awt.datatransfer.Transferable
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/TransferHandler$TransferSupport;
}
SourceFile: "TransferHandler.java"
NestHost: javax.swing.TransferHandler
InnerClasses:
public DropLocation = javax.swing.TransferHandler$DropLocation of javax.swing.TransferHandler
public final TransferSupport = javax.swing.TransferHandler$TransferSupport of javax.swing.TransferHandler
public abstract JTextComponentAccessor = sun.swing.SwingAccessor$JTextComponentAccessor of sun.swing.SwingAccessor