public final class sun.lwawt.macosx.CDragSourceContextPeer extends sun.awt.dnd.SunDragSourceContextPeer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.macosx.CDragSourceContextPeer
super_class: sun.awt.dnd.SunDragSourceContextPeer
{
private static final sun.lwawt.macosx.CDragSourceContextPeer fInstance;
descriptor: Lsun/lwawt/macosx/CDragSourceContextPeer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.awt.Image fDragImage;
descriptor: Ljava/awt/Image;
flags: (0x0002) ACC_PRIVATE
private sun.lwawt.macosx.CImage fDragCImage;
descriptor: Lsun/lwawt/macosx/CImage;
flags: (0x0002) ACC_PRIVATE
private java.awt.Point fDragImageOffset;
descriptor: Ljava/awt/Point;
flags: (0x0002) ACC_PRIVATE
private static java.awt.Component hoveringComponent;
descriptor: Ljava/awt/Component;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static double fMaxImageSize;
descriptor: D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: new sun.lwawt.macosx.CDragSourceContextPeer
dup
aconst_null
invokespecial sun.lwawt.macosx.CDragSourceContextPeer.<init>:(Ljava/awt/dnd/DragGestureEvent;)V
putstatic sun.lwawt.macosx.CDragSourceContextPeer.fInstance:Lsun/lwawt/macosx/CDragSourceContextPeer;
1: aconst_null
putstatic sun.lwawt.macosx.CDragSourceContextPeer.hoveringComponent:Ljava/awt/Component;
2: ldc 128.0
putstatic sun.lwawt.macosx.CDragSourceContextPeer.fMaxImageSize:D
3: new sun.security.action.GetPropertyAction
dup
ldc "apple.awt.dnd.defaultDragImageSize"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 4: aload 0
ifnull 10
5: aload 0
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
dstore 1
start local 1 6: dload 1
dconst_0
dcmpl
ifle 10
7: dload 1
putstatic sun.lwawt.macosx.CDragSourceContextPeer.fMaxImageSize:D
end local 1 8: goto 10
StackMap locals: java.lang.String
StackMap stack: java.lang.NumberFormatException
9: pop
end local 0 10: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
4 10 0 propValue Ljava/lang/String;
6 8 1 value D
Exception table:
from to target type
5 8 9 Class java.lang.NumberFormatException
private void <init>(java.awt.dnd.DragGestureEvent);
descriptor: (Ljava/awt/dnd/DragGestureEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.dnd.SunDragSourceContextPeer.<init>:(Ljava/awt/dnd/DragGestureEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 2 1 dge Ljava/awt/dnd/DragGestureEvent;
MethodParameters:
Name Flags
dge
public static sun.lwawt.macosx.CDragSourceContextPeer createDragSourceContextPeer(java.awt.dnd.DragGestureEvent);
descriptor: (Ljava/awt/dnd/DragGestureEvent;)Lsun/lwawt/macosx/CDragSourceContextPeer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.lwawt.macosx.CDragSourceContextPeer.fInstance:Lsun/lwawt/macosx/CDragSourceContextPeer;
aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setTrigger:(Ljava/awt/dnd/DragGestureEvent;)V
1: getstatic sun.lwawt.macosx.CDragSourceContextPeer.fInstance:Lsun/lwawt/macosx/CDragSourceContextPeer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dge Ljava/awt/dnd/DragGestureEvent;
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
MethodParameters:
Name Flags
dge
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=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 3
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImage:Ljava/awt/Image;
1: aload 0
aload 4
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImageOffset:Ljava/awt/Point;
2: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial sun.awt.dnd.SunDragSourceContextPeer.startDrag:(Ljava/awt/dnd/DragSourceContext;Ljava/awt/Cursor;Ljava/awt/Image;Ljava/awt/Point;)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/lwawt/macosx/CDragSourceContextPeer;
0 4 1 dsc Ljava/awt/dnd/DragSourceContext;
0 4 2 cursor Ljava/awt/Cursor;
0 4 3 dragImage Ljava/awt/Image;
0 4 4 dragImageOffset Ljava/awt/Point;
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
MethodParameters:
Name Flags
dsc
cursor
dragImage
dragImageOffset
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=19, locals=21, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.getTrigger:()Ljava/awt/dnd/DragGestureEvent;
astore 4
start local 4 1: aload 4
invokevirtual java.awt.dnd.DragGestureEvent.getTriggerEvent:()Ljava/awt/event/InputEvent;
astore 5
start local 5 2: new java.awt.Point
dup
aload 4
invokevirtual java.awt.dnd.DragGestureEvent.getDragOrigin:()Ljava/awt/Point;
invokespecial java.awt.Point.<init>:(Ljava/awt/Point;)V
astore 6
start local 6 3: aload 5
invokevirtual java.awt.event.InputEvent.getModifiers:()I
aload 5
invokevirtual java.awt.event.InputEvent.getModifiersEx:()I
ior
istore 7
start local 7 4: aload 5
invokevirtual java.awt.event.InputEvent.getWhen:()J
lstore 8
start local 8 5: aload 5
instanceof java.awt.event.MouseEvent
ifeq 6
aload 5
checkcast java.awt.event.MouseEvent
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
goto 7
StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer java.awt.datatransfer.Transferable long[] java.util.Map java.awt.dnd.DragGestureEvent java.awt.event.InputEvent java.awt.Point int long
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: istore 10
start local 10 8: aload 4
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
astore 11
start local 11 9: aload 11
invokevirtual java.awt.Component.getLocation:()Ljava/awt/Point;
astore 12
start local 12 10: aload 11
astore 13
start local 13 11: goto 15
12: StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer java.awt.datatransfer.Transferable long[] java.util.Map java.awt.dnd.DragGestureEvent java.awt.event.InputEvent java.awt.Point int long int java.awt.Component java.awt.Point java.awt.Component
StackMap stack:
aload 6
aload 12
getfield java.awt.Point.x:I
aload 12
getfield java.awt.Point.y:I
invokevirtual java.awt.Point.translate:(II)V
13: aload 13
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 13
14: aload 13
invokevirtual java.awt.Component.getLocation:()Ljava/awt/Point;
astore 12
15: StackMap locals:
StackMap stack:
aload 13
instanceof java.awt.Window
ifeq 12
16: aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImage:Ljava/awt/Image;
ifnonnull 18
17: aload 0
aload 11
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:(Ljava/awt/Component;)V
18: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImage:Ljava/awt/Image;
ifnull 27
19: aload 0
invokestatic sun.lwawt.macosx.CImage.getCreator:()Lsun/lwawt/macosx/CImage$Creator;
aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImage:Ljava/awt/Image;
invokevirtual sun.lwawt.macosx.CImage$Creator.createFromImageImmediately:(Ljava/awt/Image;)Lsun/lwawt/macosx/CImage;
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
20: goto 23
StackMap locals:
StackMap stack: java.lang.Exception
21: pop
22: new java.awt.dnd.InvalidDnDOperationException
dup
ldc "Drag image can not be created."
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
ifnonnull 25
24: new java.awt.dnd.InvalidDnDOperationException
dup
ldc "Drag image is not ready."
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImageOffset:Ljava/awt/Point;
astore 14
start local 14 26: goto 29
end local 14 27: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
28: new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
astore 14
start local 14 29: StackMap locals: java.awt.Point
StackMap stack:
invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
30: aload 13
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
checkcast sun.lwawt.LWComponentPeer
31: astore 15
start local 15 32: aload 15
invokevirtual sun.lwawt.LWComponentPeer.getPlatformWindow:()Lsun/lwawt/PlatformWindow;
astore 16
start local 16 33: aload 16
invokestatic sun.lwawt.macosx.CPlatformWindow.getNativeViewPtr:(Lsun/lwawt/PlatformWindow;)J
lstore 17
start local 17 34: lload 17
lconst_0
lcmp
ifne 35
new java.awt.dnd.InvalidDnDOperationException
dup
ldc "Unsupported platform window implementation"
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
35: StackMap locals: sun.lwawt.LWComponentPeer sun.lwawt.PlatformWindow long
StackMap stack:
aload 0
aload 11
lload 17
aload 1
aload 5
36: aload 6
invokevirtual java.awt.Point.getX:()D
d2i
aload 6
invokevirtual java.awt.Point.getY:()D
d2i
iload 7
37: iload 10
lload 8
aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
ifnull 38
aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
getfield sun.lwawt.macosx.CImage.ptr:J
goto 39
StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer java.awt.datatransfer.Transferable long[] java.util.Map java.awt.dnd.DragGestureEvent java.awt.event.InputEvent java.awt.Point int long int java.awt.Component java.awt.Point java.awt.Component java.awt.Point sun.lwawt.LWComponentPeer sun.lwawt.PlatformWindow long
StackMap stack: sun.lwawt.macosx.CDragSourceContextPeer java.awt.Component long java.awt.datatransfer.Transferable java.awt.event.InputEvent int int int int long
38: lconst_0
StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer java.awt.datatransfer.Transferable long[] java.util.Map java.awt.dnd.DragGestureEvent java.awt.event.InputEvent java.awt.Point int long int java.awt.Component java.awt.Point java.awt.Component java.awt.Point sun.lwawt.LWComponentPeer sun.lwawt.PlatformWindow long
StackMap stack: sun.lwawt.macosx.CDragSourceContextPeer java.awt.Component long java.awt.datatransfer.Transferable java.awt.event.InputEvent int int int int long long
39: aload 14
getfield java.awt.Point.x:I
aload 14
getfield java.awt.Point.y:I
40: aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.getDragSourceContext:()Ljava/awt/dnd/DragSourceContext;
invokevirtual java.awt.dnd.DragSourceContext.getSourceActions:()I
aload 2
aload 3
41: invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.createNativeDragSource:(Ljava/awt/Component;JLjava/awt/datatransfer/Transferable;Ljava/awt/event/InputEvent;IIIIJJIII[JLjava/util/Map;)J
lstore 19
start local 19 42: lload 19
lconst_0
lcmp
ifne 44
43: new java.awt.dnd.InvalidDnDOperationException
dup
ldc ""
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
44: StackMap locals: long
StackMap stack:
aload 0
lload 19
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setNativeContext:(J)V
end local 19 end local 17 end local 16 end local 15 45: goto 48
46: StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer java.awt.datatransfer.Transferable long[] java.util.Map java.awt.dnd.DragGestureEvent java.awt.event.InputEvent java.awt.Point int long int java.awt.Component java.awt.Point java.awt.Component java.awt.Point
StackMap stack: java.lang.Exception
astore 15
start local 15 47: new java.awt.dnd.InvalidDnDOperationException
dup
new java.lang.StringBuilder
dup
ldc "failed to create native peer: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 15 48: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.awt.dnd.SunDropTargetContextPeer.setCurrentJVMLocalSourceTransferable:(Ljava/awt/datatransfer/Transferable;)V
49: invokestatic sun.lwawt.macosx.CCursorManager.getInstance:()Lsun/lwawt/macosx/CCursorManager;
aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.getCursor:()Ljava/awt/Cursor;
invokevirtual sun.lwawt.macosx.CCursorManager.setCursor:(Ljava/awt/Cursor;)V
50: aload 0
invokedynamic run(Lsun/lwawt/macosx/CDragSourceContextPeer;)Ljava/lang/Runnable;
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:
()V
sun/lwawt/macosx/CDragSourceContextPeer.lambda$0()V (7)
()V
astore 15
start local 15 51: new java.lang.Thread
dup
aconst_null
aload 15
ldc "Drag"
lconst_0
iconst_0
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
invokevirtual java.lang.Thread.start:()V
end local 15 52: goto 59
StackMap locals:
StackMap stack: java.lang.Exception
53: astore 15
start local 15 54: aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.getNativeContext:()J
lstore 16
start local 16 55: aload 0
lconst_0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setNativeContext:(J)V
56: aload 0
lload 16
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.releaseNativeDragSource:(J)V
57: aconst_null
invokestatic sun.awt.dnd.SunDropTargetContextPeer.setCurrentJVMLocalSourceTransferable:(Ljava/awt/datatransfer/Transferable;)V
58: new java.awt.dnd.InvalidDnDOperationException
dup
new java.lang.StringBuilder
dup
ldc "failed to start dragging thread: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 16 end local 15 59: StackMap locals:
StackMap stack:
return
end local 14 end local 13 end local 12 end local 11 end local 10 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 60 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 60 1 transferable Ljava/awt/datatransfer/Transferable;
0 60 2 formats [J
0 60 3 formatMap Ljava/util/Map<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;
1 60 4 trigger Ljava/awt/dnd/DragGestureEvent;
2 60 5 triggerEvent Ljava/awt/event/InputEvent;
3 60 6 dragOrigin Ljava/awt/Point;
4 60 7 extModifiers I
5 60 8 timestamp J
8 60 10 clickCount I
9 60 11 component Ljava/awt/Component;
10 60 12 loc Ljava/awt/Point;
11 60 13 rootComponent Ljava/awt/Component;
26 27 14 dragImageOffset Ljava/awt/Point;
29 60 14 dragImageOffset Ljava/awt/Point;
32 45 15 peer Lsun/lwawt/LWComponentPeer<**>;
33 45 16 platformWindow Lsun/lwawt/PlatformWindow;
34 45 17 nativeViewPtr J
42 45 19 nativeDragSource J
47 48 15 e Ljava/lang/Exception;
51 52 15 dragRunnable Ljava/lang/Runnable;
54 59 15 e Ljava/lang/Exception;
55 59 16 nativeDragSource J
Exception table:
from to target type
19 20 21 Class java.lang.Exception
29 45 46 Class java.lang.Exception
50 52 53 Class java.lang.Exception
Signature: (Ljava/awt/datatransfer/Transferable;[JLjava/util/Map<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;)V
MethodParameters:
Name Flags
transferable
formats
formatMap
private void setDefaultDragImage(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokevirtual java.awt.Component.isLightweight:()Z
ifeq 17
2: aload 1
instanceof javax.swing.text.JTextComponent
ifeq 6
3: aload 0
aload 1
checkcast javax.swing.text.JTextComponent
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:(Ljavax/swing/text/JTextComponent;)V
4: iconst_1
istore 2
5: goto 17
StackMap locals: int
StackMap stack:
6: aload 1
instanceof javax.swing.JTree
ifeq 10
7: aload 0
aload 1
checkcast javax.swing.JTree
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:(Ljavax/swing/JTree;)V
8: iconst_1
istore 2
9: goto 17
StackMap locals:
StackMap stack:
10: aload 1
instanceof javax.swing.JTable
ifeq 14
11: aload 0
aload 1
checkcast javax.swing.JTable
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:(Ljavax/swing/JTable;)V
12: iconst_1
istore 2
13: goto 17
StackMap locals:
StackMap stack:
14: aload 1
instanceof javax.swing.JList
ifeq 17
15: aload 0
aload 1
checkcast javax.swing.JList
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:(Ljavax/swing/JList;)V
16: iconst_1
istore 2
17: StackMap locals:
StackMap stack:
iload 2
ifne 19
18: aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:()V
19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 20 1 component Ljava/awt/Component;
1 20 2 handled Z
MethodParameters:
Name Flags
component
private void setDefaultDragImage(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.getTrigger:()Ljava/awt/dnd/DragGestureEvent;
astore 2
start local 2 1: aload 1
invokevirtual javax.swing.text.JTextComponent.getSelectionStart:()I
istore 3
start local 3 2: aload 1
invokevirtual javax.swing.text.JTextComponent.getSelectionEnd:()I
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: aload 1
aload 2
invokevirtual java.awt.dnd.DragGestureEvent.getDragOrigin:()Ljava/awt/Point;
invokevirtual javax.swing.text.JTextComponent.viewToModel:(Ljava/awt/Point;)I
istore 6
start local 6 5: iload 3
iload 4
if_icmpge 29
iload 6
iload 3
if_icmplt 29
iload 6
iload 4
if_icmpgt 29
6: aload 1
iload 3
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
astore 7
start local 7 7: aload 1
iload 4
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
astore 8
start local 8 8: aconst_null
astore 9
start local 9 9: aload 7
getfield java.awt.Rectangle.y:I
aload 8
getfield java.awt.Rectangle.y:I
if_icmpne 15
10: new java.awt.Rectangle
dup
aload 7
getfield java.awt.Rectangle.x:I
aload 7
getfield java.awt.Rectangle.y:I
11: aload 8
getfield java.awt.Rectangle.x:I
aload 7
getfield java.awt.Rectangle.x:I
isub
aload 8
getfield java.awt.Rectangle.width:I
iadd
12: aload 8
getfield java.awt.Rectangle.y:I
aload 7
getfield java.awt.Rectangle.y:I
isub
aload 8
getfield java.awt.Rectangle.height:I
iadd
13: invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 9
14: goto 25
15: StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer javax.swing.text.JTextComponent java.awt.dnd.DragGestureEvent int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
StackMap stack:
aload 1
invokevirtual javax.swing.text.JTextComponent.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
astore 10
start local 10 16: aload 10
checkcast javax.accessibility.AccessibleText
astore 11
start local 11 17: aload 1
iload 3
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
astore 9
18: iload 3
iconst_1
iadd
istore 12
start local 12 19: goto 24
20: StackMap locals: javax.accessibility.AccessibleContext javax.accessibility.AccessibleText int
StackMap stack:
aload 11
iload 12
invokeinterface javax.accessibility.AccessibleText.getCharacterBounds:(I)Ljava/awt/Rectangle;
astore 13
start local 13 21: aload 13
ifnull 23
22: aload 9
aload 13
invokevirtual java.awt.Rectangle.add:(Ljava/awt/Rectangle;)V
end local 13 23: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
24: iload 12
iload 4
if_icmple 20
end local 12 end local 11 end local 10 25: StackMap locals:
StackMap stack:
aload 0
aload 9
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setOutlineDragImage:(Ljava/awt/Rectangle;)V
26: iconst_1
istore 5
end local 9 end local 8 end local 7 27: goto 29
28: StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer javax.swing.text.JTextComponent java.awt.dnd.DragGestureEvent int int int int
StackMap stack: javax.swing.text.BadLocationException
pop
29: StackMap locals:
StackMap stack:
iload 5
ifne 31
30: aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:()V
31: StackMap locals:
StackMap stack:
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 32 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 32 1 component Ljavax/swing/text/JTextComponent;
1 32 2 trigger Ljava/awt/dnd/DragGestureEvent;
2 32 3 selectionStart I
3 32 4 selectionEnd I
4 32 5 handled Z
5 32 6 index I
7 27 7 selectionStartBounds Ljava/awt/Rectangle;
8 27 8 selectionEndBounds Ljava/awt/Rectangle;
9 27 9 selectionBounds Ljava/awt/Rectangle;
16 25 10 ctx Ljavax/accessibility/AccessibleContext;
17 25 11 at Ljavax/accessibility/AccessibleText;
19 25 12 i I
21 23 13 charBounds Ljava/awt/Rectangle;
Exception table:
from to target type
6 27 28 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
component
private void setDefaultDragImage(javax.swing.JTree);
descriptor: (Ljavax/swing/JTree;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual javax.swing.JTree.getSelectionRows:()[I
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 9
4: StackMap locals: java.awt.Rectangle int[] int
StackMap stack:
aload 1
aload 3
iload 4
iaload
invokevirtual javax.swing.JTree.getRowBounds:(I)Ljava/awt/Rectangle;
astore 5
start local 5 5: aload 2
ifnonnull 7
6: aload 5
astore 2
goto 8
7: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 2
aload 5
invokevirtual java.awt.Rectangle.add:(Ljava/awt/Rectangle;)V
end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 3
arraylength
if_icmplt 4
end local 4 10: aload 2
ifnull 13
11: aload 0
aload 2
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setOutlineDragImage:(Ljava/awt/Rectangle;)V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:()V
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 15 1 component Ljavax/swing/JTree;
1 15 2 selectedOutline Ljava/awt/Rectangle;
2 15 3 selectedRows [I
3 10 4 i I
5 8 5 r Ljava/awt/Rectangle;
MethodParameters:
Name Flags
component
private void setDefaultDragImage(javax.swing.JTable);
descriptor: (Ljavax/swing/JTable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual javax.swing.JTable.getSelectedRows:()[I
astore 3
start local 3 2: aload 1
invokevirtual javax.swing.JTable.getSelectedColumns:()[I
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 14
5: StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer javax.swing.JTable java.awt.Rectangle int[] int[] int
StackMap stack:
iconst_0
istore 6
start local 6 6: goto 12
7: StackMap locals: int
StackMap stack:
aload 1
aload 3
iload 5
iaload
aload 4
iload 6
iaload
iconst_1
invokevirtual javax.swing.JTable.getCellRect:(IIZ)Ljava/awt/Rectangle;
astore 7
start local 7 8: aload 2
ifnonnull 10
9: aload 7
astore 2
goto 11
10: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 2
aload 7
invokevirtual java.awt.Rectangle.add:(Ljava/awt/Rectangle;)V
end local 7 11: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
aload 4
arraylength
if_icmplt 7
end local 6 13: iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
aload 3
arraylength
if_icmplt 5
end local 5 15: aload 2
ifnull 18
16: aload 0
aload 2
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setOutlineDragImage:(Ljava/awt/Rectangle;)V
17: goto 19
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:()V
19: StackMap locals:
StackMap stack:
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 Lsun/lwawt/macosx/CDragSourceContextPeer;
0 20 1 component Ljavax/swing/JTable;
1 20 2 selectedOutline Ljava/awt/Rectangle;
2 20 3 selectedRows [I
3 20 4 selectedColumns [I
4 15 5 row I
6 13 6 col I
8 11 7 r Ljava/awt/Rectangle;
MethodParameters:
Name Flags
component
private void setDefaultDragImage(javax.swing.JList<?>);
descriptor: (Ljavax/swing/JList;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual javax.swing.JList.getSelectedIndices:()[I
astore 3
start local 3 2: aload 3
arraylength
ifle 4
3: aload 1
aload 3
iconst_0
iaload
aload 3
aload 3
arraylength
iconst_1
isub
iaload
invokevirtual javax.swing.JList.getCellBounds:(II)Ljava/awt/Rectangle;
astore 2
4: StackMap locals: java.awt.Rectangle int[]
StackMap stack:
aload 2
ifnull 7
5: aload 0
aload 2
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setOutlineDragImage:(Ljava/awt/Rectangle;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setDefaultDragImage:()V
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 9 1 component Ljavax/swing/JList<*>;
1 9 2 selectedOutline Ljava/awt/Rectangle;
2 9 3 selectedIndices [I
Signature: (Ljavax/swing/JList<*>;)V
MethodParameters:
Name Flags
component
private void setDefaultDragImage();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.getTrigger:()Ljava/awt/dnd/DragGestureEvent;
astore 1
start local 1 1: aload 1
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
astore 2
start local 2 2: aload 0
new java.awt.Rectangle
dup
iconst_0
iconst_0
aload 2
invokevirtual java.awt.Component.getWidth:()I
aload 2
invokevirtual java.awt.Component.getHeight:()I
invokespecial java.awt.Rectangle.<init>:(IIII)V
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setOutlineDragImage:(Ljava/awt/Rectangle;Ljava/lang/Boolean;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
1 4 1 trigger Ljava/awt/dnd/DragGestureEvent;
2 4 2 comp Ljava/awt/Component;
private void setOutlineDragImage(java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.setOutlineDragImage:(Ljava/awt/Rectangle;Ljava/lang/Boolean;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 2 1 outline Ljava/awt/Rectangle;
MethodParameters:
Name Flags
outline
private void setOutlineDragImage(java.awt.Rectangle, java.lang.Boolean);
descriptor: (Ljava/awt/Rectangle;Ljava/lang/Boolean;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=18, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.awt.Rectangle.getWidth:()D
d2i
istore 3
start local 3 1: aload 1
invokevirtual java.awt.Rectangle.getHeight:()D
d2i
istore 4
start local 4 2: dconst_1
dstore 5
start local 5 3: aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 10
4: iload 3
iload 4
imul
istore 7
start local 7 5: getstatic sun.lwawt.macosx.CDragSourceContextPeer.fMaxImageSize:D
getstatic sun.lwawt.macosx.CDragSourceContextPeer.fMaxImageSize:D
dmul
d2i
istore 8
start local 8 6: iload 7
iload 8
if_icmple 10
7: iload 7
i2d
iload 8
i2d
ddiv
dstore 5
8: iload 3
i2d
dload 5
ddiv
d2i
istore 3
9: iload 4
i2d
dload 5
ddiv
d2i
istore 4
end local 8 end local 7 10: StackMap locals: int int double
StackMap stack:
iload 3
ifgt 11
iconst_1
istore 3
11: StackMap locals:
StackMap stack:
iload 4
ifgt 12
iconst_1
istore 4
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.getTrigger:()Ljava/awt/dnd/DragGestureEvent;
astore 7
start local 7 13: aload 7
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
astore 8
start local 8 14: aload 8
invokevirtual java.awt.Component.getLocation:()Ljava/awt/Point;
astore 9
start local 9 15: aload 8
instanceof javax.swing.JComponent
ifeq 21
16: aload 8
checkcast javax.swing.JComponent
invokevirtual javax.swing.JComponent.getVisibleRect:()Ljava/awt/Rectangle;
astore 10
start local 10 17: aload 1
aload 10
invokevirtual java.awt.Rectangle.intersection:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 11
start local 11 18: aload 11
invokevirtual java.awt.Rectangle.isEmpty:()Z
ifne 20
19: aload 11
astore 1
20: StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer java.awt.Rectangle java.lang.Boolean int int double java.awt.dnd.DragGestureEvent java.awt.Component java.awt.Point java.awt.Rectangle java.awt.Rectangle
StackMap stack:
aload 1
aload 9
getfield java.awt.Point.x:I
aload 9
getfield java.awt.Point.y:I
invokevirtual java.awt.Rectangle.translate:(II)V
end local 11 end local 10 21: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.awt.Component.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 10
start local 10 22: aload 10
iload 3
iload 4
iconst_3
invokevirtual java.awt.GraphicsConfiguration.createCompatibleImage:(III)Ljava/awt/image/BufferedImage;
astore 11
start local 11 23: getstatic java.awt.Color.gray:Ljava/awt/Color;
astore 12
start local 12 24: new java.awt.BasicStroke
dup
fconst_2
invokespecial java.awt.BasicStroke.<init>:(F)V
astore 13
start local 13 25: aload 13
invokevirtual java.awt.BasicStroke.getLineWidth:()F
fconst_1
fadd
f2i
iconst_2
idiv
istore 14
start local 14 26: aload 11
invokevirtual java.awt.image.BufferedImage.getGraphics:()Ljava/awt/Graphics;
checkcast java.awt.Graphics2D
astore 15
start local 15 27: aload 15
aload 12
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
28: aload 15
aload 13
invokevirtual java.awt.Graphics2D.setStroke:(Ljava/awt/Stroke;)V
29: aload 15
iload 14
iload 14
iload 3
iconst_2
iload 14
imul
isub
iconst_1
isub
iload 4
iconst_2
iload 14
imul
isub
iconst_1
isub
invokevirtual java.awt.Graphics2D.drawRect:(IIII)V
30: aload 15
invokevirtual java.awt.Graphics2D.dispose:()V
31: aload 0
aload 11
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImage:Ljava/awt/Image;
32: aload 7
invokevirtual java.awt.dnd.DragGestureEvent.getDragOrigin:()Ljava/awt/Point;
astore 16
start local 16 33: new java.awt.Point
dup
aload 1
getfield java.awt.Rectangle.x:I
aload 16
getfield java.awt.Point.x:I
isub
aload 1
getfield java.awt.Rectangle.y:I
aload 16
getfield java.awt.Point.y:I
isub
invokespecial java.awt.Point.<init>:(II)V
astore 17
start local 17 34: aload 8
instanceof javax.swing.JComponent
ifeq 36
35: aload 17
aload 9
getfield java.awt.Point.x:I
ineg
aload 9
getfield java.awt.Point.y:I
ineg
invokevirtual java.awt.Point.translate:(II)V
36: StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer java.awt.Rectangle java.lang.Boolean int int double java.awt.dnd.DragGestureEvent java.awt.Component java.awt.Point java.awt.GraphicsConfiguration java.awt.image.BufferedImage java.awt.Color java.awt.BasicStroke int java.awt.Graphics2D java.awt.Point java.awt.Point
StackMap stack:
aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 39
37: aload 17
dup
getfield java.awt.Point.x:I
i2d
dload 5
ddiv
d2i
putfield java.awt.Point.x:I
38: aload 17
dup
getfield java.awt.Point.y:I
i2d
dload 5
ddiv
d2i
putfield java.awt.Point.y:I
39: StackMap locals:
StackMap stack:
aload 0
aload 17
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImageOffset:Ljava/awt/Point;
40: return
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 41 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 41 1 outline Ljava/awt/Rectangle;
0 41 2 shouldScale Ljava/lang/Boolean;
1 41 3 width I
2 41 4 height I
3 41 5 scale D
5 10 7 area I
6 10 8 maxArea I
13 41 7 trigger Ljava/awt/dnd/DragGestureEvent;
14 41 8 comp Ljava/awt/Component;
15 41 9 compOffset Ljava/awt/Point;
17 21 10 visibleBounds Ljava/awt/Rectangle;
18 21 11 clipedOutline Ljava/awt/Rectangle;
22 41 10 config Ljava/awt/GraphicsConfiguration;
23 41 11 dragImage Ljava/awt/image/BufferedImage;
24 41 12 paint Ljava/awt/Color;
25 41 13 stroke Ljava/awt/BasicStroke;
26 41 14 halfLineWidth I
27 41 15 g2 Ljava/awt/Graphics2D;
33 41 16 dragOrigin Ljava/awt/Point;
34 41 17 dragImageOffset Ljava/awt/Point;
MethodParameters:
Name Flags
outline
shouldScale
private void dragMouseMoved(int, int, int, int);
descriptor: (IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new sun.lwawt.macosx.CDragSourceContextPeer$1
dup
aload 0
iload 3
iload 4
invokespecial sun.lwawt.macosx.CDragSourceContextPeer$1.<init>:(Lsun/lwawt/macosx/CDragSourceContextPeer;II)V
1: aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.getComponent:()Ljava/awt/Component;
2: invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/util/concurrent/Callable;Ljava/awt/Component;)Ljava/lang/Object;
checkcast java.awt.Component
astore 5
start local 5 3: aload 5
getstatic sun.lwawt.macosx.CDragSourceContextPeer.hoveringComponent:Ljava/awt/Component;
if_acmpeq 9
4: getstatic sun.lwawt.macosx.CDragSourceContextPeer.hoveringComponent:Ljava/awt/Component;
ifnull 6
5: aload 0
iload 3
iload 4
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.dragExit:(II)V
6: StackMap locals: java.awt.Component
StackMap stack:
aload 5
ifnull 8
7: aload 0
iload 1
iload 2
iload 3
iload 4
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.dragEnter:(IIII)V
8: StackMap locals:
StackMap stack:
aload 5
putstatic sun.lwawt.macosx.CDragSourceContextPeer.hoveringComponent:Ljava/awt/Component;
9: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
iload 3
iload 4
10: bipush 6
11: invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.postDragSourceDragEvent:(IIIII)V
end local 5 12: goto 15
StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer int int int int
StackMap stack: java.lang.Exception
13: pop
14: new java.awt.dnd.InvalidDnDOperationException
dup
ldc "Failed to handle DragMouseMoved event"
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 16 1 targetActions I
0 16 2 modifiers I
0 16 3 x I
0 16 4 y I
3 12 5 componentAt Ljava/awt/Component;
Exception table:
from to target type
0 12 13 Class java.lang.Exception
MethodParameters:
Name Flags
targetActions final
modifiers final
x final
y final
private static java.awt.Component getDropTargetAt(java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;II)Ljava/awt/Component;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual java.awt.Component.contains:(II)Z
ifeq 1
aload 0
invokevirtual java.awt.Component.isEnabled:()Z
ifeq 1
aload 0
invokevirtual java.awt.Component.isVisible:()Z
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.Component.getDropTarget:()Ljava/awt/dnd/DropTarget;
ifnull 4
aload 0
invokevirtual java.awt.Component.getDropTarget:()Ljava/awt/dnd/DropTarget;
invokevirtual java.awt.dnd.DropTarget.isActive:()Z
ifeq 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.awt.Container
ifeq 13
5: aload 0
checkcast java.awt.Container
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: java.awt.Component int int top int int java.awt.Component[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 3
invokevirtual java.awt.Component.getLocation:()Ljava/awt/Point;
astore 7
start local 7 8: aload 3
iload 1
aload 7
getfield java.awt.Point.x:I
isub
iload 2
aload 7
getfield java.awt.Point.y:I
isub
invokestatic sun.lwawt.macosx.CDragSourceContextPeer.getDropTargetAt:(Ljava/awt/Component;II)Ljava/awt/Component;
astore 8
start local 8 9: aload 8
ifnull 11
10: aload 8
areturn
end local 8 end local 7 end local 3 11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 6
13: StackMap locals: java.awt.Component int int
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 root Ljava/awt/Component;
0 14 1 x I
0 14 2 y I
7 11 3 comp Ljava/awt/Component;
8 11 7 loc Ljava/awt/Point;
9 11 8 dropTarget Ljava/awt/Component;
MethodParameters:
Name Flags
root
x
y
private void resetHovering();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
putstatic sun.lwawt.macosx.CDragSourceContextPeer.hoveringComponent:Ljava/awt/Component;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
protected void setNativeCursor(long, java.awt.Cursor, int);
descriptor: (JLjava/awt/Cursor;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: invokestatic sun.lwawt.macosx.CCursorManager.getInstance:()Lsun/lwawt/macosx/CCursorManager;
aload 3
invokevirtual sun.lwawt.macosx.CCursorManager.setCursor:(Ljava/awt/Cursor;)V
1: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
0 2 1 nativeCtxt J
0 2 3 c Ljava/awt/Cursor;
0 2 4 cType I
MethodParameters:
Name Flags
nativeCtxt
c
cType
private native long createNativeDragSource(java.awt.Component, long, java.awt.datatransfer.Transferable, java.awt.event.InputEvent, int, int, int, int, long, long, int, int, int, long[], java.util.Map<java.lang.Long, java.awt.datatransfer.DataFlavor>);
descriptor: (Ljava/awt/Component;JLjava/awt/datatransfer/Transferable;Ljava/awt/event/InputEvent;IIIIJJIII[JLjava/util/Map;)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Signature: (Ljava/awt/Component;JLjava/awt/datatransfer/Transferable;Ljava/awt/event/InputEvent;IIIIJJIII[JLjava/util/Map<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;)J
MethodParameters:
Name Flags
component
nativePeer
transferable
triggerEvent
dragPosX
dragPosY
extModifiers
clickCount
timestamp
nsDragImagePtr
dragImageOffsetX
dragImageOffsetY
sourceActions
formats
formatMap
private native void doDragging(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
nativeDragSource
private native void releaseNativeDragSource(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
nativeDragSource
private void lambda$0();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.getNativeContext:()J
lstore 1
start local 1 1: aload 0
lload 1
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.doDragging:(J)V
2: goto 17
StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer long
StackMap stack: java.lang.Exception
3: astore 3
start local 3 4: aload 3
invokevirtual java.lang.Exception.printStackTrace:()V
end local 3 5: aload 0
lload 1
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.releaseNativeDragSource:(J)V
6: aload 0
aconst_null
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImage:Ljava/awt/Image;
7: aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
ifnull 22
8: aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
invokevirtual sun.lwawt.macosx.CImage.dispose:()V
9: aload 0
aconst_null
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
goto 22
10: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
11: aload 0
lload 1
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.releaseNativeDragSource:(J)V
12: aload 0
aconst_null
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImage:Ljava/awt/Image;
13: aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
ifnull 16
14: aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
invokevirtual sun.lwawt.macosx.CImage.dispose:()V
15: aload 0
aconst_null
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
16: StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer long top java.lang.Throwable
StackMap stack:
aload 4
athrow
17: StackMap locals: sun.lwawt.macosx.CDragSourceContextPeer long
StackMap stack:
aload 0
lload 1
invokevirtual sun.lwawt.macosx.CDragSourceContextPeer.releaseNativeDragSource:(J)V
18: aload 0
aconst_null
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragImage:Ljava/awt/Image;
19: aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
ifnull 22
20: aload 0
getfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
invokevirtual sun.lwawt.macosx.CImage.dispose:()V
21: aload 0
aconst_null
putfield sun.lwawt.macosx.CDragSourceContextPeer.fDragCImage:Lsun/lwawt/macosx/CImage;
end local 1 22: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/lwawt/macosx/CDragSourceContextPeer;
1 22 1 nativeDragSource J
4 5 3 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
1 5 10 any
}
SourceFile: "CDragSourceContextPeer.java"
NestMembers:
sun.lwawt.macosx.CDragSourceContextPeer$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor
sun.lwawt.macosx.CDragSourceContextPeer$1
public Creator = sun.lwawt.macosx.CImage$Creator of sun.lwawt.macosx.CImage