public abstract class sun.awt.dnd.SunDragSourceContextPeer implements java.awt.dnd.peer.DragSourceContextPeer
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.dnd.SunDragSourceContextPeer
super_class: java.lang.Object
{
private java.awt.dnd.DragGestureEvent trigger;
descriptor: Ljava/awt/dnd/DragGestureEvent;
flags: (0x0002) ACC_PRIVATE
private java.awt.Component component;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private java.awt.Cursor cursor;
descriptor: Ljava/awt/Cursor;
flags: (0x0002) ACC_PRIVATE
private java.awt.Image dragImage;
descriptor: Ljava/awt/Image;
flags: (0x0002) ACC_PRIVATE
private java.awt.Point dragImageOffset;
descriptor: Ljava/awt/Point;
flags: (0x0002) ACC_PRIVATE
private long nativeCtxt;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.awt.dnd.DragSourceContext dragSourceContext;
descriptor: Ljava/awt/dnd/DragSourceContext;
flags: (0x0002) ACC_PRIVATE
private int sourceActions;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static boolean dragDropInProgress;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean discardingMouseEvents;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected static final int DISPATCH_ENTER;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final int DISPATCH_MOTION;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final int DISPATCH_CHANGED;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
protected static final int DISPATCH_EXIT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 4
protected static final int DISPATCH_FINISH;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 5
protected static final int DISPATCH_MOUSE_MOVED;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 6
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic sun.awt.dnd.SunDragSourceContextPeer.dragDropInProgress:Z
1: iconst_0
putstatic sun.awt.dnd.SunDragSourceContextPeer.discardingMouseEvents:Z
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.awt.dnd.DragGestureEvent);
descriptor: (Ljava/awt/dnd/DragGestureEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.awt.dnd.SunDragSourceContextPeer.trigger:Ljava/awt/dnd/DragGestureEvent;
2: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.trigger:Ljava/awt/dnd/DragGestureEvent;
ifnull 5
3: aload 0
aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.trigger:Ljava/awt/dnd/DragGestureEvent;
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
putfield sun.awt.dnd.SunDragSourceContextPeer.component:Ljava/awt/Component;
4: goto 6
5: StackMap locals: sun.awt.dnd.SunDragSourceContextPeer java.awt.dnd.DragGestureEvent
StackMap stack:
aload 0
aconst_null
putfield sun.awt.dnd.SunDragSourceContextPeer.component:Ljava/awt/Component;
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 7 1 dge Ljava/awt/dnd/DragGestureEvent;
MethodParameters:
Name Flags
dge
public void startSecondaryEventLoop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
public void quitSecondaryEventLoop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
public void startDrag(java.awt.dnd.DragSourceContext, java.awt.Cursor, java.awt.Image, java.awt.Point);
descriptor: (Ljava/awt/dnd/DragSourceContext;Ljava/awt/Cursor;Ljava/awt/Image;Ljava/awt/Point;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getTrigger:()Ljava/awt/dnd/DragGestureEvent;
invokevirtual java.awt.dnd.DragGestureEvent.getTriggerEvent:()Ljava/awt/event/InputEvent;
ifnonnull 2
1: new java.awt.dnd.InvalidDnDOperationException
dup
ldc "DragGestureEvent has a null trigger"
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.awt.dnd.SunDragSourceContextPeer.dragSourceContext:Ljava/awt/dnd/DragSourceContext;
3: aload 0
aload 2
putfield sun.awt.dnd.SunDragSourceContextPeer.cursor:Ljava/awt/Cursor;
4: aload 0
aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getDragSourceContext:()Ljava/awt/dnd/DragSourceContext;
invokevirtual java.awt.dnd.DragSourceContext.getSourceActions:()I
putfield sun.awt.dnd.SunDragSourceContextPeer.sourceActions:I
5: aload 0
aload 3
putfield sun.awt.dnd.SunDragSourceContextPeer.dragImage:Ljava/awt/Image;
6: aload 0
aload 4
putfield sun.awt.dnd.SunDragSourceContextPeer.dragImageOffset:Ljava/awt/Point;
7: aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getDragSourceContext:()Ljava/awt/dnd/DragSourceContext;
invokevirtual java.awt.dnd.DragSourceContext.getTransferable:()Ljava/awt/datatransfer/Transferable;
astore 5
start local 5 8: invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
9: aload 5
10: aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getTrigger:()Ljava/awt/dnd/DragGestureEvent;
invokevirtual java.awt.dnd.DragGestureEvent.getDragSource:()Ljava/awt/dnd/DragSource;
invokevirtual java.awt.dnd.DragSource.getFlavorMap:()Ljava/awt/datatransfer/FlavorMap;
11: invokestatic sun.awt.datatransfer.DataTransferer.adaptFlavorMap:(Ljava/awt/datatransfer/FlavorMap;)Ljava/awt/datatransfer/FlavorTable;
invokevirtual sun.awt.datatransfer.DataTransferer.getFormatsForTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/FlavorTable;)Ljava/util/SortedMap;
12: astore 6
start local 6 13: aload 6
invokestatic sun.awt.datatransfer.DataTransferer.keysToLongArray:(Ljava/util/SortedMap;)[J
astore 7
start local 7 14: aload 0
aload 5
aload 7
aload 6
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.startDrag:(Ljava/awt/datatransfer/Transferable;[JLjava/util/Map;)V
15: iconst_1
putstatic sun.awt.dnd.SunDragSourceContextPeer.discardingMouseEvents:Z
16: new sun.awt.dnd.SunDragSourceContextPeer$1
dup
aload 0
invokespecial sun.awt.dnd.SunDragSourceContextPeer$1.<init>:(Lsun/awt/dnd/SunDragSourceContextPeer;)V
invokestatic java.awt.EventQueue.invokeLater:(Ljava/lang/Runnable;)V
17: return
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 18 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 18 1 dsc Ljava/awt/dnd/DragSourceContext;
0 18 2 c Ljava/awt/Cursor;
0 18 3 di Ljava/awt/Image;
0 18 4 p Ljava/awt/Point;
8 18 5 transferable Ljava/awt/datatransfer/Transferable;
13 18 6 formatMap Ljava/util/SortedMap<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;
14 18 7 formats [J
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
MethodParameters:
Name Flags
dsc
c
di
p
protected abstract void startDrag(java.awt.datatransfer.Transferable, long[], java.util.Map<java.lang.Long, java.awt.datatransfer.DataFlavor>);
descriptor: (Ljava/awt/datatransfer/Transferable;[JLjava/util/Map;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/awt/datatransfer/Transferable;[JLjava/util/Map<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;)V
MethodParameters:
Name Flags
trans
formats
formatMap
public void setCursor(java.awt.Cursor);
descriptor: (Ljava/awt/Cursor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.cursor:Ljava/awt/Cursor;
ifnull 2
aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.cursor:Ljava/awt/Cursor;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 7
2: StackMap locals: sun.awt.dnd.SunDragSourceContextPeer
StackMap stack:
aload 0
aload 1
putfield sun.awt.dnd.SunDragSourceContextPeer.cursor:Ljava/awt/Cursor;
3: aload 0
aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getNativeContext:()J
aload 1
4: aload 1
ifnull 5
aload 1
invokevirtual java.awt.Cursor.getType:()I
goto 6
StackMap locals: sun.awt.dnd.SunDragSourceContextPeer java.awt.Cursor sun.awt.dnd.SunDragSourceContextPeer
StackMap stack: sun.awt.dnd.SunDragSourceContextPeer long java.awt.Cursor
5: iconst_0
6: StackMap locals: sun.awt.dnd.SunDragSourceContextPeer java.awt.Cursor sun.awt.dnd.SunDragSourceContextPeer
StackMap stack: sun.awt.dnd.SunDragSourceContextPeer long java.awt.Cursor int
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.setNativeCursor:(JLjava/awt/Cursor;I)V
7: StackMap locals:
StackMap stack:
aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 12 1 c Ljava/awt/Cursor;
Exception table:
from to target type
1 8 9 any
9 10 9 any
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
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 sun.awt.dnd.SunDragSourceContextPeer.cursor:Ljava/awt/Cursor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
public java.awt.Image getDragImage();
descriptor: ()Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.dragImage:Ljava/awt/Image;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
public java.awt.Point getDragImageOffset();
descriptor: ()Ljava/awt/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.dragImageOffset:Ljava/awt/Point;
ifnonnull 2
1: new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
areturn
2: StackMap locals:
StackMap stack:
new java.awt.Point
dup
aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.dragImageOffset:Ljava/awt/Point;
invokespecial java.awt.Point.<init>:(Ljava/awt/Point;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
protected abstract void setNativeCursor(long, java.awt.Cursor, int);
descriptor: (JLjava/awt/Cursor;I)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
nativeCtxt
c
cType
protected synchronized void setTrigger(java.awt.dnd.DragGestureEvent);
descriptor: (Ljava/awt/dnd/DragGestureEvent;)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.awt.dnd.SunDragSourceContextPeer.trigger:Ljava/awt/dnd/DragGestureEvent;
1: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.trigger:Ljava/awt/dnd/DragGestureEvent;
ifnull 4
2: aload 0
aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.trigger:Ljava/awt/dnd/DragGestureEvent;
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
putfield sun.awt.dnd.SunDragSourceContextPeer.component:Ljava/awt/Component;
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.awt.dnd.SunDragSourceContextPeer.component:Ljava/awt/Component;
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 6 1 dge Ljava/awt/dnd/DragGestureEvent;
MethodParameters:
Name Flags
dge
protected java.awt.dnd.DragGestureEvent getTrigger();
descriptor: ()Ljava/awt/dnd/DragGestureEvent;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.trigger:Ljava/awt/dnd/DragGestureEvent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
protected java.awt.Component getComponent();
descriptor: ()Ljava/awt/Component;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.component:Ljava/awt/Component;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
protected synchronized void setNativeContext(long);
descriptor: (J)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield sun.awt.dnd.SunDragSourceContextPeer.nativeCtxt:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 2 1 ctxt J
MethodParameters:
Name Flags
ctxt
protected synchronized long getNativeContext();
descriptor: ()J
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.nativeCtxt:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
protected java.awt.dnd.DragSourceContext getDragSourceContext();
descriptor: ()Ljava/awt/dnd/DragSourceContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.dragSourceContext:Ljava/awt/dnd/DragSourceContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
public void transferablesFlavorsChanged();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
protected final void postDragSourceDragEvent(int, int, int, int, int);
descriptor: (IIIII)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=8, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
1: aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.sourceActions:I
2: invokestatic sun.awt.dnd.SunDragSourceContextPeer.convertModifiersToDropAction:(II)I
3: istore 6
start local 6 4: new java.awt.dnd.DragSourceDragEvent
dup
aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getDragSourceContext:()Ljava/awt/dnd/DragSourceContext;
5: iload 6
6: iload 1
aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.sourceActions:I
iand
7: iload 2
iload 3
iload 4
8: invokespecial java.awt.dnd.DragSourceDragEvent.<init>:(Ljava/awt/dnd/DragSourceContext;IIIII)V
9: astore 7
start local 7 10: new sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher
dup
aload 0
iload 5
aload 7
invokespecial sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher.<init>:(Lsun/awt/dnd/SunDragSourceContextPeer;ILjava/awt/dnd/DragSourceEvent;)V
astore 8
start local 8 11: aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getComponent:()Ljava/awt/Component;
invokestatic sun.awt.SunToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 8
12: invokestatic sun.awt.SunToolkit.invokeLaterOnAppContext:(Lsun/awt/AppContext;Ljava/lang/Runnable;)V
13: aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.startSecondaryEventLoop:()V
14: 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 15 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 15 1 targetAction I
0 15 2 modifiers I
0 15 3 x I
0 15 4 y I
0 15 5 dispatchType I
4 15 6 dropAction I
10 15 7 event Ljava/awt/dnd/DragSourceDragEvent;
11 15 8 dispatcher Lsun/awt/dnd/SunDragSourceContextPeer$EventDispatcher;
MethodParameters:
Name Flags
targetAction final
modifiers final
x final
y final
dispatchType final
protected void dragEnter(int, int, int, int);
descriptor: (IIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
iconst_1
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.postDragSourceDragEvent:(IIIII)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 2 1 targetActions I
0 2 2 modifiers I
0 2 3 x I
0 2 4 y I
MethodParameters:
Name Flags
targetActions final
modifiers final
x final
y final
private void dragMotion(int, int, int, int);
descriptor: (IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
iconst_2
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.postDragSourceDragEvent:(IIIII)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 2 1 targetActions I
0 2 2 modifiers I
0 2 3 x I
0 2 4 y I
MethodParameters:
Name Flags
targetActions final
modifiers final
x final
y final
private void operationChanged(int, int, int, int);
descriptor: (IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
iconst_3
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.postDragSourceDragEvent:(IIIII)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 2 1 targetActions I
0 2 2 modifiers I
0 2 3 x I
0 2 4 y I
MethodParameters:
Name Flags
targetActions final
modifiers final
x final
y final
protected final void dragExit(int, int);
descriptor: (II)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.awt.dnd.DragSourceEvent
dup
aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getDragSourceContext:()Ljava/awt/dnd/DragSourceContext;
iload 1
iload 2
invokespecial java.awt.dnd.DragSourceEvent.<init>:(Ljava/awt/dnd/DragSourceContext;II)V
1: astore 3
start local 3 2: new sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher
dup
aload 0
iconst_4
aload 3
invokespecial sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher.<init>:(Lsun/awt/dnd/SunDragSourceContextPeer;ILjava/awt/dnd/DragSourceEvent;)V
3: astore 4
start local 4 4: aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getComponent:()Ljava/awt/Component;
invokestatic sun.awt.SunToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 4
5: invokestatic sun.awt.SunToolkit.invokeLaterOnAppContext:(Lsun/awt/AppContext;Ljava/lang/Runnable;)V
6: aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.startSecondaryEventLoop:()V
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 8 1 x I
0 8 2 y I
2 8 3 event Ljava/awt/dnd/DragSourceEvent;
4 8 4 dispatcher Lsun/awt/dnd/SunDragSourceContextPeer$EventDispatcher;
MethodParameters:
Name Flags
x final
y final
private void dragMouseMoved(int, int, int, int);
descriptor: (IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
1: bipush 6
2: invokevirtual sun.awt.dnd.SunDragSourceContextPeer.postDragSourceDragEvent:(IIIII)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 4 1 targetActions I
0 4 2 modifiers I
0 4 3 x I
0 4 4 y I
MethodParameters:
Name Flags
targetActions final
modifiers final
x final
y final
protected final void dragDropFinished(boolean, int, int, int);
descriptor: (ZIII)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.awt.dnd.DragSourceDropEvent
dup
aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getDragSourceContext:()Ljava/awt/dnd/DragSourceContext;
1: iload 2
aload 0
getfield sun.awt.dnd.SunDragSourceContextPeer.sourceActions:I
iand
2: iload 1
iload 3
iload 4
3: invokespecial java.awt.dnd.DragSourceDropEvent.<init>:(Ljava/awt/dnd/DragSourceContext;IZII)V
4: astore 5
start local 5 5: new sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher
dup
aload 0
iconst_5
aload 5
invokespecial sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher.<init>:(Lsun/awt/dnd/SunDragSourceContextPeer;ILjava/awt/dnd/DragSourceEvent;)V
6: astore 6
start local 6 7: aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.getComponent:()Ljava/awt/Component;
invokestatic sun.awt.SunToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 6
8: invokestatic sun.awt.SunToolkit.invokeLaterOnAppContext:(Lsun/awt/AppContext;Ljava/lang/Runnable;)V
9: aload 0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.startSecondaryEventLoop:()V
10: aload 0
lconst_0
invokevirtual sun.awt.dnd.SunDragSourceContextPeer.setNativeContext:(J)V
11: aload 0
aconst_null
putfield sun.awt.dnd.SunDragSourceContextPeer.dragImage:Ljava/awt/Image;
12: aload 0
aconst_null
putfield sun.awt.dnd.SunDragSourceContextPeer.dragImageOffset:Ljava/awt/Point;
13: return
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 14 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
0 14 1 success Z
0 14 2 operations I
0 14 3 x I
0 14 4 y I
5 14 5 event Ljava/awt/dnd/DragSourceEvent;
7 14 6 dispatcher Lsun/awt/dnd/SunDragSourceContextPeer$EventDispatcher;
MethodParameters:
Name Flags
success final
operations final
x final
y final
public static void setDragDropInProgress(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc Lsun/awt/dnd/SunDragSourceContextPeer;
dup
astore 1
monitorenter
1: getstatic sun.awt.dnd.SunDragSourceContextPeer.dragDropInProgress:Z
iload 0
if_icmpne 3
2: new java.awt.dnd.InvalidDnDOperationException
dup
iload 0
invokestatic sun.awt.dnd.SunDragSourceContextPeer.getExceptionMessage:(Z)Ljava/lang/String;
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Class
StackMap stack:
iload 0
putstatic sun.awt.dnd.SunDragSourceContextPeer.dragDropInProgress:Z
4: aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 b Z
Exception table:
from to target type
1 5 6 any
6 7 6 any
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
MethodParameters:
Name Flags
b
public static boolean checkEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: getstatic sun.awt.dnd.SunDragSourceContextPeer.discardingMouseEvents:Z
ifeq 4
aload 0
instanceof java.awt.event.MouseEvent
ifeq 4
1: aload 0
checkcast java.awt.event.MouseEvent
astore 1
start local 1 2: aload 1
instanceof sun.awt.dnd.SunDropTargetEvent
ifne 4
3: iconst_0
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 event Ljava/awt/AWTEvent;
2 4 1 mouseEvent Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
event
public static void checkDragDropInProgress();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic sun.awt.dnd.SunDragSourceContextPeer.dragDropInProgress:Z
ifeq 2
1: new java.awt.dnd.InvalidDnDOperationException
dup
iconst_1
invokestatic sun.awt.dnd.SunDragSourceContextPeer.getExceptionMessage:(Z)Ljava/lang/String;
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
private static java.lang.String getExceptionMessage(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 1
ldc "Drag and drop in progress"
goto 2
StackMap locals:
StackMap stack:
1: ldc "No drag in progress"
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 b Z
MethodParameters:
Name Flags
b
public static int convertModifiersToDropAction(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iload 0
sipush 192
iand
lookupswitch { // 3
64: 4
128: 3
192: 2
default: 5
}
2: StackMap locals: int
StackMap stack:
ldc 1073741824
istore 2
goto 13
3: StackMap locals:
StackMap stack:
iconst_1
istore 2
goto 13
4: StackMap locals:
StackMap stack:
iconst_2
istore 2
goto 13
5: StackMap locals:
StackMap stack:
iload 1
iconst_2
iand
ifeq 8
6: iconst_2
istore 2
7: goto 13
StackMap locals:
StackMap stack:
8: iload 1
iconst_1
iand
ifeq 11
9: iconst_1
istore 2
10: goto 13
StackMap locals:
StackMap stack:
11: iload 1
ldc 1073741824
iand
ifeq 13
12: ldc 1073741824
istore 2
13: StackMap locals:
StackMap stack:
iload 2
iload 1
iand
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 modifiers I
0 14 1 supportedActions I
1 14 2 dropAction I
MethodParameters:
Name Flags
modifiers final
supportedActions final
private void cleanup();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.awt.dnd.SunDragSourceContextPeer.trigger:Ljava/awt/dnd/DragGestureEvent;
1: aload 0
aconst_null
putfield sun.awt.dnd.SunDragSourceContextPeer.component:Ljava/awt/Component;
2: aload 0
aconst_null
putfield sun.awt.dnd.SunDragSourceContextPeer.cursor:Ljava/awt/Cursor;
3: aload 0
aconst_null
putfield sun.awt.dnd.SunDragSourceContextPeer.dragSourceContext:Ljava/awt/dnd/DragSourceContext;
4: aconst_null
invokestatic sun.awt.dnd.SunDropTargetContextPeer.setCurrentJVMLocalSourceTransferable:(Ljava/awt/datatransfer/Transferable;)V
5: iconst_0
invokestatic sun.awt.dnd.SunDragSourceContextPeer.setDragDropInProgress:(Z)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/dnd/SunDragSourceContextPeer;
}
SourceFile: "SunDragSourceContextPeer.java"
NestMembers:
sun.awt.dnd.SunDragSourceContextPeer$1 sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher
InnerClasses:
sun.awt.dnd.SunDragSourceContextPeer$1
private EventDispatcher = sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher of sun.awt.dnd.SunDragSourceContextPeer