public class java.awt.dnd.DragSourceContext implements java.awt.dnd.DragSourceListener, java.awt.dnd.DragSourceMotionListener, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.dnd.DragSourceContext
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -115407898692194719
protected static final int DEFAULT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
protected static final int ENTER;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final int OVER;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final int CHANGED;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static java.awt.datatransfer.Transferable emptyTransferable;
descriptor: Ljava/awt/datatransfer/Transferable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final transient java.awt.dnd.peer.DragSourceContextPeer peer;
descriptor: Ljava/awt/dnd/peer/DragSourceContextPeer;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
private java.awt.dnd.DragGestureEvent trigger;
descriptor: Ljava/awt/dnd/DragGestureEvent;
flags: (0x0002) ACC_PRIVATE
private java.awt.Cursor cursor;
descriptor: Ljava/awt/Cursor;
flags: (0x0002) ACC_PRIVATE
private transient java.awt.datatransfer.Transferable transferable;
descriptor: Ljava/awt/datatransfer/Transferable;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.awt.dnd.DragSourceListener listener;
descriptor: Ljava/awt/dnd/DragSourceListener;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private boolean useCustomCursor;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int sourceActions;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic getPeer()Lsun/awt/AWTAccessor$DragSourceContextAccessor;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/awt/dnd/DragSourceContext;)Ljava/awt/dnd/peer/DragSourceContextPeer;
java/awt/dnd/DragSourceContext.lambda$0(Ljava/awt/dnd/DragSourceContext;)Ljava/awt/dnd/peer/DragSourceContextPeer; (6)
(Ljava/awt/dnd/DragSourceContext;)Ljava/awt/dnd/peer/DragSourceContextPeer;
invokestatic sun.awt.AWTAccessor.setDragSourceContextAccessor:(Lsun/awt/AWTAccessor$DragSourceContextAccessor;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.awt.dnd.DragGestureEvent, java.awt.Cursor, java.awt.Image, java.awt.Point, java.awt.datatransfer.Transferable, java.awt.dnd.DragSourceListener);
descriptor: (Ljava/awt/dnd/DragGestureEvent;Ljava/awt/Cursor;Ljava/awt/Image;Ljava/awt/Point;Ljava/awt/datatransfer/Transferable;Ljava/awt/dnd/DragSourceListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 7
start local 7 2: aload 7
instanceof sun.awt.ComponentFactory
ifne 4
3: new java.awt.AWTError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported toolkit: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.awt.AWTError.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.awt.dnd.DragSourceContext java.awt.dnd.DragGestureEvent java.awt.Cursor java.awt.Image java.awt.Point java.awt.datatransfer.Transferable java.awt.dnd.DragSourceListener java.awt.Toolkit
StackMap stack:
aload 7
checkcast sun.awt.ComponentFactory
5: aload 1
invokeinterface sun.awt.ComponentFactory.createDragSourceContextPeer:(Ljava/awt/dnd/DragGestureEvent;)Ljava/awt/dnd/peer/DragSourceContextPeer;
6: astore 8
start local 8 7: aload 8
ifnonnull 9
8: new java.lang.NullPointerException
dup
ldc "DragSourceContextPeer"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.awt.dnd.peer.DragSourceContextPeer
StackMap stack:
aload 1
ifnonnull 11
10: new java.lang.NullPointerException
dup
ldc "Trigger"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.dnd.DragGestureEvent.getDragSource:()Ljava/awt/dnd/DragSource;
ifnonnull 13
12: new java.lang.IllegalArgumentException
dup
ldc "DragSource"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
ifnonnull 15
14: new java.lang.IllegalArgumentException
dup
ldc "Component"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.dnd.DragGestureEvent.getSourceAsDragGestureRecognizer:()Ljava/awt/dnd/DragGestureRecognizer;
invokevirtual java.awt.dnd.DragGestureRecognizer.getSourceActions:()I
ifne 17
16: new java.lang.IllegalArgumentException
dup
ldc "source actions"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.dnd.DragGestureEvent.getDragAction:()I
ifne 19
18: new java.lang.IllegalArgumentException
dup
ldc "no drag action"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 5
ifnonnull 21
20: new java.lang.NullPointerException
dup
ldc "Transferable"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 3
ifnull 23
aload 4
ifnonnull 23
22: new java.lang.NullPointerException
dup
ldc "offset"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 0
aload 8
putfield java.awt.dnd.DragSourceContext.peer:Ljava/awt/dnd/peer/DragSourceContextPeer;
24: aload 0
aload 1
putfield java.awt.dnd.DragSourceContext.trigger:Ljava/awt/dnd/DragGestureEvent;
25: aload 0
aload 2
putfield java.awt.dnd.DragSourceContext.cursor:Ljava/awt/Cursor;
26: aload 0
aload 5
putfield java.awt.dnd.DragSourceContext.transferable:Ljava/awt/datatransfer/Transferable;
27: aload 0
aload 6
putfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
28: aload 0
29: aload 1
invokevirtual java.awt.dnd.DragGestureEvent.getSourceAsDragGestureRecognizer:()Ljava/awt/dnd/DragGestureRecognizer;
invokevirtual java.awt.dnd.DragGestureRecognizer.getSourceActions:()I
30: putfield java.awt.dnd.DragSourceContext.sourceActions:I
31: aload 0
aload 2
ifnull 32
iconst_1
goto 33
StackMap locals:
StackMap stack: java.awt.dnd.DragSourceContext
32: iconst_0
StackMap locals: java.awt.dnd.DragSourceContext java.awt.dnd.DragGestureEvent java.awt.Cursor java.awt.Image java.awt.Point java.awt.datatransfer.Transferable java.awt.dnd.DragSourceListener java.awt.Toolkit java.awt.dnd.peer.DragSourceContextPeer
StackMap stack: java.awt.dnd.DragSourceContext int
33: putfield java.awt.dnd.DragSourceContext.useCustomCursor:Z
34: aload 0
aload 1
invokevirtual java.awt.dnd.DragGestureEvent.getDragAction:()I
aload 0
invokevirtual java.awt.dnd.DragSourceContext.getSourceActions:()I
iconst_0
invokevirtual java.awt.dnd.DragSourceContext.updateCurrentCursor:(III)V
35: return
end local 8 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 36 0 this Ljava/awt/dnd/DragSourceContext;
0 36 1 trigger Ljava/awt/dnd/DragGestureEvent;
0 36 2 dragCursor Ljava/awt/Cursor;
0 36 3 dragImage Ljava/awt/Image;
0 36 4 offset Ljava/awt/Point;
0 36 5 t Ljava/awt/datatransfer/Transferable;
0 36 6 dsl Ljava/awt/dnd/DragSourceListener;
2 36 7 toolkit Ljava/awt/Toolkit;
7 36 8 dscp Ljava/awt/dnd/peer/DragSourceContextPeer;
MethodParameters:
Name Flags
trigger
dragCursor
dragImage
offset
t
dsl
public java.awt.dnd.DragSource getDragSource();
descriptor: ()Ljava/awt/dnd/DragSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.dnd.DragSourceContext.trigger:Ljava/awt/dnd/DragGestureEvent;
invokevirtual java.awt.dnd.DragGestureEvent.getDragSource:()Ljava/awt/dnd/DragSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/dnd/DragSourceContext;
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 java.awt.dnd.DragSourceContext.trigger:Ljava/awt/dnd/DragGestureEvent;
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/dnd/DragSourceContext;
public java.awt.dnd.DragGestureEvent getTrigger();
descriptor: ()Ljava/awt/dnd/DragGestureEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.dnd.DragSourceContext.trigger:Ljava/awt/dnd/DragGestureEvent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/dnd/DragSourceContext;
public int getSourceActions();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.dnd.DragSourceContext.sourceActions:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/dnd/DragSourceContext;
public synchronized void setCursor(java.awt.Cursor);
descriptor: (Ljava/awt/Cursor;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack: java.awt.dnd.DragSourceContext
1: iconst_0
StackMap locals: java.awt.dnd.DragSourceContext java.awt.Cursor
StackMap stack: java.awt.dnd.DragSourceContext int
2: putfield java.awt.dnd.DragSourceContext.useCustomCursor:Z
3: aload 0
aload 1
invokevirtual java.awt.dnd.DragSourceContext.setCursorImpl:(Ljava/awt/Cursor;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/dnd/DragSourceContext;
0 5 1 c Ljava/awt/Cursor;
MethodParameters:
Name Flags
c
public java.awt.Cursor getCursor();
descriptor: ()Ljava/awt/Cursor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.dnd.DragSourceContext.cursor:Ljava/awt/Cursor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/dnd/DragSourceContext;
public synchronized void addDragSourceListener(java.awt.dnd.DragSourceListener);
descriptor: (Ljava/awt/dnd/DragSourceListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
new java.lang.IllegalArgumentException
dup
ldc "DragSourceContext may not be its own listener"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
ifnull 4
3: new java.util.TooManyListenersException
dup
invokespecial java.util.TooManyListenersException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/dnd/DragSourceContext;
0 6 1 dsl Ljava/awt/dnd/DragSourceListener;
Exceptions:
throws java.util.TooManyListenersException
MethodParameters:
Name Flags
dsl
public synchronized void removeDragSourceListener(java.awt.dnd.DragSourceListener);
descriptor: (Ljava/awt/dnd/DragSourceListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
ifnull 3
aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
aconst_null
putfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/dnd/DragSourceContext;
0 5 1 dsl Ljava/awt/dnd/DragSourceListener;
MethodParameters:
Name Flags
dsl
public void transferablesFlavorsChanged();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.dnd.DragSourceContext.peer:Ljava/awt/dnd/peer/DragSourceContextPeer;
ifnull 1
aload 0
getfield java.awt.dnd.DragSourceContext.peer:Ljava/awt/dnd/peer/DragSourceContextPeer;
invokeinterface java.awt.dnd.peer.DragSourceContextPeer.transferablesFlavorsChanged:()V
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/dnd/DragSourceContext;
public void dragEnter(java.awt.dnd.DragSourceDragEvent);
descriptor: (Ljava/awt/dnd/DragSourceDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.dnd.DragSourceListener.dragEnter:(Ljava/awt/dnd/DragSourceDragEvent;)V
3: StackMap locals: java.awt.dnd.DragSourceListener
StackMap stack:
aload 0
invokevirtual java.awt.dnd.DragSourceContext.getDragSource:()Ljava/awt/dnd/DragSource;
aload 1
invokevirtual java.awt.dnd.DragSource.processDragEnter:(Ljava/awt/dnd/DragSourceDragEvent;)V
4: aload 0
aload 0
invokevirtual java.awt.dnd.DragSourceContext.getSourceActions:()I
aload 1
invokevirtual java.awt.dnd.DragSourceDragEvent.getTargetActions:()I
iconst_1
invokevirtual java.awt.dnd.DragSourceContext.updateCurrentCursor:(III)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/dnd/DragSourceContext;
0 6 1 dsde Ljava/awt/dnd/DragSourceDragEvent;
1 6 2 dsl Ljava/awt/dnd/DragSourceListener;
MethodParameters:
Name Flags
dsde
public void dragOver(java.awt.dnd.DragSourceDragEvent);
descriptor: (Ljava/awt/dnd/DragSourceDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.dnd.DragSourceListener.dragOver:(Ljava/awt/dnd/DragSourceDragEvent;)V
3: StackMap locals: java.awt.dnd.DragSourceListener
StackMap stack:
aload 0
invokevirtual java.awt.dnd.DragSourceContext.getDragSource:()Ljava/awt/dnd/DragSource;
aload 1
invokevirtual java.awt.dnd.DragSource.processDragOver:(Ljava/awt/dnd/DragSourceDragEvent;)V
4: aload 0
aload 0
invokevirtual java.awt.dnd.DragSourceContext.getSourceActions:()I
aload 1
invokevirtual java.awt.dnd.DragSourceDragEvent.getTargetActions:()I
iconst_2
invokevirtual java.awt.dnd.DragSourceContext.updateCurrentCursor:(III)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/dnd/DragSourceContext;
0 6 1 dsde Ljava/awt/dnd/DragSourceDragEvent;
1 6 2 dsl Ljava/awt/dnd/DragSourceListener;
MethodParameters:
Name Flags
dsde
public void dragExit(java.awt.dnd.DragSourceEvent);
descriptor: (Ljava/awt/dnd/DragSourceEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.dnd.DragSourceListener.dragExit:(Ljava/awt/dnd/DragSourceEvent;)V
3: StackMap locals: java.awt.dnd.DragSourceListener
StackMap stack:
aload 0
invokevirtual java.awt.dnd.DragSourceContext.getDragSource:()Ljava/awt/dnd/DragSource;
aload 1
invokevirtual java.awt.dnd.DragSource.processDragExit:(Ljava/awt/dnd/DragSourceEvent;)V
4: aload 0
iconst_0
iconst_0
iconst_0
invokevirtual java.awt.dnd.DragSourceContext.updateCurrentCursor:(III)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/dnd/DragSourceContext;
0 6 1 dse Ljava/awt/dnd/DragSourceEvent;
1 6 2 dsl Ljava/awt/dnd/DragSourceListener;
MethodParameters:
Name Flags
dse
public void dropActionChanged(java.awt.dnd.DragSourceDragEvent);
descriptor: (Ljava/awt/dnd/DragSourceDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.dnd.DragSourceListener.dropActionChanged:(Ljava/awt/dnd/DragSourceDragEvent;)V
3: StackMap locals: java.awt.dnd.DragSourceListener
StackMap stack:
aload 0
invokevirtual java.awt.dnd.DragSourceContext.getDragSource:()Ljava/awt/dnd/DragSource;
aload 1
invokevirtual java.awt.dnd.DragSource.processDropActionChanged:(Ljava/awt/dnd/DragSourceDragEvent;)V
4: aload 0
aload 0
invokevirtual java.awt.dnd.DragSourceContext.getSourceActions:()I
aload 1
invokevirtual java.awt.dnd.DragSourceDragEvent.getTargetActions:()I
iconst_3
invokevirtual java.awt.dnd.DragSourceContext.updateCurrentCursor:(III)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/dnd/DragSourceContext;
0 6 1 dsde Ljava/awt/dnd/DragSourceDragEvent;
1 6 2 dsl Ljava/awt/dnd/DragSourceListener;
MethodParameters:
Name Flags
dsde
public void dragDropEnd(java.awt.dnd.DragSourceDropEvent);
descriptor: (Ljava/awt/dnd/DragSourceDropEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.dnd.DragSourceListener.dragDropEnd:(Ljava/awt/dnd/DragSourceDropEvent;)V
3: StackMap locals: java.awt.dnd.DragSourceListener
StackMap stack:
aload 0
invokevirtual java.awt.dnd.DragSourceContext.getDragSource:()Ljava/awt/dnd/DragSource;
aload 1
invokevirtual java.awt.dnd.DragSource.processDragDropEnd:(Ljava/awt/dnd/DragSourceDropEvent;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/dnd/DragSourceContext;
0 5 1 dsde Ljava/awt/dnd/DragSourceDropEvent;
1 5 2 dsl Ljava/awt/dnd/DragSourceListener;
MethodParameters:
Name Flags
dsde
public void dragMouseMoved(java.awt.dnd.DragSourceDragEvent);
descriptor: (Ljava/awt/dnd/DragSourceDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.dnd.DragSourceContext.getDragSource:()Ljava/awt/dnd/DragSource;
aload 1
invokevirtual java.awt.dnd.DragSource.processDragMouseMoved:(Ljava/awt/dnd/DragSourceDragEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/dnd/DragSourceContext;
0 2 1 dsde Ljava/awt/dnd/DragSourceDragEvent;
MethodParameters:
Name Flags
dsde
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 java.awt.dnd.DragSourceContext.transferable:Ljava/awt/datatransfer/Transferable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/dnd/DragSourceContext;
protected synchronized void updateCurrentCursor(int, int, int);
descriptor: (III)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.awt.dnd.DragSourceContext.useCustomCursor:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 3: iload 3
tableswitch { // 1 - 3
1: 5
2: 5
3: 5
default: 4
}
4: StackMap locals: java.awt.Cursor
StackMap stack:
iconst_0
istore 2
5: StackMap locals:
StackMap stack:
iload 1
iload 2
iand
istore 5
start local 5 6: iload 5
ifne 13
7: iload 1
ldc 1073741824
iand
ldc 1073741824
if_icmpne 9
8: getstatic java.awt.dnd.DragSource.DefaultLinkNoDrop:Ljava/awt/Cursor;
astore 4
goto 18
9: StackMap locals: int
StackMap stack:
iload 1
iconst_2
iand
iconst_2
if_icmpne 11
10: getstatic java.awt.dnd.DragSource.DefaultMoveNoDrop:Ljava/awt/Cursor;
astore 4
goto 18
11: StackMap locals:
StackMap stack:
getstatic java.awt.dnd.DragSource.DefaultCopyNoDrop:Ljava/awt/Cursor;
astore 4
12: goto 18
13: StackMap locals:
StackMap stack:
iload 5
ldc 1073741824
iand
ldc 1073741824
if_icmpne 15
14: getstatic java.awt.dnd.DragSource.DefaultLinkDrop:Ljava/awt/Cursor;
astore 4
goto 18
15: StackMap locals:
StackMap stack:
iload 5
iconst_2
iand
iconst_2
if_icmpne 17
16: getstatic java.awt.dnd.DragSource.DefaultMoveDrop:Ljava/awt/Cursor;
astore 4
goto 18
17: StackMap locals:
StackMap stack:
getstatic java.awt.dnd.DragSource.DefaultCopyDrop:Ljava/awt/Cursor;
astore 4
end local 5 18: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual java.awt.dnd.DragSourceContext.setCursorImpl:(Ljava/awt/Cursor;)V
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/awt/dnd/DragSourceContext;
0 20 1 sourceAct I
0 20 2 targetAct I
0 20 3 status I
3 20 4 c Ljava/awt/Cursor;
6 18 5 ra I
MethodParameters:
Name Flags
sourceAct
targetAct
status
private void setCursorImpl(java.awt.Cursor);
descriptor: (Ljava/awt/Cursor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.dnd.DragSourceContext.cursor:Ljava/awt/Cursor;
ifnull 1
aload 0
getfield java.awt.dnd.DragSourceContext.cursor:Ljava/awt/Cursor;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 3
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.awt.dnd.DragSourceContext.cursor:Ljava/awt/Cursor;
2: aload 0
getfield java.awt.dnd.DragSourceContext.peer:Ljava/awt/dnd/peer/DragSourceContextPeer;
ifnull 3
aload 0
getfield java.awt.dnd.DragSourceContext.peer:Ljava/awt/dnd/peer/DragSourceContextPeer;
aload 0
getfield java.awt.dnd.DragSourceContext.cursor:Ljava/awt/Cursor;
invokeinterface java.awt.dnd.peer.DragSourceContextPeer.setCursor:(Ljava/awt/Cursor;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/dnd/DragSourceContext;
0 4 1 c Ljava/awt/Cursor;
MethodParameters:
Name Flags
c
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
getfield java.awt.dnd.DragSourceContext.transferable:Ljava/awt/datatransfer/Transferable;
invokestatic java.awt.dnd.SerializationTester.test:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
getfield java.awt.dnd.DragSourceContext.transferable:Ljava/awt/datatransfer/Transferable;
goto 4
StackMap locals:
StackMap stack: java.io.ObjectOutputStream
3: aconst_null
4: StackMap locals: java.awt.dnd.DragSourceContext java.io.ObjectOutputStream
StackMap stack: java.io.ObjectOutputStream java.awt.datatransfer.Transferable
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
5: aload 1
aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
invokestatic java.awt.dnd.SerializationTester.test:(Ljava/lang/Object;)Z
ifeq 7
6: aload 0
getfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
goto 8
StackMap locals:
StackMap stack: java.io.ObjectOutputStream
7: aconst_null
8: StackMap locals: java.awt.dnd.DragSourceContext java.io.ObjectOutputStream
StackMap stack: java.io.ObjectOutputStream java.awt.dnd.DragSourceListener
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/awt/dnd/DragSourceContext;
0 10 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readFields:()Ljava/io/ObjectInputStream$GetField;
astore 2
start local 2 1: aload 2
ldc "trigger"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.dnd.DragGestureEvent
astore 3
start local 3 2: aload 3
ifnonnull 4
3: new java.io.InvalidObjectException
dup
ldc "Null trigger"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.io.ObjectInputStream$GetField java.awt.dnd.DragGestureEvent
StackMap stack:
aload 3
invokevirtual java.awt.dnd.DragGestureEvent.getDragSource:()Ljava/awt/dnd/DragSource;
ifnonnull 6
5: new java.io.InvalidObjectException
dup
ldc "Null DragSource"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
ifnonnull 8
7: new java.io.InvalidObjectException
dup
ldc "Null trigger component"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 2
ldc "sourceActions"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;I)I
9: ldc 1073741827
10: iand
istore 4
start local 4 11: iload 4
ifne 13
12: new java.io.InvalidObjectException
dup
ldc "Invalid source actions"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: int
StackMap stack:
aload 3
invokevirtual java.awt.dnd.DragGestureEvent.getDragAction:()I
istore 5
start local 5 14: iload 5
iconst_1
if_icmpeq 18
15: iload 5
iconst_2
if_icmpeq 18
16: iload 5
ldc 1073741824
if_icmpeq 18
17: new java.io.InvalidObjectException
dup
ldc "No drag action"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: int
StackMap stack:
aload 0
aload 3
putfield java.awt.dnd.DragSourceContext.trigger:Ljava/awt/dnd/DragGestureEvent;
19: aload 0
aload 2
ldc "cursor"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.Cursor
putfield java.awt.dnd.DragSourceContext.cursor:Ljava/awt/Cursor;
20: aload 0
aload 2
ldc "useCustomCursor"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
putfield java.awt.dnd.DragSourceContext.useCustomCursor:Z
21: aload 0
iload 4
putfield java.awt.dnd.DragSourceContext.sourceActions:I
22: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.awt.datatransfer.Transferable
putfield java.awt.dnd.DragSourceContext.transferable:Ljava/awt/datatransfer/Transferable;
23: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.awt.dnd.DragSourceListener
putfield java.awt.dnd.DragSourceContext.listener:Ljava/awt/dnd/DragSourceListener;
24: aload 0
getfield java.awt.dnd.DragSourceContext.transferable:Ljava/awt/datatransfer/Transferable;
ifnonnull 28
25: getstatic java.awt.dnd.DragSourceContext.emptyTransferable:Ljava/awt/datatransfer/Transferable;
ifnonnull 27
26: new java.awt.dnd.DragSourceContext$1
dup
aload 0
invokespecial java.awt.dnd.DragSourceContext$1.<init>:(Ljava/awt/dnd/DragSourceContext;)V
putstatic java.awt.dnd.DragSourceContext.emptyTransferable:Ljava/awt/datatransfer/Transferable;
27: StackMap locals:
StackMap stack:
aload 0
getstatic java.awt.dnd.DragSourceContext.emptyTransferable:Ljava/awt/datatransfer/Transferable;
putfield java.awt.dnd.DragSourceContext.transferable:Ljava/awt/datatransfer/Transferable;
28: StackMap locals:
StackMap stack:
return
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 29 0 this Ljava/awt/dnd/DragSourceContext;
0 29 1 s Ljava/io/ObjectInputStream;
1 29 2 f Ljava/io/ObjectInputStream$GetField;
2 29 3 newTrigger Ljava/awt/dnd/DragGestureEvent;
11 29 4 newSourceActions I
14 29 5 triggerActions I
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
s
private static java.awt.dnd.peer.DragSourceContextPeer lambda$0(java.awt.dnd.DragSourceContext);
descriptor: (Ljava/awt/dnd/DragSourceContext;)Ljava/awt/dnd/peer/DragSourceContextPeer;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.dnd.DragSourceContext.peer:Ljava/awt/dnd/peer/DragSourceContextPeer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dsc Ljava/awt/dnd/DragSourceContext;
}
SourceFile: "DragSourceContext.java"
NestMembers:
java.awt.dnd.DragSourceContext$1
InnerClasses:
java.awt.dnd.DragSourceContext$1
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract DragSourceContextAccessor = sun.awt.AWTAccessor$DragSourceContextAccessor of sun.awt.AWTAccessor